Account Addresses
Create Account Address
This endpoint allows you to create an Account Address based on JSON input.
You will only be able to create an Account Address after first providing the Session Key. To know how you can obtain the Session Key, go to Authentication.
HEADERS
| Parameter | Value | Description |
|---|---|---|
| Content-Type | application/json | Language in which all request and response bodies are encoded |
| Accept | */* | Any data of whatever mime type is accepted |
| X-Session-Key | AUTH_TOKEN | This field must be completed with the token obtained at the authentication |
REQUEST
| Attribute | Type | Description |
|---|---|---|
| accountId (Required) | Integer | Account to which the address is linked to |
| address1 | String | Account's first address |
| address2 | String | Account's second address |
| city | String | City name |
| countryId | Integer | Id of the Country that the address is referred to (see Countries resource) |
| description | String | A description added to the Account Address |
| postcode | String | Postcode of the address |
| region | String | Region/State name |
| dateCreated | String | Date and time when the Account Address was created |
| dateDeleted | String | Date and time when the Account Address was deleted |
| dateUpdated | String | Date and time when the Account Address was last updated |
| deleted | Boolean | If true, the Account Address has been deleted and archived |
| id | Integer | Unique identifier for the Account Address in ForceManager |
| salesRepIdCreated | Integer | Unique identifier of the user who created the Account Address |
| salesRepIdDeleted | Integer | Unique identifier of the user who deleted the Account Address |
| salesRepIdUpdated | Integer | Unique identifier of the user who last updated the Account Address |
RESPONSE
Returns a JSON with information about the Accout Address just created.
| Attribute | Type |
|---|---|
| Id | Id assigned to the new Account Address |
| Message | The operation status |
RESPONSE CODES
| Status | Description |
|---|---|
| 200 OK | Shows if operation succeeded |
| 400 Bad Request | Shows when an invalid request or the requested service is not available |
post/accountAddresses
Request
- Base URL: https://api.forcemanager.com/api/v4
- URL: https://api.forcemanager.com/api/v4/accountAddresses
- Auth: API key in header X-Session-Key
Headers
Acceptstring
Request body
Response
Create Account Address
Changes
No recorded changes to this operation across all 1 revision of this API.