Request Information

URI Parameters

NameDescriptionTypeAdditional information
promotionId

The promotion identifier.

integer

Required

Body Parameters

None.

Response Information

Resource Description

The promotion.

Nano.Promotion
NameDescriptionTypeAdditional information
code

Gets or sets the code.

string

None.

description

Gets or sets the description.

string

None.

id

Gets or sets the promotion identifier.

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "code": "sample String 1",
  "description": "sample String 2",
  "id": "3"
}

text/html

Sample:
{"code":"sample String 1","description":"sample String 2","id":"3"}

application/xml, text/xml

Sample:
<Promotion xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Code>sample String 1</Code>
  <Description>sample String 2</Description>
  <PromotionId>3</PromotionId>
</Promotion>

application/vnd.api+json

Sample:

Sample not available.