GET API/PromotionCode?id={id}

Get specific promotion code

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

IPromotionCode
NameDescriptionTypeAdditional 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.

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 />
  <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,
  "DateCreated": "0001-01-01T00:00:00"
}