POST api/cms/promotions/{promotionId}/punter/{punterId}/opt-in
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| promotionId | integer |
Required |
|
| punterId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BO.BETResponseObjects.BaseResponseOfSystem.String| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject | string |
None. |
|
| ResponseMessage | string |
None. |
|
| ResponseType | BO.Enums.ResponseType |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseObject": "sample string 1",
"responseMessage": "sample string 2",
"responseType": 1
}
application/xml, text/xml
Sample:
<BaseResponseOfString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ResponseObject>sample string 1</ResponseObject> <ResponseMessage>sample string 2</ResponseMessage> <ResponseType>Success</ResponseType> </BaseResponseOfString>