POST api/User/Address/Save
Request Information
URI Parameters
None.
Body Parameters
UserAddressBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
Required |
|
| AddressLine | string |
Required String length: inclusive between 0 and 200 |
|
| Latitude | decimal number |
Required |
|
| Longitude | decimal number |
Required |
|
| Type | UserAddressType |
None. |
|
| Id | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "8c36f6c6084d404b990db24a86855550"
}
application/xml, text/xml
Sample:
<UserAddressBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkJet.Models.BindingModels"> <Id>8c36f6c6-084d-404b-990d-b24a86855550</Id> <AddressLine>sample string 2</AddressLine> <Latitude>3.1</Latitude> <Longitude>4.1</Longitude> <Name>sample string 1</Name> <Type>NotSet</Type> </UserAddressBindingModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ServiceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| MessageId | integer |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"MessageId": 899,
"Message": "\r\n",
"Data": {}
}
application/xml, text/xml
Sample:
<ServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkJet.Services.Response">
<MessageLog xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string></d2p1:string>
<d2p1:string></d2p1:string>
</MessageLog>
</ServiceResponse>