GET api/CostCenter/{id}?DataType={DataType}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| DataType | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CostCenterDetailVM| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId | integer |
None. |
|
| AccountName | string |
None. |
|
| ShippingAddressId | integer |
None. |
|
| ShippingAddressName | string |
None. |
|
| ItemBinId | integer |
None. |
|
| BinName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"AccountId": 1,
"AccountName": "sample string 2",
"ShippingAddressId": 3,
"ShippingAddressName": "sample string 4",
"ItemBinId": 5,
"BinName": "sample string 6"
}
application/xml, text/xml
Sample:
<CostCenterDetailVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Web.Api.ViewModel"> <AccountId>1</AccountId> <AccountName>sample string 2</AccountName> <BinName>sample string 6</BinName> <ItemBinId>5</ItemBinId> <ShippingAddressId>3</ShippingAddressId> <ShippingAddressName>sample string 4</ShippingAddressName> </CostCenterDetailVM>