POST api/User/UpdateCustomer

Request Information

URI Parameters

None.

Body Parameters

CustomerModel
NameDescriptionTypeAdditional information
CustomerID

string

None.

CustomerName

string

None.

CompanyType

integer

None.

FirstName

string

None.

Surname

string

None.

CompanyName

string

None.

Country

string

None.

City

string

None.

District

string

None.

Address

string

None.

TaxOffice

string

None.

TaxNumber

string

None.

IdentityNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerID": "sample string 1",
  "CustomerName": "sample string 2",
  "CompanyType": 3,
  "FirstName": "sample string 4",
  "Surname": "sample string 5",
  "CompanyName": "sample string 6",
  "Country": "sample string 7",
  "City": "sample string 8",
  "District": "sample string 9",
  "Address": "sample string 10",
  "TaxOffice": "sample string 11",
  "TaxNumber": "sample string 12",
  "IdentityNumber": "sample string 13"
}

text/html, multipart/form-data

Sample:
{"CustomerID":"sample string 1","CustomerName":"sample string 2","CompanyType":3,"FirstName":"sample string 4","Surname":"sample string 5","CompanyName":"sample string 6","Country":"sample string 7","City":"sample string 8","District":"sample string 9","Address":"sample string 10","TaxOffice":"sample string 11","TaxNumber":"sample string 12","IdentityNumber":"sample string 13"}

application/xml, text/xml

Sample:
<CustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarCharge.MobilApi.Models.User">
  <Address>sample string 10</Address>
  <City>sample string 8</City>
  <CompanyName>sample string 6</CompanyName>
  <CompanyType>3</CompanyType>
  <Country>sample string 7</Country>
  <CustomerID>sample string 1</CustomerID>
  <CustomerName>sample string 2</CustomerName>
  <District>sample string 9</District>
  <FirstName>sample string 4</FirstName>
  <IdentityNumber>sample string 13</IdentityNumber>
  <Surname>sample string 5</Surname>
  <TaxNumber>sample string 12</TaxNumber>
  <TaxOffice>sample string 11</TaxOffice>
</CustomerModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json, text/html, multipart/form-data

Sample:

Sample not available.