POST api/ERPDataUpdate/AddCustomer

Request Information

URI Parameters

None.

Body Parameters

Customer
NameDescriptionTypeAdditional information
PriceCode

string

None.

Email

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.

IsInvalid

boolean

None.

SubBranch

string

None.

SubCity

string

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.

AddressCode

string

None.

IsWalletEnable

integer

None.

IsEpodEnable

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": "2024-09-19T17:21:18.901843+00:00",
  "ReportingEmpCode": "sample string 10",
  "CustomerImage": "sample string 11",
  "IsInvalid": false,
  "SubBranch": "sample string 12",
  "SubCity": "sample string 13",
  "BusinessCode": "sample string 14",
  "BusinessType": "sample string 15",
  "CustomerName": "sample string 16",
  "CustomerCode": "sample string 17",
  "Phone": "sample string 18",
  "CountryName": "sample string 19",
  "Zone": "sample string 20",
  "Branch": "sample string 21",
  "StateName": "sample string 22",
  "LGA": "sample string 23",
  "CityName": "sample string 24",
  "Market": "sample string 25",
  "Street": "sample string 26",
  "FullAddress": "sample string 27",
  "CustomerArea": "sample string 28",
  "Latitude": "sample string 29",
  "Longitude": "sample string 30",
  "Source": "sample string 31",
  "StatusID": 32,
  "AddressCode": "sample string 33",
  "IsWalletEnable": 34,
  "IsEpodEnable": 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">
  <AddressCode>sample string 33</AddressCode>
  <Branch>sample string 21</Branch>
  <BusinessCode>sample string 14</BusinessCode>
  <BusinessType>sample string 15</BusinessType>
  <CityName>sample string 24</CityName>
  <CountryName>sample string 19</CountryName>
  <CustomerArea>sample string 28</CustomerArea>
  <CustomerCode>sample string 17</CustomerCode>
  <CustomerName>sample string 16</CustomerName>
  <FullAddress>sample string 27</FullAddress>
  <IsEpodEnable>35</IsEpodEnable>
  <IsWalletEnable>34</IsWalletEnable>
  <LGA>sample string 23</LGA>
  <Latitude>sample string 29</Latitude>
  <Longitude>sample string 30</Longitude>
  <Market>sample string 25</Market>
  <Phone>sample string 18</Phone>
  <Source>sample string 31</Source>
  <StateName>sample string 22</StateName>
  <StatusID>32</StatusID>
  <Street>sample string 26</Street>
  <Zone>sample string 20</Zone>
  <CreatedDate>2024-09-19T17:21:18.901843+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>
  <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 12</SubBranch>
  <SubCity>sample string 13</SubCity>
</Customer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional 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": "2024/09/19 17:21:18",
  "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>