Get the PDF for a document for the order

Content

Resource URL

https://apps.ticketmatic.com/api/1/{accountname}/orders/{id}/documents/{documentid}/{language}

Example

Request

1use Ticketmatic\Endpoints\Orders;
2
3$result = Orders::getdocument($client, $id, $documentid, $language);

Response

1object(\Ticketmatic\Model\Url) (1) {
2  ["url"]=>
3  string(26) "http://www.ticketmatic.com"
4}

Request

1import (
2    "github.com/ticketmatic/tm-go/ticketmatic"
3    "github.com/ticketmatic/tm-go/ticketmatic/orders"
4)
5
6result, err := orders.Getdocument(client, id, documentid, language)

Response

1result := &ticketmatic.Url{
2    Url: "http://www.ticketmatic.com",
3}

Request

1GET /api/1/{accountname}/orders/{id}/documents/{documentid}/{language} HTTP/1.1

Response

1HTTP/1.1 200 OK
2Content-Type: application/json
3
4{
5    "url": "http://www.ticketmatic.com"
6}

Result fields

FieldDescription
url
string

Url.

Example value:"http://www.ticketmatic.com"

Type reference: Url