POST api/WestcorPayPortal/GetAttachment
Get attachment by Attachment ID
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
req |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "AttachmentID": 1, "Token": "sample string 2", "PartnerCode": "sample string 3" }
application/xml, text/xml
Sample:
<GetAttachment_Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Westcor.TMPOH.Poco.WestcorPayPortalObjects"> <PartnerCode>sample string 3</PartnerCode> <Token>sample string 2</Token> <AttachmentID>1</AttachmentID> </GetAttachment_Request>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{ "AttachmentID": 1, "Attachment": "sample string 1", "Source": "sample string 2", "SourceID": 1, "AttachmentTypeID": 1, "AttachmentType": "sample string 3", "AttachmentPath": "sample string 4", "Description": "sample string 5", "CreatedDate": "2025-04-11T12:31:19.1560404+00:00", "CreatedBy": 1, "UpdatedDate": "2025-04-11T12:31:19.1560404+00:00", "UpdatedBy": 1, "URL": "sample string 6", "EncodeType": "sample string 7", "Content": "sample string 8" }
application/xml, text/xml
Sample:
<GetAttachment_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Westcor.TMPOH.Poco.WestcorPayPortalObjects"> <Attachment>sample string 1</Attachment> <AttachmentID>1</AttachmentID> <AttachmentPath>sample string 4</AttachmentPath> <AttachmentType>sample string 3</AttachmentType> <AttachmentTypeID>1</AttachmentTypeID> <Content>sample string 8</Content> <CreatedBy>1</CreatedBy> <CreatedDate>2025-04-11T12:31:19.1560404+00:00</CreatedDate> <Description>sample string 5</Description> <EncodeType>sample string 7</EncodeType> <Source>sample string 2</Source> <SourceID>1</SourceID> <URL>sample string 6</URL> <UpdatedBy>1</UpdatedBy> <UpdatedDate>2025-04-11T12:31:19.1560404+00:00</UpdatedDate> </GetAttachment_Result>