POST api/ClientAddress
Request Information
URI Parameters
None.
Body Parameters
ClientAddressName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
id_client | integer |
None. |
|
address1 | string |
None. |
|
address2 | string |
None. |
|
client_name | string |
None. |
|
client_phone | string |
None. |
|
client_govid | string |
None. |
|
latitude | decimal number |
None. |
|
longitude | decimal number |
None. |
|
principal | boolean |
None. |
|
description | string |
None. |
|
region | string |
None. |
|
distance | decimal number |
None. |
|
country | string |
None. |
|
country_state | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "id_client": 2, "address1": "sample string 3", "address2": "sample string 4", "client_name": "sample string 5", "client_phone": "sample string 6", "client_govid": "sample string 7", "latitude": 8.1, "longitude": 9.1, "principal": true, "description": "sample string 11", "region": "sample string 12", "distance": 13.1, "country": "sample string 14", "country_state": "sample string 15" }
application/xml, text/xml
Sample:
<ClientAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineSalesServer.Models"> <address1>sample string 3</address1> <address2>sample string 4</address2> <client_govid>sample string 7</client_govid> <client_name>sample string 5</client_name> <client_phone>sample string 6</client_phone> <country>sample string 14</country> <country_state>sample string 15</country_state> <description>sample string 11</description> <distance>13.1</distance> <id>1</id> <id_client>2</id_client> <latitude>8.1</latitude> <longitude>9.1</longitude> <principal>true</principal> <region>sample string 12</region> </ClientAddress>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |