POST api/Addresses
Request Information
URI Parameters
None.
Body Parameters
PatientAddressPostDto| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientId | integer |
None. |
|
| AddressId | integer |
None. |
|
| AddressTypeId | integer |
None. |
|
| Line | string |
String length: inclusive between 0 and 100 |
|
| Line2 | string |
String length: inclusive between 0 and 100 |
|
| City | string |
String length: inclusive between 0 and 50 |
|
| State | string |
String length: inclusive between 0 and 2 |
|
| Zip | string |
String length: inclusive between 0 and 5 |
|
| Zip4 | string |
String length: inclusive between 0 and 4 |
|
| IsPreferred | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientId": 1,
"AddressId": 2,
"AddressTypeId": 3,
"Line": "sample string 4",
"Line2": "sample string 5",
"City": "sample string 6",
"State": "sample string 7",
"Zip": "sample string 8",
"Zip4": "sample string 9",
"IsPreferred": true
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Result | Object |
None. |
|
| StatusCode | integer |
None. |
|
| StatusGroup | string |
None. |
|
| Details | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.