POST address/createcustomer/{userConnectedID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userConnectedID

integer

Required

Body Parameters

Customer
NameDescriptionTypeAdditional information
UIDNumber

string

None.

CustomerCode

string

None.

CustomerAddress

string

None.

Street

string

None.

ZipCode

string

None.

CityLabel

string

None.

CountryCode

string

None.

CountryLabel

string

None.

Description

string

None.

Coordinate

Coordinate

None.

ID

integer

None.

Code

string

None.

Label

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UIDNumber": "sample string 1",
  "CustomerCode": "sample string 2",
  "CustomerAddress": "sample string 3, sample string 4 - sample string 5, sample string 6",
  "Street": "sample string 3",
  "ZipCode": "sample string 4",
  "CityLabel": "sample string 5",
  "CountryCode": "sample string 6",
  "CountryLabel": "sample string 7",
  "Description": "sample string 8",
  "Coordinate": null,
  "ID": 9,
  "Code": "sample string 10",
  "Label": "sample string 11"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Der Typ "Alpha.Model.Travel.Coordinate" kann nicht serialisiert werden. Kennzeichnen Sie ihn ggf. mit dem Attribut "DataContractAttribute", und kennzeichnen Sie alle zu serialisierenden Member des Typs mit dem Attribut "DataMemberAttribute". Wenn es sich bei dem Typ um eine Sammlung handelt, markieren Sie ihn ggf. mit dem CollectionDataContractAttribute. Weitere Informationen über andere unterstützten Typen finden Sie in der Microsoft .NET Framework-Dokumentation.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Der Typ "Alpha.Model.Travel.Coordinate" kann nicht serialisiert werden. Kennzeichnen Sie ihn ggf. mit dem Attribut "DataContractAttribute", und kennzeichnen Sie alle zu serialisierenden Member des Typs mit dem Attribut "DataMemberAttribute". Wenn es sich bei dem Typ um eine Sammlung handelt, markieren Sie ihn ggf. mit dem CollectionDataContractAttribute. Weitere Informationen über andere unterstützten Typen finden Sie in der Microsoft .NET Framework-Dokumentation.

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

Response Information

Resource Description

MessageResponse
NameDescriptionTypeAdditional information
Successfully

string

None.

Error

string

None.

SavedID

string

None.

Label

string

None.

ListItems

None.

Response Formats

application/json, text/json

Sample:
{
  "Successfully": "sample string 1",
  "Error": "sample string 2",
  "SavedID": "sample string 3",
  "Label": "sample string 4",
  "ListItems": [
    {
      "ID": "sample string 1",
      "Label": "sample string 2"
    },
    {
      "ID": "sample string 1",
      "Label": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<MessageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGS.Model">
  <Error>sample string 2</Error>
  <Label>sample string 4</Label>
  <ListItems>
    <ItemIDLabel>
      <ID>sample string 1</ID>
      <Label>sample string 2</Label>
    </ItemIDLabel>
    <ItemIDLabel>
      <ID>sample string 1</ID>
      <Label>sample string 2</Label>
    </ItemIDLabel>
  </ListItems>
  <SavedID>sample string 3</SavedID>
  <Successfully>sample string 1</Successfully>
</MessageResponse>