POST api/AddressBook/AddCustomerDetails

Request Information

URI Parameters

None.

Body Parameters

AddCustomerDetails
NameDescriptionTypeAdditional information
BusinessId

integer

None.

UserId

integer

None.

Customercode

string

None.

FirstName

string

None.

LastName

string

None.

BackedCustomerRefno

string

None.

UseCustomercodeatbarcode

string

None.

CustomerBarcode

string

None.

OpenAccountDate

string

None.

RegistrationNUmber

string

None.

Type

string

None.

Communication

string

None.

RelationShip

string

None.

PriceGroup

string

None.

GroupDiscount

string

None.

exclusivity

string

None.

Geography

string

None.

Distributorchannel

string

None.

OutletType

string

None.

keyAcountGroup

string

None.

keyAccountRelationalGroup

string

None.

SoldToAddress1

string

None.

SoldToAddress2

string

None.

SoldToCity

string

None.

SoldToState

string

None.

SoldToAddress5

string

None.

SoldToPostalCode

string

None.

BillToPostalCode

string

None.

BillToCode

string

None.

BillToName

string

None.

BillToAddress1

string

None.

BillToAddress2

string

None.

BillToCity

string

None.

BillToState

string

None.

BillToAddress5

string

None.

ContactPerson

string

None.

TelephoneNumber

string

None.

Extension

string

None.

AdditionalTelephoneNumber

string

None.

MobileNumber

string

None.

FaxNumber

string

None.

EmailAddress

string

None.

Tearms

string

None.

CreditLimit

string

None.

CustDiscountinPersentage

string

None.

TaxExemption

string

None.

ExemptionNumber

string

None.

CompanyTaxRegistrationNumber

string

None.

SpecialInstrucation

string

None.

Bank

string

None.

BankBranch

string

None.

BankAccountNumber

string

None.

OpeningBanlace

string

None.

AcofDate

string

None.

DKACustomer

string

None.

SessionalCustomer

string

None.

SessionalStartDate

string

None.

SessionalEndaDate

string

None.

Longitude

string

None.

Latitude

string

None.

ImageUpload

string

None.

DistributorUserDefined1

string

None.

DistributorUserDefined2

string

None.

DistributorUserDefined3

string

None.

DistributorUserDefined4

string

None.

DistributorUserDefined5

string

None.

TagID

integer

None.

OfflineCustomerID

string

None.

fieldValues

Collection of Fieldvalue

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessId": 1,
  "UserId": 2,
  "Customercode": "sample string 3",
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "BackedCustomerRefno": "sample string 6",
  "UseCustomercodeatbarcode": "sample string 7",
  "CustomerBarcode": "sample string 8",
  "OpenAccountDate": "sample string 9",
  "RegistrationNUmber": "sample string 10",
  "Type": "sample string 11",
  "Communication": "sample string 12",
  "RelationShip": "sample string 13",
  "PriceGroup": "sample string 14",
  "GroupDiscount": "sample string 15",
  "exclusivity": "sample string 16",
  "Geography": "sample string 17",
  "Distributorchannel": "sample string 18",
  "OutletType": "sample string 19",
  "keyAcountGroup": "sample string 20",
  "keyAccountRelationalGroup": "sample string 21",
  "SoldToAddress1": "sample string 22",
  "SoldToAddress2": "sample string 23",
  "SoldToCity": "sample string 24",
  "SoldToState": "sample string 25",
  "SoldToAddress5": "sample string 26",
  "SoldToPostalCode": "sample string 27",
  "BillToPostalCode": "sample string 28",
  "BillToCode": "sample string 29",
  "BillToName": "sample string 30",
  "BillToAddress1": "sample string 31",
  "BillToAddress2": "sample string 32",
  "BillToCity": "sample string 33",
  "BillToState": "sample string 34",
  "BillToAddress5": "sample string 35",
  "ContactPerson": "sample string 36",
  "TelephoneNumber": "sample string 37",
  "Extension": "sample string 38",
  "AdditionalTelephoneNumber": "sample string 39",
  "MobileNumber": "sample string 40",
  "FaxNumber": "sample string 41",
  "EmailAddress": "sample string 42",
  "Tearms": "sample string 43",
  "CreditLimit": "sample string 44",
  "CustDiscountinPersentage": "sample string 45",
  "TaxExemption": "sample string 46",
  "ExemptionNumber": "sample string 47",
  "CompanyTaxRegistrationNumber": "sample string 48",
  "SpecialInstrucation": "sample string 49",
  "Bank": "sample string 50",
  "BankBranch": "sample string 51",
  "BankAccountNumber": "sample string 52",
  "OpeningBanlace": "sample string 53",
  "AcofDate": "sample string 54",
  "DKACustomer": "sample string 55",
  "SessionalCustomer": "sample string 56",
  "SessionalStartDate": "sample string 57",
  "SessionalEndaDate": "sample string 58",
  "Longitude": "sample string 59",
  "Latitude": "sample string 60",
  "ImageUpload": "sample string 61",
  "DistributorUserDefined1": "sample string 62",
  "DistributorUserDefined2": "sample string 63",
  "DistributorUserDefined3": "sample string 64",
  "DistributorUserDefined4": "sample string 65",
  "DistributorUserDefined5": "sample string 66",
  "TagID": 67,
  "OfflineCustomerID": "sample string 68",
  "fieldValues": [
    {
      "FieldId": 1,
      "Value": "sample string 2"
    },
    {
      "FieldId": 1,
      "Value": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<AddCustomerDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <AcofDate>sample string 54</AcofDate>
  <AdditionalTelephoneNumber>sample string 39</AdditionalTelephoneNumber>
  <BackedCustomerRefno>sample string 6</BackedCustomerRefno>
  <Bank>sample string 50</Bank>
  <BankAccountNumber>sample string 52</BankAccountNumber>
  <BankBranch>sample string 51</BankBranch>
  <BillToAddress1>sample string 31</BillToAddress1>
  <BillToAddress2>sample string 32</BillToAddress2>
  <BillToAddress5>sample string 35</BillToAddress5>
  <BillToCity>sample string 33</BillToCity>
  <BillToCode>sample string 29</BillToCode>
  <BillToName>sample string 30</BillToName>
  <BillToPostalCode>sample string 28</BillToPostalCode>
  <BillToState>sample string 34</BillToState>
  <BusinessId>1</BusinessId>
  <Communication>sample string 12</Communication>
  <CompanyTaxRegistrationNumber>sample string 48</CompanyTaxRegistrationNumber>
  <ContactPerson>sample string 36</ContactPerson>
  <CreditLimit>sample string 44</CreditLimit>
  <CustDiscountinPersentage>sample string 45</CustDiscountinPersentage>
  <CustomerBarcode>sample string 8</CustomerBarcode>
  <Customercode>sample string 3</Customercode>
  <DKACustomer>sample string 55</DKACustomer>
  <DistributorUserDefined1>sample string 62</DistributorUserDefined1>
  <DistributorUserDefined2>sample string 63</DistributorUserDefined2>
  <DistributorUserDefined3>sample string 64</DistributorUserDefined3>
  <DistributorUserDefined4>sample string 65</DistributorUserDefined4>
  <DistributorUserDefined5>sample string 66</DistributorUserDefined5>
  <Distributorchannel>sample string 18</Distributorchannel>
  <EmailAddress>sample string 42</EmailAddress>
  <ExemptionNumber>sample string 47</ExemptionNumber>
  <Extension>sample string 38</Extension>
  <FaxNumber>sample string 41</FaxNumber>
  <FirstName>sample string 4</FirstName>
  <Geography>sample string 17</Geography>
  <GroupDiscount>sample string 15</GroupDiscount>
  <ImageUpload>sample string 61</ImageUpload>
  <LastName>sample string 5</LastName>
  <Latitude>sample string 60</Latitude>
  <Longitude>sample string 59</Longitude>
  <MobileNumber>sample string 40</MobileNumber>
  <OfflineCustomerID>sample string 68</OfflineCustomerID>
  <OpenAccountDate>sample string 9</OpenAccountDate>
  <OpeningBanlace>sample string 53</OpeningBanlace>
  <OutletType>sample string 19</OutletType>
  <PriceGroup>sample string 14</PriceGroup>
  <RegistrationNUmber>sample string 10</RegistrationNUmber>
  <RelationShip>sample string 13</RelationShip>
  <SessionalCustomer>sample string 56</SessionalCustomer>
  <SessionalEndaDate>sample string 58</SessionalEndaDate>
  <SessionalStartDate>sample string 57</SessionalStartDate>
  <SoldToAddress1>sample string 22</SoldToAddress1>
  <SoldToAddress2>sample string 23</SoldToAddress2>
  <SoldToAddress5>sample string 26</SoldToAddress5>
  <SoldToCity>sample string 24</SoldToCity>
  <SoldToPostalCode>sample string 27</SoldToPostalCode>
  <SoldToState>sample string 25</SoldToState>
  <SpecialInstrucation>sample string 49</SpecialInstrucation>
  <TagID>67</TagID>
  <TaxExemption>sample string 46</TaxExemption>
  <Tearms>sample string 43</Tearms>
  <TelephoneNumber>sample string 37</TelephoneNumber>
  <Type>sample string 11</Type>
  <UseCustomercodeatbarcode>sample string 7</UseCustomercodeatbarcode>
  <UserId>2</UserId>
  <exclusivity>sample string 16</exclusivity>
  <fieldValues>
    <Fieldvalue>
      <FieldId>1</FieldId>
      <Value>sample string 2</Value>
    </Fieldvalue>
    <Fieldvalue>
      <FieldId>1</FieldId>
      <Value>sample string 2</Value>
    </Fieldvalue>
  </fieldValues>
  <keyAccountRelationalGroup>sample string 21</keyAccountRelationalGroup>
  <keyAcountGroup>sample string 20</keyAcountGroup>
</AddCustomerDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.