GET API/PromotionCode?id={id}
Get specific promotion code
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
IPromotionCode| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| PromotionCodeAssigned | string |
None. |
|
| PromotionCodeTypeID | integer |
None. |
|
| RepID | integer |
None. |
|
| CustomerID | integer |
None. |
|
| IsActive | boolean |
None. |
|
| SelectAssignedTo | integer |
None. |
|
| AssignedTo | string |
None. |
|
| ActiveDate | date |
None. |
|
| ExpirationDate | date |
None. |
Response Formats
application/xml, text/xml
Sample:
<PromotionCode> <ID>0</ID> <PromotionCodeAssigned /> <PromotionCodeTypeID>0</PromotionCodeTypeID> <RepID>0</RepID> <CustomerID>0</CustomerID> <IsActive>False</IsActive> <SelectAssignedTo>0</SelectAssignedTo> <AssignedTo /> <ActiveDate>01/01/0001 00:00:00</ActiveDate> <ExpirationDate>01/01/0001 00:00:00</ExpirationDate> <CreatedBy /> <DateCreated>01/01/0001 00:00:00</DateCreated> <LastModifiedBy /> <DateLastModified /> </PromotionCode>
application/json, text/json
Sample:
{
"ID": 0,
"PromotionCodeTypeID": 0,
"RepID": 0,
"CustomerID": 0,
"IsActive": false,
"SelectAssignedTo": 0,
"ActiveDate": "0001-01-01T00:00:00",
"ExpirationDate": "0001-01-01T00:00:00",
"DateCreated": "0001-01-01T00:00:00"
}