POST address/createcontactperson/{userConnectedID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userConnectedID | integer |
Required |
Body Parameters
Contact| Name | Description | Type | Additional information |
|---|---|---|---|
| ParentAddress | integer |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| string |
None. |
||
| Telefon | string |
None. |
|
| Sex | integer |
None. |
|
| Job | 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:
{
"ParentAddress": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Email": "sample string 4",
"Telefon": "sample string 5",
"Sex": 6,
"Job": "sample string 7",
"Street": "sample string 8",
"ZipCode": "sample string 9",
"CityLabel": "sample string 10",
"CountryCode": "sample string 11",
"CountryLabel": "sample string 12",
"Description": "sample string 13",
"Coordinate": null,
"ID": 14,
"Code": "sample string 15",
"Label": "sample string 16"
}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
MessageResponse| Name | Description | Type | Additional 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>