Get info on a flow

Content

Resource URL

https://apps.ticketmatic.com/api/1/{accountname}/settings/system/ticketsalesflows/flowinfo/{token}

Example

Request

1use Ticketmatic\Endpoints\Settings\System\Ticketsalesflows;
2
3$result = Ticketsalesflows::flowinfo($client, $token);

Response

 1object(\Ticketmatic\Model\Flowinfo) (3) {
 2  ["contactid"]=>
 3  int(0)
 4  ["order"]=>
 5  object(\Ticketmatic\Model\Order) (2) {
 6    ["saleschannelid"]=>
 7    int(0)
 8  }
 9  ["reason"]=>
10  string(14) "ordercompleted"
11}

Request

1import (
2    "github.com/ticketmatic/tm-go/ticketmatic"
3    "github.com/ticketmatic/tm-go/ticketmatic/settings/system/ticketsalesflows"
4)
5
6result, err := ticketsalesflows.Flowinfo(client, token)

Response

1result := &ticketmatic.Flowinfo{
2    Contactid: 1,
3    Order: &ticketmatic.Order{
4        Saleschannelid: 1,
5    },
6    Reason: "ordercompleted",
7}

Request

1GET /api/1/{accountname}/settings/system/ticketsalesflows/flowinfo/{token} HTTP/1.1

Response

 1HTTP/1.1 200 OK
 2Content-Type: application/json
 3
 4{
 5    "contactid": 1,
 6    "order": {
 7        "saleschannelid": 1
 8    },
 9    "reason": "ordercompleted"
10}

Result fields

FieldDescription
contactid
int

Contact id

Example value:1
order

Order active in the flow

Example value:{ "saleschannelid": 1 }
reason
string

Reason the user was redirected

Example value:"ordercompleted"

Type reference: Flowinfo