POST api/OrderManagement/AddWarehouse
Request Information
URI Parameters
None.
Body Parameters
Warehouse| Name | Description | Type | Additional information |
|---|---|---|---|
| warehouseMasterId | integer |
None. |
|
| warehouseName | string |
None. |
|
| WarehouseCode | string |
None. |
|
| stateCode | string |
None. |
|
| GSTIN | string |
None. |
|
| stateId | integer |
None. |
|
| cityId | integer |
None. |
|
| townId | integer |
None. |
|
| stateName | string |
None. |
|
| cityName | string |
None. |
|
| townName | string |
None. |
|
| address | string |
None. |
|
| flag | integer |
None. |
|
| isDefault | integer |
None. |
|
| isPlatformOnboard | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"warehouseMasterId": 1,
"warehouseName": "sample string 2",
"WarehouseCode": "sample string 3",
"stateCode": "sample string 4",
"GSTIN": "sample string 5",
"stateId": 6,
"cityId": 7,
"townId": 8,
"stateName": "sample string 9",
"cityName": "sample string 10",
"townName": "sample string 11",
"address": "sample string 12",
"flag": 13,
"isDefault": 14,
"isPlatformOnboard": 15
}
text/html
Sample:
{"warehouseMasterId":1,"warehouseName":"sample string 2","WarehouseCode":"sample string 3","stateCode":"sample string 4","GSTIN":"sample string 5","stateId":6,"cityId":7,"townId":8,"stateName":"sample string 9","cityName":"sample string 10","townName":"sample string 11","address":"sample string 12","flag":13,"isDefault":14,"isPlatformOnboard":15}
application/xml, text/xml
Sample:
<Warehouse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <GSTIN>sample string 5</GSTIN> <WarehouseCode>sample string 3</WarehouseCode> <address>sample string 12</address> <cityId>7</cityId> <cityName>sample string 10</cityName> <flag>13</flag> <isDefault>14</isDefault> <isPlatformOnboard>15</isPlatformOnboard> <stateCode>sample string 4</stateCode> <stateId>6</stateId> <stateName>sample string 9</stateName> <townId>8</townId> <townName>sample string 11</townName> <warehouseMasterId>1</warehouseMasterId> <warehouseName>sample string 2</warehouseName> </Warehouse>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | string |
None. |
|
| dateTime | string |
None. |
|
| StatusCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Version": "1.0.0",
"dateTime": "2025/12/28 05:16:55",
"StatusCode": 1,
"ErrorMessage": "sample string 2",
"Result": {}
}
text/html
Sample:
{"Version":"1.0.0","dateTime":"2025/12/28 05:16:55","StatusCode":1,"ErrorMessage":"sample string 2","Result":{}}
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>