POST api/account/create-account
Request Information
URI Parameters
None.
Body Parameters
TicketHubWebApiAccountDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| TicketHubWebApiAccountId | integer |
None. |
|
| Name | string |
None. |
|
| TicketHubWebApiKey | string |
None. |
|
| AccountId | integer |
None. |
|
| ResellerId | integer |
None. |
|
| SalesChannelId | integer |
None. |
|
| AllowedToSetOrderReference | boolean |
None. |
|
| AllowedToSetUnitPrice | boolean |
None. |
|
| AllowedToCancel | boolean |
None. |
|
| AllowedToSendSellingPrice | boolean |
None. |
|
| TicketType | ResellerSalesOrderResultTypes |
None. |
|
| AccountType | TicketHubWebApiAccountTypes |
None. |
|
| IsNitroAccount | boolean |
None. |
|
| RoleId | integer |
None. |
|
| AllowedTicketCategoryIds | Collection of integer |
None. |
|
| AllowedProductIds | Collection of integer |
None. |
|
| AllowedPackages | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ticketHubWebApiAccountId": 1,
"name": "sample string 2",
"ticketHubWebApiKey": "sample string 3",
"accountId": 1,
"resellerId": 1,
"salesChannelId": 1,
"allowedToSetOrderReference": true,
"allowedToSetUnitPrice": true,
"allowedToCancel": true,
"allowedToSendSellingPrice": true,
"ticketType": 0,
"accountType": 1,
"isNitroAccount": true,
"roleId": 9,
"allowedTicketCategoryIds": [
1,
2
],
"allowedProductIds": [
1,
2
],
"allowedPackages": [
1,
2
]
}
Response Information
Resource Description
TicketHubWebApiAccount| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| AccountData | TicketHubWebApiAccountData |
None. |
|
| Claims | Collection of Claim |
None. |
|
| AuthenticationType | string |
None. |
|
| IsAuthenticated | boolean |
None. |
|
| Actor | ClaimsIdentity |
None. |
|
| BootstrapContext | Object |
None. |
|
| Label | string |
None. |
|
| NameClaimType | string |
None. |
|
| RoleClaimType | string |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.