| Requires any of the roles: | bookingsupplier-administrator-write, superadmin |
| GET | /voss/targetGroups | Get all Voss target groups | Returns every target group in the Voss tenant (all pages). |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TotalCount | form | int | No | |
| Items | form | List<TargetGroupResult> | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | Guid | No | |
| Name | form | string | Yes | |
| IsDefault | form | bool | No | |
| ExternalId | form | string | Yes | |
| VarConfiguration | form | TargetGroupConfigurationResult | Yes | |
| Tags | form | List<TargetGroupTagDto> | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | Guid | No | |
| OrganizationNumberRequired | form | bool | No | |
| OrganizationNumberUnique | form | bool | No | |
| CustomerNumberRequired | form | bool | No | |
| CustomerAddressRequired | form | bool | No | |
| ContactPersonRequired | form | bool | No | |
| ExpiryDateRequired | form | bool | No | |
| ExcludeCustomerFromInvoiceFile | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Type | form | TypeEnum | No | |
| Tag | form | string | Yes |
| Exclusivity |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /voss/targetGroups HTTP/1.1 Host: testapi.bokamera.se Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"TotalCount":0,"Items":[{}]}