POST merchant/campaignTrigger
Request Information
URI Parameters
None.
Body Parameters
MerchantRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| arrayOfObjects | Collection of MerchantModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"arrayOfObjects": [
{
"merchantID": "sample string 1"
},
{
"merchantID": "sample string 1"
}
]
}
application/xml, text/xml
Sample:
<MerchantRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PHC_GrabIntergration.Models.Dto">
<arrayOfObjects>
<MerchantModel>
<merchantID>sample string 1</merchantID>
</MerchantModel>
<MerchantModel>
<merchantID>sample string 1</merchantID>
</MerchantModel>
</arrayOfObjects>
</MerchantRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResult| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| ResponseMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"ResponseMessage": "sample string 1"
}
application/xml, text/xml
Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PHC_GrabIntergration.Models.Dto"> <ResponseCode>1</ResponseCode> <ResponseMessage>sample string 1</ResponseMessage> </BaseResult>