GET api/Assortment?companyCode={companyCode}

Get Assortment List

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyCode

Company Identifier

string

Required

Body Parameters

None.

Response Information

Resource Description

Response message with a list of Product Identifiers of all Company related Products. HttpStatusCode.Conflict when user isn't connected to Company

GetAssortmentListMessageResponse
NameDescriptionTypeAdditional information
Header

Header item

MessageHeader

None.

ProductIdentifiers

List of Product Identifiers

Collection of string

None.

Footer

Footer item

MessageFooter

None.

Response Formats

application/json, text/json

Sample:
{
  "Header": {
    "Version": "string 1",
    "Identification": "string 2",
    "Sender": "string 3"
  },
  "ProductIdentifiers": [
    "string 1",
    "string 2"
  ],
  "Footer": {
    "TotalRecords": 1,
    "Records": 2
  }
}

application/xml, text/xml

Sample:
<GetAssortmentListMessageResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Header>
    <Version>string 1</Version>
    <Identification>string 2</Identification>
    <Sender>string 3</Sender>
  </Header>
  <ProductIdentifiers>
    <string>string 1</string>
    <string>string 2</string>
  </ProductIdentifiers>
  <Footer>
    <TotalRecords>1</TotalRecords>
    <Records>2</Records>
  </Footer>
</GetAssortmentListMessageResponse>