POST api/Depot/AddBusinessHub
Request Information
URI Parameters
None.
Body Parameters
AddBusinessHubPrm| Name | Description | Type | Additional information |
|---|---|---|---|
| depotId | integer |
None. |
|
| businessId | integer |
None. |
|
| loginUserId | integer |
None. |
|
| businessName | string |
None. |
|
| stateId | integer |
None. |
|
| countryId | integer |
None. |
|
| lgaId | integer |
None. |
|
| lgaName | string |
None. |
|
| areaId | integer |
None. |
|
| location | string |
None. |
|
| latitude | string |
None. |
|
| longitude | string |
None. |
|
| agentName | string |
None. |
|
| phone | string |
None. |
|
| string |
None. |
||
| password | string |
None. |
|
| fulfilementCenter | integer |
None. |
|
| depotFCMapping | integer |
None. |
|
| reportingToMainBusinessid | integer |
None. |
|
| locationIds | string |
None. |
|
| lgaIds | string |
None. |
|
| lcdaIds | string |
None. |
|
| locationNames | string |
None. |
|
| streetName | string |
None. |
|
| shopNo | string |
None. |
|
| flag | integer |
None. |
|
| depotFcMappingName | string |
None. |
|
| stakeholdersEmail | string |
None. |
|
| companyName | string |
None. |
|
| bankName | string |
None. |
|
| bankCode | string |
None. |
|
| accountName | string |
None. |
|
| accountNumber | string |
None. |
|
| taxIDNumber | string |
None. |
|
| distributorPhone | string |
None. |
|
| isMfc | boolean |
None. |
|
| notifyStakeholdersOnPriceChange | boolean |
None. |
|
| businessType | integer |
None. |
|
| region | string |
None. |
|
| costCenter | string |
None. |
|
| stateName | string |
None. |
|
| stockPointCode | string |
None. |
|
| cityName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"depotId": 1,
"businessId": 2,
"loginUserId": 3,
"businessName": "sample string 4",
"stateId": 5,
"countryId": 6,
"lgaId": 7,
"lgaName": "sample string 8",
"areaId": 9,
"location": "sample string 10",
"latitude": "sample string 11",
"longitude": "sample string 12",
"agentName": "sample string 13",
"phone": "sample string 14",
"email": "sample string 15",
"password": "sample string 16",
"fulfilementCenter": 17,
"depotFCMapping": 18,
"reportingToMainBusinessid": 19,
"locationIds": "sample string 20",
"lgaIds": "sample string 21",
"lcdaIds": "sample string 22",
"locationNames": "sample string 23",
"streetName": "sample string 24",
"shopNo": "sample string 25",
"flag": 26,
"depotFcMappingName": "sample string 27",
"stakeholdersEmail": "sample string 28",
"companyName": "sample string 29",
"bankName": "sample string 30",
"bankCode": "sample string 31",
"accountName": "sample string 32",
"accountNumber": "sample string 33",
"taxIDNumber": "sample string 34",
"distributorPhone": "sample string 35",
"isMfc": true,
"notifyStakeholdersOnPriceChange": true,
"businessType": 38,
"region": "sample string 39",
"costCenter": "sample string 40",
"stateName": "sample string 41",
"stockPointCode": "sample string 42",
"cityName": "sample string 43"
}
application/xml, text/xml
Sample:
<AddBusinessHubPrm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <accountName>sample string 32</accountName> <accountNumber>sample string 33</accountNumber> <agentName>sample string 13</agentName> <areaId>9</areaId> <bankCode>sample string 31</bankCode> <bankName>sample string 30</bankName> <businessId>2</businessId> <businessName>sample string 4</businessName> <businessType>38</businessType> <cityName>sample string 43</cityName> <companyName>sample string 29</companyName> <costCenter>sample string 40</costCenter> <countryId>6</countryId> <depotFCMapping>18</depotFCMapping> <depotFcMappingName>sample string 27</depotFcMappingName> <depotId>1</depotId> <distributorPhone>sample string 35</distributorPhone> <email>sample string 15</email> <flag>26</flag> <fulfilementCenter>17</fulfilementCenter> <isMfc>true</isMfc> <latitude>sample string 11</latitude> <lcdaIds>sample string 22</lcdaIds> <lgaId>7</lgaId> <lgaIds>sample string 21</lgaIds> <lgaName>sample string 8</lgaName> <location>sample string 10</location> <locationIds>sample string 20</locationIds> <locationNames>sample string 23</locationNames> <loginUserId>3</loginUserId> <longitude>sample string 12</longitude> <notifyStakeholdersOnPriceChange>true</notifyStakeholdersOnPriceChange> <password>sample string 16</password> <phone>sample string 14</phone> <region>sample string 39</region> <reportingToMainBusinessid>19</reportingToMainBusinessid> <shopNo>sample string 25</shopNo> <stakeholdersEmail>sample string 28</stakeholdersEmail> <stateId>5</stateId> <stateName>sample string 41</stateName> <stockPointCode>sample string 42</stockPointCode> <streetName>sample string 24</streetName> <taxIDNumber>sample string 34</taxIDNumber> </AddBusinessHubPrm>
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/11/02 13:40:08",
"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/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>