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.

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"
}

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