POST api/WestcorPayPortal/GetAttachmentsPPTypes
Gets AatachmentTypes for UI control.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
req |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "Token": "sample string 1", "PartnerCode": "sample string 2" }
application/xml, text/xml
Sample:
<GetAttachmentsPPTypes_Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Westcor.TMPOH.Poco.WestcorPayPortalObjects"> <PartnerCode>sample string 2</PartnerCode> <Token>sample string 1</Token> </GetAttachmentsPPTypes_Request>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
[ { "AttachmentTypeID": 1, "AttachmentType": "sample string 2" }, { "AttachmentTypeID": 1, "AttachmentType": "sample string 2" }, { "AttachmentTypeID": 1, "AttachmentType": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfAttachmentTypes_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Westcor.TMPOH.Poco.WestcorPayPortalObjects"> <AttachmentTypes_Result> <AttachmentType>sample string 2</AttachmentType> <AttachmentTypeID>1</AttachmentTypeID> </AttachmentTypes_Result> <AttachmentTypes_Result> <AttachmentType>sample string 2</AttachmentType> <AttachmentTypeID>1</AttachmentTypeID> </AttachmentTypes_Result> <AttachmentTypes_Result> <AttachmentType>sample string 2</AttachmentType> <AttachmentTypeID>1</AttachmentTypeID> </AttachmentTypes_Result> </ArrayOfAttachmentTypes_Result>