GET api/OrderType/{id}?type={type}

Gets a list of order type.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Organization Id.

integer

Required

type

List Type.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of OrderType
NameDescriptionTypeAdditional information
OrderTypeId

integer

None.

OrderTypeName

string

None.

CreatedOnModule

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "OrderTypeId": 1,
    "OrderTypeName": "sample string 2",
    "CreatedOnModule": "sample string 3"
  },
  {
    "OrderTypeId": 1,
    "OrderTypeName": "sample string 2",
    "CreatedOnModule": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrderType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
  <OrderType>
    <CreatedOnModule>sample string 3</CreatedOnModule>
    <OrderTypeId>1</OrderTypeId>
    <OrderTypeName>sample string 2</OrderTypeName>
  </OrderType>
  <OrderType>
    <CreatedOnModule>sample string 3</CreatedOnModule>
    <OrderTypeId>1</OrderTypeId>
    <OrderTypeName>sample string 2</OrderTypeName>
  </OrderType>
</ArrayOfOrderType>