PUT api/Customer?associateNo={associateNo}
Endpoint to update a given Customer
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| associateNo | integer |
Required |
Body Parameters
PutCustomerDto| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeNo | integer |
None. |
|
| SellerNo | integer |
None. |
|
| CompanyNo | string |
None. |
|
| CustomerPriceGroup1 | integer |
None. |
|
| CustomerPriceGroup2 | integer |
None. |
|
| CustomerPriceGroup3 | integer |
None. |
|
| AssociateNo | integer |
None. |
|
| OrgUnit1No | integer |
None. |
|
| Information1 | string |
None. |
|
| Information2 | string |
None. |
|
| Information3 | string |
None. |
|
| Information4 | string |
None. |
|
| Information5 | string |
None. |
|
| Information6 | string |
None. |
|
| Information7 | string |
None. |
|
| Information8 | string |
None. |
|
| Name | string |
None. |
|
| MobilePhone | string |
None. |
|
| EmailAddress | string |
None. |
|
| Phone | string |
None. |
|
| PostCode | string |
None. |
|
| PostalArea | string |
None. |
|
| CountryNo | integer |
None. |
|
| AddressLine1 | string |
None. |
|
| AddressLine2 | string |
None. |
|
| Group1 | integer |
None. |
|
| Group2 | integer |
None. |
|
| Group3 | integer |
None. |
|
| Group4 | integer |
None. |
|
| Group5 | integer |
None. |
|
| Group6 | integer |
None. |
|
| Group7 | integer |
None. |
|
| Group8 | integer |
None. |
|
| Group9 | integer |
None. |
|
| Group10 | integer |
None. |
|
| Group11 | integer |
None. |
|
| Group12 | integer |
None. |
|
| ToDate | integer |
None. |
|
| FromDate | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmployeeNo": 1,
"SellerNo": 2,
"CompanyNo": "sample string 3",
"CustomerPriceGroup1": 4,
"CustomerPriceGroup2": 5,
"CustomerPriceGroup3": 6,
"AssociateNo": 7,
"OrgUnit1No": 8,
"Information1": "sample string 9",
"Information2": "sample string 10",
"Information3": "sample string 11",
"Information4": "sample string 12",
"Information5": "sample string 13",
"Information6": "sample string 14",
"Information7": "sample string 15",
"Information8": "sample string 16",
"Name": "sample string 17",
"MobilePhone": "sample string 18",
"EmailAddress": "sample string 19",
"Phone": "sample string 20",
"PostCode": "sample string 21",
"PostalArea": "sample string 22",
"CountryNo": 23,
"AddressLine1": "sample string 24",
"AddressLine2": "sample string 25",
"Group1": 26,
"Group2": 27,
"Group3": 28,
"Group4": 29,
"Group5": 30,
"Group6": 31,
"Group7": 32,
"Group8": 33,
"Group9": 34,
"Group10": 35,
"Group11": 36,
"Group12": 37,
"ToDate": 38,
"FromDate": 39
}
application/xml, text/xml
Sample:
<PutCustomerDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VBABPILIB.Dto.Put"> <AddressLine1>sample string 24</AddressLine1> <AddressLine2>sample string 25</AddressLine2> <AssociateNo>7</AssociateNo> <CountryNo>23</CountryNo> <EmailAddress>sample string 19</EmailAddress> <FromDate>39</FromDate> <Group1>26</Group1> <Group10>35</Group10> <Group11>36</Group11> <Group12>37</Group12> <Group2>27</Group2> <Group3>28</Group3> <Group4>29</Group4> <Group5>30</Group5> <Group6>31</Group6> <Group7>32</Group7> <Group8>33</Group8> <Group9>34</Group9> <Information1>sample string 9</Information1> <Information2>sample string 10</Information2> <Information3>sample string 11</Information3> <Information4>sample string 12</Information4> <Information5>sample string 13</Information5> <Information6>sample string 14</Information6> <Information7>sample string 15</Information7> <Information8>sample string 16</Information8> <MobilePhone>sample string 18</MobilePhone> <Name>sample string 17</Name> <OrgUnit1No>8</OrgUnit1No> <Phone>sample string 20</Phone> <PostCode>sample string 21</PostCode> <PostalArea>sample string 22</PostalArea> <ToDate>38</ToDate> <CompanyNo>sample string 3</CompanyNo> <CustomerPriceGroup1>4</CustomerPriceGroup1> <CustomerPriceGroup2>5</CustomerPriceGroup2> <CustomerPriceGroup3>6</CustomerPriceGroup3> <EmployeeNo>1</EmployeeNo> <SellerNo>2</SellerNo> </PutCustomerDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |