GET api/account/get-account?name={name}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
Required |
Body Parameters
None.
Response Information
Resource Description
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. |
Response 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
]
}