POST api/ERPDataUpdate/AddCustomers

Request Information

URI Parameters

None.

Body Parameters

Collection of Customers
NameDescriptionTypeAdditional information
BusinessCode

string

None.

EmployeeCode

string

None.

BusinessType

string

None.

CustomerName

string

None.

CustomerCode

string

None.

PriceCode

string

None.

Phone

string

None.

Email

string

None.

CustomerType

integer

None.

CountryName

string

None.

Zone

string

None.

Branch

string

None.

StateName

string

None.

CityName

string

None.

LGA

string

None.

Market

string

None.

Street

string

None.

FullAddress

string

None.

CustomerArea

string

None.

CreditLimitAmount

integer

None.

CreditLimitDuration

integer

None.

Latitude

string

None.

Longitude

string

None.

Location

string

None.

OutletType

string

None.

RouteName

string

None.

ReportingEmployeeCode

string

None.

CustomerImage

string

None.

Source

string

None.

SubBranch

string

None.

SubCity

string

None.

CreatedDate

date

None.

Status

integer

None.

DistributorChannel

string

None.

DivisionID

integer

None.

OrderType

string

None.

IsInvalid

boolean

None.

IsValidPhoneNumber

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "BusinessCode": "sample string 1",
    "EmployeeCode": "sample string 2",
    "BusinessType": "sample string 3",
    "CustomerName": "sample string 4",
    "CustomerCode": "sample string 5",
    "PriceCode": "sample string 6",
    "Phone": "sample string 7",
    "Email": "sample string 8",
    "CustomerType": 9,
    "CountryName": "sample string 10",
    "Zone": "sample string 11",
    "Branch": "sample string 12",
    "StateName": "sample string 13",
    "CityName": "sample string 14",
    "LGA": "sample string 15",
    "Market": "sample string 16",
    "Street": "sample string 17",
    "FullAddress": "sample string 18",
    "CustomerArea": "sample string 19",
    "CreditLimitAmount": 20,
    "CreditLimitDuration": 21,
    "Latitude": "sample string 22",
    "Longitude": "sample string 23",
    "Location": "sample string 24",
    "OutletType": "sample string 25",
    "RouteName": "sample string 26",
    "ReportingEmployeeCode": "sample string 27",
    "CustomerImage": "sample string 28",
    "Source": "sample string 29",
    "SubBranch": "sample string 30",
    "SubCity": "sample string 31",
    "CreatedDate": "2025-06-22T11:50:53.2770715+00:00",
    "Status": 32,
    "DistributorChannel": "sample string 33",
    "DivisionID": 34,
    "OrderType": "sample string 35",
    "IsInvalid": false,
    "IsValidPhoneNumber": false
  },
  {
    "BusinessCode": "sample string 1",
    "EmployeeCode": "sample string 2",
    "BusinessType": "sample string 3",
    "CustomerName": "sample string 4",
    "CustomerCode": "sample string 5",
    "PriceCode": "sample string 6",
    "Phone": "sample string 7",
    "Email": "sample string 8",
    "CustomerType": 9,
    "CountryName": "sample string 10",
    "Zone": "sample string 11",
    "Branch": "sample string 12",
    "StateName": "sample string 13",
    "CityName": "sample string 14",
    "LGA": "sample string 15",
    "Market": "sample string 16",
    "Street": "sample string 17",
    "FullAddress": "sample string 18",
    "CustomerArea": "sample string 19",
    "CreditLimitAmount": 20,
    "CreditLimitDuration": 21,
    "Latitude": "sample string 22",
    "Longitude": "sample string 23",
    "Location": "sample string 24",
    "OutletType": "sample string 25",
    "RouteName": "sample string 26",
    "ReportingEmployeeCode": "sample string 27",
    "CustomerImage": "sample string 28",
    "Source": "sample string 29",
    "SubBranch": "sample string 30",
    "SubCity": "sample string 31",
    "CreatedDate": "2025-06-22T11:50:53.2770715+00:00",
    "Status": 32,
    "DistributorChannel": "sample string 33",
    "DivisionID": 34,
    "OrderType": "sample string 35",
    "IsInvalid": false,
    "IsValidPhoneNumber": false
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model.Orion">
  <Customers>
    <Branch>sample string 12</Branch>
    <BusinessCode>sample string 1</BusinessCode>
    <BusinessType>sample string 3</BusinessType>
    <CityName>sample string 14</CityName>
    <CountryName>sample string 10</CountryName>
    <CreatedDate>2025-06-22T11:50:53.2770715+00:00</CreatedDate>
    <CreditLimitAmount>20</CreditLimitAmount>
    <CreditLimitDuration>21</CreditLimitDuration>
    <CustomerArea>sample string 19</CustomerArea>
    <CustomerCode>sample string 5</CustomerCode>
    <CustomerImage>sample string 28</CustomerImage>
    <CustomerName>sample string 4</CustomerName>
    <CustomerType>9</CustomerType>
    <DistributorChannel>sample string 33</DistributorChannel>
    <DivisionID>34</DivisionID>
    <Email>sample string 8</Email>
    <EmployeeCode>sample string 2</EmployeeCode>
    <FullAddress>sample string 18</FullAddress>
    <LGA>sample string 15</LGA>
    <Latitude>sample string 22</Latitude>
    <Location>sample string 24</Location>
    <Longitude>sample string 23</Longitude>
    <Market>sample string 16</Market>
    <OrderType>sample string 35</OrderType>
    <OutletType>sample string 25</OutletType>
    <Phone>sample string 7</Phone>
    <PriceCode>sample string 6</PriceCode>
    <ReportingEmployeeCode>sample string 27</ReportingEmployeeCode>
    <RouteName>sample string 26</RouteName>
    <Source>sample string 29</Source>
    <StateName>sample string 13</StateName>
    <Status>32</Status>
    <Street>sample string 17</Street>
    <SubBranch>sample string 30</SubBranch>
    <SubCity>sample string 31</SubCity>
    <Zone>sample string 11</Zone>
  </Customers>
  <Customers>
    <Branch>sample string 12</Branch>
    <BusinessCode>sample string 1</BusinessCode>
    <BusinessType>sample string 3</BusinessType>
    <CityName>sample string 14</CityName>
    <CountryName>sample string 10</CountryName>
    <CreatedDate>2025-06-22T11:50:53.2770715+00:00</CreatedDate>
    <CreditLimitAmount>20</CreditLimitAmount>
    <CreditLimitDuration>21</CreditLimitDuration>
    <CustomerArea>sample string 19</CustomerArea>
    <CustomerCode>sample string 5</CustomerCode>
    <CustomerImage>sample string 28</CustomerImage>
    <CustomerName>sample string 4</CustomerName>
    <CustomerType>9</CustomerType>
    <DistributorChannel>sample string 33</DistributorChannel>
    <DivisionID>34</DivisionID>
    <Email>sample string 8</Email>
    <EmployeeCode>sample string 2</EmployeeCode>
    <FullAddress>sample string 18</FullAddress>
    <LGA>sample string 15</LGA>
    <Latitude>sample string 22</Latitude>
    <Location>sample string 24</Location>
    <Longitude>sample string 23</Longitude>
    <Market>sample string 16</Market>
    <OrderType>sample string 35</OrderType>
    <OutletType>sample string 25</OutletType>
    <Phone>sample string 7</Phone>
    <PriceCode>sample string 6</PriceCode>
    <ReportingEmployeeCode>sample string 27</ReportingEmployeeCode>
    <RouteName>sample string 26</RouteName>
    <Source>sample string 29</Source>
    <StateName>sample string 13</StateName>
    <Status>32</Status>
    <Street>sample string 17</Street>
    <SubBranch>sample string 30</SubBranch>
    <SubCity>sample string 31</SubCity>
    <Zone>sample string 11</Zone>
  </Customers>
</ArrayOfCustomers>

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": "2025/06/22 11:50:53",
  "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>