Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A list of promotions.

Collection of 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"
  },
  {
    "code": "sample String 1",
    "description": "sample String 2",
    "id": "3"
  }
]

text/html

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

application/xml, text/xml

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

application/vnd.api+json

Sample:

Sample not available.