GET api/Admin/PromotionCodeType/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

IPromotionCodeType
NameDescriptionTypeAdditional information
ID

integer

None.

Description

string

None.

MaximumTimesToApply

integer

None.

RestrictUsageCount

integer

None.

RestrictTo

integer

None.

IsActive

boolean

None.

Response Formats

application/xml, text/xml

Sample:
<PromotionCodeType>
  <ID>0</ID>
  <Description />
  <IsActive>False</IsActive>
  <MaximumTimesToApply>0</MaximumTimesToApply>
  <RestrictUsageCount>0</RestrictUsageCount>
  <RestrictTo>0</RestrictTo>
  <CreatedBy />
  <DateCreated>01/01/0001 00:00:00</DateCreated>
  <LastModifiedBy />
  <DateLastModified />
</PromotionCodeType>

application/json, text/json

Sample:
{
  "ID": 0,
  "IsActive": false,
  "MaximumTimesToApply": 0,
  "RestrictUsageCount": 0,
  "RestrictTo": 0,
  "DateCreated": "0001-01-01T00:00:00"
}