GET Customer?param={param}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
param

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Collection of Customer
NameDescriptionTypeAdditional information
CustomerId

integer

None.

ParentId

integer

None.

Code

string

None.

Name

string

None.

ClassificationScheme

Collection of Scheme

None.

TakeOnOrders

Collection of TakeOnOrder

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustomerId": 1,
    "ParentId": 2,
    "Code": "sample string 3",
    "Name": "sample string 4",
    "ClassificationScheme": [
      {
        "SchemeID": 1,
        "ParentID": 2,
        "Title": "sample string 3",
        "Criteria": [
          {
            "CriterionID": 1,
            "Title": "sample string 2",
            "Mandatory": true,
            "Secondary": true,
            "DisplayOrder": 5
          },
          {
            "CriterionID": 1,
            "Title": "sample string 2",
            "Mandatory": true,
            "Secondary": true,
            "DisplayOrder": 5
          }
        ]
      },
      {
        "SchemeID": 1,
        "ParentID": 2,
        "Title": "sample string 3",
        "Criteria": [
          {
            "CriterionID": 1,
            "Title": "sample string 2",
            "Mandatory": true,
            "Secondary": true,
            "DisplayOrder": 5
          },
          {
            "CriterionID": 1,
            "Title": "sample string 2",
            "Mandatory": true,
            "Secondary": true,
            "DisplayOrder": 5
          }
        ]
      }
    ],
    "TakeOnOrders": [
      {
        "TakeOnOrderID": 1,
        "Number": "sample string 2",
        "ExpectedDateFrom": "sample string 3",
        "ExpectedDateTo": "sample string 4"
      },
      {
        "TakeOnOrderID": 1,
        "Number": "sample string 2",
        "ExpectedDateFrom": "sample string 3",
        "ExpectedDateTo": "sample string 4"
      }
    ]
  },
  {
    "CustomerId": 1,
    "ParentId": 2,
    "Code": "sample string 3",
    "Name": "sample string 4",
    "ClassificationScheme": [
      {
        "SchemeID": 1,
        "ParentID": 2,
        "Title": "sample string 3",
        "Criteria": [
          {
            "CriterionID": 1,
            "Title": "sample string 2",
            "Mandatory": true,
            "Secondary": true,
            "DisplayOrder": 5
          },
          {
            "CriterionID": 1,
            "Title": "sample string 2",
            "Mandatory": true,
            "Secondary": true,
            "DisplayOrder": 5
          }
        ]
      },
      {
        "SchemeID": 1,
        "ParentID": 2,
        "Title": "sample string 3",
        "Criteria": [
          {
            "CriterionID": 1,
            "Title": "sample string 2",
            "Mandatory": true,
            "Secondary": true,
            "DisplayOrder": 5
          },
          {
            "CriterionID": 1,
            "Title": "sample string 2",
            "Mandatory": true,
            "Secondary": true,
            "DisplayOrder": 5
          }
        ]
      }
    ],
    "TakeOnOrders": [
      {
        "TakeOnOrderID": 1,
        "Number": "sample string 2",
        "ExpectedDateFrom": "sample string 3",
        "ExpectedDateTo": "sample string 4"
      },
      {
        "TakeOnOrderID": 1,
        "Number": "sample string 2",
        "ExpectedDateFrom": "sample string 3",
        "ExpectedDateTo": "sample string 4"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="Customers">
  <Customer>
    <ClassificationScheme>
      <Scheme>
        <Criteria>
          <Criterion>
            <CriterionID>1</CriterionID>
            <DisplayOrder>5</DisplayOrder>
            <Mandatory>true</Mandatory>
            <Secondary>true</Secondary>
            <Title>sample string 2</Title>
          </Criterion>
          <Criterion>
            <CriterionID>1</CriterionID>
            <DisplayOrder>5</DisplayOrder>
            <Mandatory>true</Mandatory>
            <Secondary>true</Secondary>
            <Title>sample string 2</Title>
          </Criterion>
        </Criteria>
        <ParentID>2</ParentID>
        <SchemeID>1</SchemeID>
        <Title>sample string 3</Title>
      </Scheme>
      <Scheme>
        <Criteria>
          <Criterion>
            <CriterionID>1</CriterionID>
            <DisplayOrder>5</DisplayOrder>
            <Mandatory>true</Mandatory>
            <Secondary>true</Secondary>
            <Title>sample string 2</Title>
          </Criterion>
          <Criterion>
            <CriterionID>1</CriterionID>
            <DisplayOrder>5</DisplayOrder>
            <Mandatory>true</Mandatory>
            <Secondary>true</Secondary>
            <Title>sample string 2</Title>
          </Criterion>
        </Criteria>
        <ParentID>2</ParentID>
        <SchemeID>1</SchemeID>
        <Title>sample string 3</Title>
      </Scheme>
    </ClassificationScheme>
    <Code>sample string 3</Code>
    <CustomerId>1</CustomerId>
    <Name>sample string 4</Name>
    <ParentId>2</ParentId>
    <TakeOnOrders>
      <TakeOnOrder>
        <ExpectedDateFrom>sample string 3</ExpectedDateFrom>
        <ExpectedDateTo>sample string 4</ExpectedDateTo>
        <Number>sample string 2</Number>
        <TakeOnOrderID>1</TakeOnOrderID>
      </TakeOnOrder>
      <TakeOnOrder>
        <ExpectedDateFrom>sample string 3</ExpectedDateFrom>
        <ExpectedDateTo>sample string 4</ExpectedDateTo>
        <Number>sample string 2</Number>
        <TakeOnOrderID>1</TakeOnOrderID>
      </TakeOnOrder>
    </TakeOnOrders>
  </Customer>
  <Customer>
    <ClassificationScheme>
      <Scheme>
        <Criteria>
          <Criterion>
            <CriterionID>1</CriterionID>
            <DisplayOrder>5</DisplayOrder>
            <Mandatory>true</Mandatory>
            <Secondary>true</Secondary>
            <Title>sample string 2</Title>
          </Criterion>
          <Criterion>
            <CriterionID>1</CriterionID>
            <DisplayOrder>5</DisplayOrder>
            <Mandatory>true</Mandatory>
            <Secondary>true</Secondary>
            <Title>sample string 2</Title>
          </Criterion>
        </Criteria>
        <ParentID>2</ParentID>
        <SchemeID>1</SchemeID>
        <Title>sample string 3</Title>
      </Scheme>
      <Scheme>
        <Criteria>
          <Criterion>
            <CriterionID>1</CriterionID>
            <DisplayOrder>5</DisplayOrder>
            <Mandatory>true</Mandatory>
            <Secondary>true</Secondary>
            <Title>sample string 2</Title>
          </Criterion>
          <Criterion>
            <CriterionID>1</CriterionID>
            <DisplayOrder>5</DisplayOrder>
            <Mandatory>true</Mandatory>
            <Secondary>true</Secondary>
            <Title>sample string 2</Title>
          </Criterion>
        </Criteria>
        <ParentID>2</ParentID>
        <SchemeID>1</SchemeID>
        <Title>sample string 3</Title>
      </Scheme>
    </ClassificationScheme>
    <Code>sample string 3</Code>
    <CustomerId>1</CustomerId>
    <Name>sample string 4</Name>
    <ParentId>2</ParentId>
    <TakeOnOrders>
      <TakeOnOrder>
        <ExpectedDateFrom>sample string 3</ExpectedDateFrom>
        <ExpectedDateTo>sample string 4</ExpectedDateTo>
        <Number>sample string 2</Number>
        <TakeOnOrderID>1</TakeOnOrderID>
      </TakeOnOrder>
      <TakeOnOrder>
        <ExpectedDateFrom>sample string 3</ExpectedDateFrom>
        <ExpectedDateTo>sample string 4</ExpectedDateTo>
        <Number>sample string 2</Number>
        <TakeOnOrderID>1</TakeOnOrderID>
      </TakeOnOrder>
    </TakeOnOrders>
  </Customer>
</ArrayOfCustomer>