GET api/Orders?teamCode={teamCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
teamCode

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Order
NameDescriptionTypeAdditional information
OrderFields

Dictionary of string [key] and Field [value]

None.

OrderNum

string

None.

Number

string

None.

Version

string

None.

CustomerName

string

None.

DeliveryAddress

string

None.

CustomerPhone

string

None.

InstallationDate

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "OrderFields": {
      "sample string 1": {
        "ID": "sample string 1",
        "Title": "sample string 2",
        "Value": "sample string 3",
        "FieldType": "sample string 4",
        "FieldSubType": "sample string 5",
        "ValueType": "sample string 6"
      },
      "sample string 2": {
        "ID": "sample string 1",
        "Title": "sample string 2",
        "Value": "sample string 3",
        "FieldType": "sample string 4",
        "FieldSubType": "sample string 5",
        "ValueType": "sample string 6"
      },
      "OrderNum": {
        "ID": "OrderNum",
        "Title": "Order #",
        "Value": "sample string 1",
        "FieldType": null,
        "FieldSubType": null,
        "ValueType": null
      },
      "Number": {
        "ID": "Number",
        "Title": "Number",
        "Value": "sample string 2",
        "FieldType": null,
        "FieldSubType": null,
        "ValueType": null
      },
      "Version": {
        "ID": "Version",
        "Title": "Version",
        "Value": "sample string 3",
        "FieldType": null,
        "FieldSubType": null,
        "ValueType": null
      },
      "CustomerName": {
        "ID": "CustomerName",
        "Title": "Customer Name",
        "Value": "sample string 4",
        "FieldType": null,
        "FieldSubType": null,
        "ValueType": null
      },
      "DeliveryAddress": {
        "ID": "DeliveryAddress",
        "Title": "Delivery Address",
        "Value": "sample string 5",
        "FieldType": null,
        "FieldSubType": null,
        "ValueType": null
      },
      "CustomerPhone": {
        "ID": "CustomerPhone",
        "Title": "Customer Phone",
        "Value": "sample string 6",
        "FieldType": null,
        "FieldSubType": null,
        "ValueType": null
      },
      "InstallationDate": {
        "ID": "InstallationDate",
        "Title": "Installation Date",
        "Value": "sample string 7",
        "FieldType": null,
        "FieldSubType": null,
        "ValueType": null
      }
    },
    "OrderNum": "sample string 1",
    "Number": "sample string 2",
    "Version": "sample string 3",
    "CustomerName": "sample string 4",
    "DeliveryAddress": "sample string 5",
    "CustomerPhone": "sample string 6",
    "InstallationDate": "sample string 7"
  },
  {
    "OrderFields": {
      "sample string 1": {
        "ID": "sample string 1",
        "Title": "sample string 2",
        "Value": "sample string 3",
        "FieldType": "sample string 4",
        "FieldSubType": "sample string 5",
        "ValueType": "sample string 6"
      },
      "sample string 2": {
        "ID": "sample string 1",
        "Title": "sample string 2",
        "Value": "sample string 3",
        "FieldType": "sample string 4",
        "FieldSubType": "sample string 5",
        "ValueType": "sample string 6"
      },
      "OrderNum": {
        "ID": "OrderNum",
        "Title": "Order #",
        "Value": "sample string 1",
        "FieldType": null,
        "FieldSubType": null,
        "ValueType": null
      },
      "Number": {
        "ID": "Number",
        "Title": "Number",
        "Value": "sample string 2",
        "FieldType": null,
        "FieldSubType": null,
        "ValueType": null
      },
      "Version": {
        "ID": "Version",
        "Title": "Version",
        "Value": "sample string 3",
        "FieldType": null,
        "FieldSubType": null,
        "ValueType": null
      },
      "CustomerName": {
        "ID": "CustomerName",
        "Title": "Customer Name",
        "Value": "sample string 4",
        "FieldType": null,
        "FieldSubType": null,
        "ValueType": null
      },
      "DeliveryAddress": {
        "ID": "DeliveryAddress",
        "Title": "Delivery Address",
        "Value": "sample string 5",
        "FieldType": null,
        "FieldSubType": null,
        "ValueType": null
      },
      "CustomerPhone": {
        "ID": "CustomerPhone",
        "Title": "Customer Phone",
        "Value": "sample string 6",
        "FieldType": null,
        "FieldSubType": null,
        "ValueType": null
      },
      "InstallationDate": {
        "ID": "InstallationDate",
        "Title": "Installation Date",
        "Value": "sample string 7",
        "FieldType": null,
        "FieldSubType": null,
        "ValueType": null
      }
    },
    "OrderNum": "sample string 1",
    "Number": "sample string 2",
    "Version": "sample string 3",
    "CustomerName": "sample string 4",
    "DeliveryAddress": "sample string 5",
    "CustomerPhone": "sample string 6",
    "InstallationDate": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pref2DoWebAPI.Models">
  <Order>
    <CustomerName>sample string 4</CustomerName>
    <CustomerPhone>sample string 6</CustomerPhone>
    <DeliveryAddress>sample string 5</DeliveryAddress>
    <InstallationDate>sample string 7</InstallationDate>
    <Number>sample string 2</Number>
    <OrderFields xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringFieldE4lBy4GA>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>
          <FieldSubType>sample string 5</FieldSubType>
          <FieldType>sample string 4</FieldType>
          <ID>sample string 1</ID>
          <Title>sample string 2</Title>
          <Value>sample string 3</Value>
          <ValueType>sample string 6</ValueType>
        </d3p1:Value>
      </d3p1:KeyValueOfstringFieldE4lBy4GA>
      <d3p1:KeyValueOfstringFieldE4lBy4GA>
        <d3p1:Key>sample string 2</d3p1:Key>
        <d3p1:Value>
          <FieldSubType>sample string 5</FieldSubType>
          <FieldType>sample string 4</FieldType>
          <ID>sample string 1</ID>
          <Title>sample string 2</Title>
          <Value>sample string 3</Value>
          <ValueType>sample string 6</ValueType>
        </d3p1:Value>
      </d3p1:KeyValueOfstringFieldE4lBy4GA>
      <d3p1:KeyValueOfstringFieldE4lBy4GA>
        <d3p1:Key>OrderNum</d3p1:Key>
        <d3p1:Value>
          <FieldSubType i:nil="true" />
          <FieldType i:nil="true" />
          <ID>OrderNum</ID>
          <Title>Order #</Title>
          <Value>sample string 1</Value>
          <ValueType i:nil="true" />
        </d3p1:Value>
      </d3p1:KeyValueOfstringFieldE4lBy4GA>
      <d3p1:KeyValueOfstringFieldE4lBy4GA>
        <d3p1:Key>Number</d3p1:Key>
        <d3p1:Value>
          <FieldSubType i:nil="true" />
          <FieldType i:nil="true" />
          <ID>Number</ID>
          <Title>Number</Title>
          <Value>sample string 2</Value>
          <ValueType i:nil="true" />
        </d3p1:Value>
      </d3p1:KeyValueOfstringFieldE4lBy4GA>
      <d3p1:KeyValueOfstringFieldE4lBy4GA>
        <d3p1:Key>Version</d3p1:Key>
        <d3p1:Value>
          <FieldSubType i:nil="true" />
          <FieldType i:nil="true" />
          <ID>Version</ID>
          <Title>Version</Title>
          <Value>sample string 3</Value>
          <ValueType i:nil="true" />
        </d3p1:Value>
      </d3p1:KeyValueOfstringFieldE4lBy4GA>
      <d3p1:KeyValueOfstringFieldE4lBy4GA>
        <d3p1:Key>CustomerName</d3p1:Key>
        <d3p1:Value>
          <FieldSubType i:nil="true" />
          <FieldType i:nil="true" />
          <ID>CustomerName</ID>
          <Title>Customer Name</Title>
          <Value>sample string 4</Value>
          <ValueType i:nil="true" />
        </d3p1:Value>
      </d3p1:KeyValueOfstringFieldE4lBy4GA>
      <d3p1:KeyValueOfstringFieldE4lBy4GA>
        <d3p1:Key>DeliveryAddress</d3p1:Key>
        <d3p1:Value>
          <FieldSubType i:nil="true" />
          <FieldType i:nil="true" />
          <ID>DeliveryAddress</ID>
          <Title>Delivery Address</Title>
          <Value>sample string 5</Value>
          <ValueType i:nil="true" />
        </d3p1:Value>
      </d3p1:KeyValueOfstringFieldE4lBy4GA>
      <d3p1:KeyValueOfstringFieldE4lBy4GA>
        <d3p1:Key>CustomerPhone</d3p1:Key>
        <d3p1:Value>
          <FieldSubType i:nil="true" />
          <FieldType i:nil="true" />
          <ID>CustomerPhone</ID>
          <Title>Customer Phone</Title>
          <Value>sample string 6</Value>
          <ValueType i:nil="true" />
        </d3p1:Value>
      </d3p1:KeyValueOfstringFieldE4lBy4GA>
      <d3p1:KeyValueOfstringFieldE4lBy4GA>
        <d3p1:Key>InstallationDate</d3p1:Key>
        <d3p1:Value>
          <FieldSubType i:nil="true" />
          <FieldType i:nil="true" />
          <ID>InstallationDate</ID>
          <Title>Installation Date</Title>
          <Value>sample string 7</Value>
          <ValueType i:nil="true" />
        </d3p1:Value>
      </d3p1:KeyValueOfstringFieldE4lBy4GA>
    </OrderFields>
    <OrderNum>sample string 1</OrderNum>
    <Version>sample string 3</Version>
  </Order>
  <Order>
    <CustomerName>sample string 4</CustomerName>
    <CustomerPhone>sample string 6</CustomerPhone>
    <DeliveryAddress>sample string 5</DeliveryAddress>
    <InstallationDate>sample string 7</InstallationDate>
    <Number>sample string 2</Number>
    <OrderFields xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringFieldE4lBy4GA>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>
          <FieldSubType>sample string 5</FieldSubType>
          <FieldType>sample string 4</FieldType>
          <ID>sample string 1</ID>
          <Title>sample string 2</Title>
          <Value>sample string 3</Value>
          <ValueType>sample string 6</ValueType>
        </d3p1:Value>
      </d3p1:KeyValueOfstringFieldE4lBy4GA>
      <d3p1:KeyValueOfstringFieldE4lBy4GA>
        <d3p1:Key>sample string 2</d3p1:Key>
        <d3p1:Value>
          <FieldSubType>sample string 5</FieldSubType>
          <FieldType>sample string 4</FieldType>
          <ID>sample string 1</ID>
          <Title>sample string 2</Title>
          <Value>sample string 3</Value>
          <ValueType>sample string 6</ValueType>
        </d3p1:Value>
      </d3p1:KeyValueOfstringFieldE4lBy4GA>
      <d3p1:KeyValueOfstringFieldE4lBy4GA>
        <d3p1:Key>OrderNum</d3p1:Key>
        <d3p1:Value>
          <FieldSubType i:nil="true" />
          <FieldType i:nil="true" />
          <ID>OrderNum</ID>
          <Title>Order #</Title>
          <Value>sample string 1</Value>
          <ValueType i:nil="true" />
        </d3p1:Value>
      </d3p1:KeyValueOfstringFieldE4lBy4GA>
      <d3p1:KeyValueOfstringFieldE4lBy4GA>
        <d3p1:Key>Number</d3p1:Key>
        <d3p1:Value>
          <FieldSubType i:nil="true" />
          <FieldType i:nil="true" />
          <ID>Number</ID>
          <Title>Number</Title>
          <Value>sample string 2</Value>
          <ValueType i:nil="true" />
        </d3p1:Value>
      </d3p1:KeyValueOfstringFieldE4lBy4GA>
      <d3p1:KeyValueOfstringFieldE4lBy4GA>
        <d3p1:Key>Version</d3p1:Key>
        <d3p1:Value>
          <FieldSubType i:nil="true" />
          <FieldType i:nil="true" />
          <ID>Version</ID>
          <Title>Version</Title>
          <Value>sample string 3</Value>
          <ValueType i:nil="true" />
        </d3p1:Value>
      </d3p1:KeyValueOfstringFieldE4lBy4GA>
      <d3p1:KeyValueOfstringFieldE4lBy4GA>
        <d3p1:Key>CustomerName</d3p1:Key>
        <d3p1:Value>
          <FieldSubType i:nil="true" />
          <FieldType i:nil="true" />
          <ID>CustomerName</ID>
          <Title>Customer Name</Title>
          <Value>sample string 4</Value>
          <ValueType i:nil="true" />
        </d3p1:Value>
      </d3p1:KeyValueOfstringFieldE4lBy4GA>
      <d3p1:KeyValueOfstringFieldE4lBy4GA>
        <d3p1:Key>DeliveryAddress</d3p1:Key>
        <d3p1:Value>
          <FieldSubType i:nil="true" />
          <FieldType i:nil="true" />
          <ID>DeliveryAddress</ID>
          <Title>Delivery Address</Title>
          <Value>sample string 5</Value>
          <ValueType i:nil="true" />
        </d3p1:Value>
      </d3p1:KeyValueOfstringFieldE4lBy4GA>
      <d3p1:KeyValueOfstringFieldE4lBy4GA>
        <d3p1:Key>CustomerPhone</d3p1:Key>
        <d3p1:Value>
          <FieldSubType i:nil="true" />
          <FieldType i:nil="true" />
          <ID>CustomerPhone</ID>
          <Title>Customer Phone</Title>
          <Value>sample string 6</Value>
          <ValueType i:nil="true" />
        </d3p1:Value>
      </d3p1:KeyValueOfstringFieldE4lBy4GA>
      <d3p1:KeyValueOfstringFieldE4lBy4GA>
        <d3p1:Key>InstallationDate</d3p1:Key>
        <d3p1:Value>
          <FieldSubType i:nil="true" />
          <FieldType i:nil="true" />
          <ID>InstallationDate</ID>
          <Title>Installation Date</Title>
          <Value>sample string 7</Value>
          <ValueType i:nil="true" />
        </d3p1:Value>
      </d3p1:KeyValueOfstringFieldE4lBy4GA>
    </OrderFields>
    <OrderNum>sample string 1</OrderNum>
    <Version>sample string 3</Version>
  </Order>
</ArrayOfOrder>