POST api/lawfirm/address
Request Information
URI Parameters
None.
Body Parameters
LawfirmClientAddressModel| Name | Description | Type | Additional information |
|---|---|---|---|
| address_type_id | LawfirmAddressType |
Required |
|
| address_type | string |
None. |
|
| id | integer |
None. |
|
| address1 | string |
None. |
|
| address2 | string |
None. |
|
| city | string |
None. |
|
| state | string |
None. |
|
| zip | string |
None. |
|
| phone | string |
None. |
|
| fax | string |
None. |
|
| country | string |
None. |
|
| contact_name | string |
None. |
|
| contact_number | string |
None. |
|
| string |
None. |
Request Formats
application/json, text/json
Sample:
{
"address_type_id": 1,
"address_type": "sample string 1",
"id": 1,
"address1": "sample string 2",
"address2": "sample string 3",
"city": "sample string 4",
"state": "sample string 5",
"zip": "sample string 6",
"phone": "sample string 7",
"fax": "sample string 8",
"country": "sample string 9",
"contact_name": "sample string 10",
"contact_number": "sample string 11",
"email": "sample string 12"
}
text/html
Sample:
{"address_type_id":1,"address_type":"sample string 1","id":1,"address1":"sample string 2","address2":"sample string 3","city":"sample string 4","state":"sample string 5","zip":"sample string 6","phone":"sample string 7","fax":"sample string 8","country":"sample string 9","contact_name":"sample string 10","contact_number":"sample string 11","email":"sample string 12"}
application/xml, text/xml
Sample:
<LawfirmClientAddressModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models"> <address1>sample string 2</address1> <address2>sample string 3</address2> <city>sample string 4</city> <contact_name>sample string 10</contact_name> <contact_number>sample string 11</contact_number> <country>sample string 9</country> <email>sample string 12</email> <fax>sample string 8</fax> <id>1</id> <phone>sample string 7</phone> <state>sample string 5</state> <zip>sample string 6</zip> <address_type>sample string 1</address_type> <address_type_id>BRL</address_type_id> </LawfirmClientAddressModel>
multipart/form-data
Sample:
<LawfirmClientAddressModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models"><address1>sample string 2</address1><address2>sample string 3</address2><city>sample string 4</city><contact_name>sample string 10</contact_name><contact_number>sample string 11</contact_number><country>sample string 9</country><email>sample string 12</email><fax>sample string 8</fax><id>1</id><phone>sample string 7</phone><state>sample string 5</state><zip>sample string 6</zip><address_type>sample string 1</address_type><address_type_id>BRL</address_type_id></LawfirmClientAddressModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |