POST api/ERPDataUpdate/AddCustomer
Request Information
URI Parameters
None.
Body Parameters
CustomerName | Description | Type | Additional information |
---|---|---|---|
PriceCode | string |
None. |
|
string |
None. |
||
CustomerType | integer |
None. |
|
CreditLimitAmount | integer |
None. |
|
CreditLimitDuration | integer |
None. |
|
Location | string |
None. |
|
OutletType | string |
None. |
|
RouteName | string |
None. |
|
EmployeeCode | string |
None. |
|
CreatedDate | date |
None. |
|
ReportingEmpCode | string |
None. |
|
CustomerImage | string |
None. |
|
AddressCode | string |
None. |
|
IsInvalid | boolean |
None. |
|
SubBranch | string |
None. |
|
SubCity | string |
None. |
|
IsWalletEnable | integer |
None. |
|
IsEpodEnable | integer |
None. |
|
BusinessCode | string |
None. |
|
BusinessType | string |
None. |
|
CustomerName | string |
None. |
|
CustomerCode | string |
None. |
|
Phone | string |
None. |
|
CountryName | string |
None. |
|
Zone | string |
None. |
|
Branch | string |
None. |
|
StateName | string |
None. |
|
LGA | string |
None. |
|
CityName | string |
None. |
|
Market | string |
None. |
|
Street | string |
None. |
|
FullAddress | string |
None. |
|
CustomerArea | string |
None. |
|
Latitude | string |
None. |
|
Longitude | string |
None. |
|
Source | string |
None. |
|
StatusID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "PriceCode": "sample string 1", "Email": "sample string 2", "CustomerType": 3, "CreditLimitAmount": 4, "CreditLimitDuration": 5, "Location": "sample string 6", "OutletType": "sample string 7", "RouteName": "sample string 8", "EmployeeCode": "sample string 9", "CreatedDate": "2025-04-04T03:43:58.1369781+00:00", "ReportingEmpCode": "sample string 10", "CustomerImage": "sample string 11", "AddressCode": "sample string 12", "IsInvalid": false, "SubBranch": "sample string 13", "SubCity": "sample string 14", "IsWalletEnable": 15, "IsEpodEnable": 16, "BusinessCode": "sample string 17", "BusinessType": "sample string 18", "CustomerName": "sample string 19", "CustomerCode": "sample string 20", "Phone": "sample string 21", "CountryName": "sample string 22", "Zone": "sample string 23", "Branch": "sample string 24", "StateName": "sample string 25", "LGA": "sample string 26", "CityName": "sample string 27", "Market": "sample string 28", "Street": "sample string 29", "FullAddress": "sample string 30", "CustomerArea": "sample string 31", "Latitude": "sample string 32", "Longitude": "sample string 33", "Source": "sample string 34", "StatusID": 35 }
application/xml, text/xml
Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model.Orion"> <Branch>sample string 24</Branch> <BusinessCode>sample string 17</BusinessCode> <BusinessType>sample string 18</BusinessType> <CityName>sample string 27</CityName> <CountryName>sample string 22</CountryName> <CustomerArea>sample string 31</CustomerArea> <CustomerCode>sample string 20</CustomerCode> <CustomerName>sample string 19</CustomerName> <FullAddress>sample string 30</FullAddress> <LGA>sample string 26</LGA> <Latitude>sample string 32</Latitude> <Longitude>sample string 33</Longitude> <Market>sample string 28</Market> <Phone>sample string 21</Phone> <Source>sample string 34</Source> <StateName>sample string 25</StateName> <StatusID>35</StatusID> <Street>sample string 29</Street> <Zone>sample string 23</Zone> <AddressCode>sample string 12</AddressCode> <CreatedDate>2025-04-04T03:43:58.1369781+00:00</CreatedDate> <CreditLimitAmount>4</CreditLimitAmount> <CreditLimitDuration>5</CreditLimitDuration> <CustomerImage>sample string 11</CustomerImage> <CustomerType>3</CustomerType> <Email>sample string 2</Email> <EmployeeCode>sample string 9</EmployeeCode> <IsEpodEnable>16</IsEpodEnable> <IsWalletEnable>15</IsWalletEnable> <Location>sample string 6</Location> <OutletType>sample string 7</OutletType> <PriceCode>sample string 1</PriceCode> <ReportingEmpCode>sample string 10</ReportingEmpCode> <RouteName>sample string 8</RouteName> <SubBranch>sample string 13</SubBranch> <SubCity>sample string 14</SubCity> </Customer>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponseName | 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/04/04 03:43:58", "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>