Address
JSON Format
Name | Type | Read-only | Mandatory | Comment |
|---|---|---|---|---|
| id | integer | yes | no | |
| line1 | string | no | yes | |
| line2 | string | no | no | |
| city | string | no | yes | |
| state | string | no | yes | |
| postalCode | string | no | yes | |
| country | string | no | yes | |
| addressType | string | no | yes | One of: Office, Home |
URIs
Uri | Method | Request Data | Success Response Code | Description |
|---|---|---|---|---|
| /api/addresses/{id} | GET | 200 | Returns one Address | |
| /api/addresses | POST | Address | 201 | Create new Address |
| /api/addresses/{id} | PUT | Address | 204 | Update an existing Address |
| /api/addresses/{id} | DELETE | 200 | Delete an Address |
