GET api/OrderType/{id}?type={type}
Gets a list of order type.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Organization Id. |
integer |
Required |
| type |
List Type. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of OrderType| Name | Description | Type | Additional 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>