Get an account parameter

Content

Resource URL

https://apps.ticketmatic.com/api/1/{accountname}/settings/accountparameters/{name}

Example

Request

1use Ticketmatic\Endpoints\Settings\Accountparameters;
2
3$result = Accountparameters::get($client, $name);

Response

1object(\Ticketmatic\Model\AccountParameter) (2) {
2  ["key"]=>
3  string(11) "accountname"
4  ["value"]=>
5  string(11) "Royal Opera"
6}
7

Request

1import (
2    "github.com/ticketmatic/tm-go/ticketmatic"
3    "github.com/ticketmatic/tm-go/ticketmatic/settings/accountparameters"
4)
5
6result, err := accountparameters.Get(client, name)

Response

1result := &ticketmatic.AccountParameter{
2    Key: "accountname",
3    Value: "Royal Opera",
4}

Request

1GET /api/1/{accountname}/settings/accountparameters/{name} HTTP/1.1

Response

1HTTP/1.1 200 OK
2Content-Type: application/json
3
4{
5    "key": "accountname",
6    "value": "Royal Opera"
7}

Result fields

FieldDescription
key
string

The name of the account parameter

Example value:"accountname"
value

Value

Example value:"Royal Opera"

Type reference: AccountParameter