| Required role: | Business |
| GET | /business/get_billing |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BusinessId | query | long | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Entity | form | BillingEntity | No | |
| ContactPerson | form | BillingContact | No | |
| EmailForBillingNotifications | form | string | No | |
| CustomReference | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Name | form | string | Yes | |
| OrganizationNumber | form | string | Yes | |
| PostalAddress | form | string | Yes | |
| PostalCode | form | string | Yes | |
| City | form | string | Yes | |
| CountryCode | form | string | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Person | form | string | Yes | |
| Phone | form | string | No | |
| form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /business/get_billing HTTP/1.1 Host: business-api.brovs.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"entity":{"name":"String","organizationNumber":"String","postalAddress":"String","postalCode":"String","city":"String","countryCode":"String"},"contactPerson":{"person":"String","phone":"String","email":"String"},"emailForBillingNotifications":"String","customReference":"String"}