POST v1/bunits/{bunitId}/addresses
Create an address.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bunitId |
ID of the business unit of the address | integer |
Required |
Body Parameters
the address object
AddressName | Description | Type | Additional information |
---|---|---|---|
Name |
The name of the location of the address |
string |
None. |
Street |
Streetname for address |
string |
None. |
Street2 |
Optional second street for address making it possible to add more information |
string |
None. |
ZipCode |
ZIP code of address |
string |
None. |
City |
City of the address |
string |
None. |
ContactPerson |
The contact person at the given address |
string |
None. |
Phone |
A contact phone number. |
string |
None. |
Emails |
A contact email address. |
Collection of string |
None. |
Type |
Type of address. Type can be billing, main office or other. The billing address will be used in billing information and is default address. |
AddressType |
Required. |
Country |
Country of address |
Country |
Required. |
Id |
A unique ID for the object. |
integer |
Read-only. |
CreatedDate |
Time and date the object was created. |
date |
Read-only. |
ArchivedDate |
Time and date the object was or is going to be archived. Unarchived objects have no value in ArchivedDate |
date |
Read-only. |
Operations |
Collection of OperationResult |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
Response Information
Resource Description
the address object with information created
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.