POST api/WestcorPayPortal/GetAttachments
Gets List of Attachments by Transaction ID
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
req |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "TransactionsID": 1, "Token": "sample string 2", "PartnerCode": "sample string 3" }
application/xml, text/xml
Sample:
<GetAttachments_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> <TransactionsID>1</TransactionsID> </GetAttachments_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 2", "Source": "sample string 3", "SourceID": 4, "AttachmentTypeID": 5, "AttachmentType": "sample string 6", "AttachmentPath": "sample string 7", "Description": "sample string 8", "CreatedDate": "2025-04-11T12:34:02.4168253+00:00", "CreatedBy": 10, "UpdatedDate": "2025-04-11T12:34:02.4168253+00:00", "UpdatedBy": 11 }, { "AttachmentID": 1, "Attachment": "sample string 2", "Source": "sample string 3", "SourceID": 4, "AttachmentTypeID": 5, "AttachmentType": "sample string 6", "AttachmentPath": "sample string 7", "Description": "sample string 8", "CreatedDate": "2025-04-11T12:34:02.4168253+00:00", "CreatedBy": 10, "UpdatedDate": "2025-04-11T12:34:02.4168253+00:00", "UpdatedBy": 11 }, { "AttachmentID": 1, "Attachment": "sample string 2", "Source": "sample string 3", "SourceID": 4, "AttachmentTypeID": 5, "AttachmentType": "sample string 6", "AttachmentPath": "sample string 7", "Description": "sample string 8", "CreatedDate": "2025-04-11T12:34:02.4168253+00:00", "CreatedBy": 10, "UpdatedDate": "2025-04-11T12:34:02.4168253+00:00", "UpdatedBy": 11 } ]
application/xml, text/xml
Sample:
<ArrayOfGetAttachments_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Westcor.TMPOH.Poco.WestcorPayPortalObjects"> <GetAttachments_Result> <Attachment>sample string 2</Attachment> <AttachmentID>1</AttachmentID> <AttachmentPath>sample string 7</AttachmentPath> <AttachmentType>sample string 6</AttachmentType> <AttachmentTypeID>5</AttachmentTypeID> <CreatedBy>10</CreatedBy> <CreatedDate>2025-04-11T12:34:02.4168253+00:00</CreatedDate> <Description>sample string 8</Description> <Source>sample string 3</Source> <SourceID>4</SourceID> <UpdatedBy>11</UpdatedBy> <UpdatedDate>2025-04-11T12:34:02.4168253+00:00</UpdatedDate> </GetAttachments_Result> <GetAttachments_Result> <Attachment>sample string 2</Attachment> <AttachmentID>1</AttachmentID> <AttachmentPath>sample string 7</AttachmentPath> <AttachmentType>sample string 6</AttachmentType> <AttachmentTypeID>5</AttachmentTypeID> <CreatedBy>10</CreatedBy> <CreatedDate>2025-04-11T12:34:02.4168253+00:00</CreatedDate> <Description>sample string 8</Description> <Source>sample string 3</Source> <SourceID>4</SourceID> <UpdatedBy>11</UpdatedBy> <UpdatedDate>2025-04-11T12:34:02.4168253+00:00</UpdatedDate> </GetAttachments_Result> <GetAttachments_Result> <Attachment>sample string 2</Attachment> <AttachmentID>1</AttachmentID> <AttachmentPath>sample string 7</AttachmentPath> <AttachmentType>sample string 6</AttachmentType> <AttachmentTypeID>5</AttachmentTypeID> <CreatedBy>10</CreatedBy> <CreatedDate>2025-04-11T12:34:02.4168253+00:00</CreatedDate> <Description>sample string 8</Description> <Source>sample string 3</Source> <SourceID>4</SourceID> <UpdatedBy>11</UpdatedBy> <UpdatedDate>2025-04-11T12:34:02.4168253+00:00</UpdatedDate> </GetAttachments_Result> </ArrayOfGetAttachments_Result>