Get a remark

Content

Resource URL

https://apps.ticketmatic.com/api/1/{accountname}/contacts/{id}/remarks/{remarkid}

Description

Gets a specific remark for this contact

Example

Request

1use Ticketmatic\Endpoints\Contacts;
2
3$result = Contacts::getremark($client, $id, $remarkid);

Response

1object(\Ticketmatic\Model\ContactRemark) (3) {
2  ["id"]=>
3  int(0)
4  ["content"]=>
5  string(34) "This customer does not pay on time"
6  ["pinned"]=>
7  bool(true)
8}

Request

1import (
2    "github.com/ticketmatic/tm-go/ticketmatic"
3    "github.com/ticketmatic/tm-go/ticketmatic/contacts"
4)
5
6result, err := contacts.Getremark(client, id, remarkid)

Response

1result := &ticketmatic.ContactRemark{
2    Id: 123423,
3    Content: "This customer does not pay on time",
4    Pinned: true,
5}

Request

1GET /api/1/{accountname}/contacts/{id}/remarks/{remarkid} HTTP/1.1

Response

1HTTP/1.1 200 OK
2Content-Type: application/json
3
4{
5    "id": 123423,
6    "content": "This customer does not pay on time",
7    "pinned": true
8}

Result fields

FieldDescription
id
int

Remark ID

Example value:123423
content
string

The message

Example value:"This customer does not pay on time"
pinned
bool

Is this relevant for sales?

Example value:true

Type reference: ContactRemark