PUT api/Customer?associateNo={associateNo}

Endpoint to update a given Customer

Request Information

URI Parameters

NameDescriptionTypeAdditional information
associateNo

integer

Required

Body Parameters

PutCustomerDto
NameDescriptionTypeAdditional 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.

Name

string

None.

MobilePhone

string

None.

EmailAddress

string

None.

Phone

string

None.

PostCode

string

None.

PostalArea

string

None.

CountryNo

integer

None.

Information2

string

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",
  "Name": "sample string 10",
  "MobilePhone": "sample string 11",
  "EmailAddress": "sample string 12",
  "Phone": "sample string 13",
  "PostCode": "sample string 14",
  "PostalArea": "sample string 15",
  "CountryNo": 16,
  "Information2": "sample string 17",
  "AddressLine1": "sample string 18",
  "AddressLine2": "sample string 19",
  "Group1": 20,
  "Group2": 21,
  "Group3": 22,
  "Group4": 23,
  "Group5": 24,
  "Group6": 25,
  "Group7": 26,
  "Group8": 27,
  "Group9": 28,
  "Group10": 29,
  "Group11": 30,
  "Group12": 31,
  "ToDate": 32,
  "FromDate": 33
}

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 18</AddressLine1>
  <AddressLine2>sample string 19</AddressLine2>
  <AssociateNo>7</AssociateNo>
  <CountryNo>16</CountryNo>
  <EmailAddress>sample string 12</EmailAddress>
  <FromDate>33</FromDate>
  <Group1>20</Group1>
  <Group10>29</Group10>
  <Group11>30</Group11>
  <Group12>31</Group12>
  <Group2>21</Group2>
  <Group3>22</Group3>
  <Group4>23</Group4>
  <Group5>24</Group5>
  <Group6>25</Group6>
  <Group7>26</Group7>
  <Group8>27</Group8>
  <Group9>28</Group9>
  <Information1>sample string 9</Information1>
  <Information2>sample string 17</Information2>
  <MobilePhone>sample string 11</MobilePhone>
  <Name>sample string 10</Name>
  <OrgUnit1No>8</OrgUnit1No>
  <Phone>sample string 13</Phone>
  <PostCode>sample string 14</PostCode>
  <PostalArea>sample string 15</PostalArea>
  <ToDate>32</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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PutCustomerDto'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.