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. | |
| 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",
  "stateName": "sample string 40",
  "stockPointCode": "sample string 41",
  "cityName": "sample string 42"
}
        application/xml, text/xml
            Sample:
        <AddBusinessHubPrm xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <depotId>1</depotId> <businessId>2</businessId> <loginUserId>3</loginUserId> <businessName>sample string 4</businessName> <stateId>5</stateId> <countryId>6</countryId> <lgaId>7</lgaId> <lgaName>sample string 8</lgaName> <areaId>9</areaId> <location>sample string 10</location> <latitude>sample string 11</latitude> <longitude>sample string 12</longitude> <agentName>sample string 13</agentName> <phone>sample string 14</phone> <email>sample string 15</email> <password>sample string 16</password> <fulfilementCenter>17</fulfilementCenter> <depotFCMapping>18</depotFCMapping> <reportingToMainBusinessid>19</reportingToMainBusinessid> <locationIds>sample string 20</locationIds> <lgaIds>sample string 21</lgaIds> <lcdaIds>sample string 22</lcdaIds> <locationNames>sample string 23</locationNames> <streetName>sample string 24</streetName> <shopNo>sample string 25</shopNo> <flag>26</flag> <depotFcMappingName>sample string 27</depotFcMappingName> <stakeholdersEmail>sample string 28</stakeholdersEmail> <companyName>sample string 29</companyName> <bankName>sample string 30</bankName> <bankCode>sample string 31</bankCode> <accountName>sample string 32</accountName> <accountNumber>sample string 33</accountNumber> <taxIDNumber>sample string 34</taxIDNumber> <distributorPhone>sample string 35</distributorPhone> <isMfc>true</isMfc> <notifyStakeholdersOnPriceChange>true</notifyStakeholdersOnPriceChange> <businessType>38</businessType> <region>sample string 39</region> <stateName>sample string 40</stateName> <stockPointCode>sample string 41</stockPointCode> <cityName>sample string 42</cityName> </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/10/31 18:20:22",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}
        application/xml, text/xml
            Sample:
<VCAPIResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <StatusCode>1</StatusCode> <ErrorMessage>sample string 2</ErrorMessage> <Result /> </VCAPIResponse>