POST api/Common/MacroArea_GetByWarehouse
Request Information
URI Parameters
None.
Body Parameters
Common_MacroArea_GetByWarehouseRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceUniqueId | string |
None. |
|
| IdWarehouse | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeviceUniqueId": "sample string 1",
"IdWarehouse": 2
}
application/xml, text/xml
Sample:
<Common_MacroArea_GetByWarehouseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models"> <DeviceUniqueId>sample string 1</DeviceUniqueId> <IdWarehouse>2</IdWarehouse> </Common_MacroArea_GetByWarehouseRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Common_MacroArea_GetByWarehouseResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Common_MacroArea_GetByWarehouseResult |
None. |
|
| MacroAreas | Collection of MacroArea |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": 0,
"MacroAreas": [
{
"IdMacroArea": 1,
"IdWarehouse": 2,
"Description": "sample string 3"
},
{
"IdMacroArea": 1,
"IdWarehouse": 2,
"Description": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<Common_MacroArea_GetByWarehouseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models">
<MacroAreas>
<MacroArea>
<Description>sample string 3</Description>
<IdMacroArea>1</IdMacroArea>
<IdWarehouse>2</IdWarehouse>
</MacroArea>
<MacroArea>
<Description>sample string 3</Description>
<IdMacroArea>1</IdMacroArea>
<IdWarehouse>2</IdWarehouse>
</MacroArea>
</MacroAreas>
<Result>GenericError</Result>
</Common_MacroArea_GetByWarehouseResponse>