Skip to content

Commit 7218922

Browse files
committed
update labels to v2
1 parent 9c4921e commit 7218922

9 files changed

+121
-137
lines changed

pages/agents/label-add-to-an-agent.json

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
{
22
"id": 65,
3-
"user": {
4-
"title": null,
5-
"first_name": "Billy",
6-
"last_name": "Bob2",
7-
"email": "[email protected]",
8-
"mobile": "07123 456 789",
9-
"phone": "0208 123 4567",
10-
"street": "8 Albert Road",
11-
"state": null,
12-
"town": "London",
13-
"country": "United Kingdom (GB)",
14-
"postcode": "E80 1FA",
15-
"latitude": "51.5373258999999990",
16-
"longitude": "-0.1496343000000000",
17-
"date_created": "2020-02-18T16:13:04.193340Z",
18-
"timezone": "Europe/London"
19-
},
3+
"title": null,
4+
"first_name": "Billy",
5+
"last_name": "Bob2",
6+
"email": "[email protected]",
7+
"mobile": "07123 456 789",
8+
"phone": "0208 123 4567",
9+
"street": "8 Albert Road",
10+
"state": null,
11+
"town": "London",
12+
"country": "United Kingdom (GB)",
13+
"postcode": "E80 1FA",
14+
"latitude": "51.5373258999999990",
15+
"longitude": "-0.1496343000000000",
16+
"date_created": "2020-02-18T16:13:04.193340Z",
17+
"timezone": "Europe/London",
2018
"commission_rate": null,
2119
"clients": [],
2220
"last_updated": "2020-03-16T12:23:39.056867Z",

pages/agents/label-add-to-an-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
For more information on Labels, see the [Labels](#label-object) section. Bear in mind that if the Label has been set up to email admins when added to an object, adding a Label through the API will trigger the email.
44

5-
If you add a Label that has already been added to an object, the Label will not be added again and you will get a normal `200` response.
5+
If you add a Label that has already been added to an object, the Label will not be added again, and you will get a normal `200` response.

pages/agents/label-remove-from-an-agent.json

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
{
22
"id": 65,
3-
"user": {
4-
"title": null,
5-
"first_name": "Billy",
6-
"last_name": "Bob2",
7-
"email": "[email protected]",
8-
"mobile": "07123 456 789",
9-
"phone": "0208 123 4567",
10-
"street": "8 Albert Road",
11-
"state": null,
12-
"town": "London",
13-
"country": "United Kingdom (GB)",
14-
"postcode": "E80 1FA",
15-
"latitude": "51.5373258999999990",
16-
"longitude": "-0.1496343000000000",
17-
"date_created": "2020-02-18T16:13:04.193340Z",
18-
"timezone": "Europe/London"
19-
},
3+
"title": null,
4+
"first_name": "Billy",
5+
"last_name": "Bob2",
6+
"email": "[email protected]",
7+
"mobile": "07123 456 789",
8+
"phone": "0208 123 4567",
9+
"street": "8 Albert Road",
10+
"state": null,
11+
"town": "London",
12+
"country": "United Kingdom (GB)",
13+
"postcode": "E80 1FA",
14+
"latitude": "51.5373258999999990",
15+
"longitude": "-0.1496343000000000",
16+
"date_created": "2020-02-18T16:13:04.193340Z",
17+
"timezone": "Europe/London",
2018
"commission_rate": null,
2119
"clients": [],
2220
"last_updated": "2020-03-16T12:23:39.056867Z",

pages/clients/label-add-to-a-client.json

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
{
22
"id": 3,
3-
"user": {
4-
"title": "Mr",
5-
"first_name": "Jamie",
6-
"last_name": "Hoskins",
7-
"email": "[email protected]",
8-
"mobile": "0207 1128 953",
9-
"phone": null,
10-
"street": "12 Helmet Row",
11-
"state": null,
12-
"town": "London",
13-
"country": "United Kingdom (GB)",
14-
"postcode": "EC1V 3QJ",
15-
"latitude": "51.5249280000000027",
16-
"longitude": "-0.0944689940000000",
17-
"date_created": "2020-01-01T12:00:00.000000Z",
18-
"timezone": null
19-
},
3+
"title": "Mr",
4+
"first_name": "Jamie",
5+
"last_name": "Hoskins",
6+
"email": "[email protected]",
7+
"mobile": "0207 1128 953",
8+
"phone": null,
9+
"street": "12 Helmet Row",
10+
"state": null,
11+
"town": "London",
12+
"country": "United Kingdom (GB)",
13+
"postcode": "EC1V 3QJ",
14+
"latitude": "51.5249280000000027",
15+
"longitude": "-0.0944689940000000",
16+
"date_created": "2020-01-01T12:00:00.000000Z",
17+
"timezone": null,
2018
"status": "live",
2119
"is_taxable": true,
2220
"received_notifications": [

pages/clients/label-remove-from-a-client.json

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
{
22
"id": 65,
3-
"user": {
4-
"title": null,
5-
"first_name": "Billy",
6-
"last_name": "Bob2",
7-
"email": "[email protected]",
8-
"mobile": "07123 456 789",
9-
"phone": "0208 123 4567",
10-
"street": "8 Albert Road",
11-
"state": null,
12-
"town": "London",
13-
"country": "United Kingdom (GB)",
14-
"postcode": "E80 1FA",
15-
"latitude": "51.5373258999999990",
16-
"longitude": "-0.1496343000000000",
17-
"date_created": "2020-02-18T16:13:04.193340Z",
18-
"timezone": "Europe/London"
19-
},
3+
"title": null,
4+
"first_name": "Billy",
5+
"last_name": "Bob2",
6+
"email": "[email protected]",
7+
"mobile": "07123 456 789",
8+
"phone": "0208 123 4567",
9+
"street": "8 Albert Road",
10+
"state": null,
11+
"town": "London",
12+
"country": "United Kingdom (GB)",
13+
"postcode": "E80 1FA",
14+
"latitude": "51.5373258999999990",
15+
"longitude": "-0.1496343000000000",
16+
"date_created": "2020-02-18T16:13:04.193340Z",
17+
"timezone": "Europe/London"
2018
"commission_rate": null,
2119
"clients": [],
2220
"last_updated": "2020-03-16T12:23:39.056867Z",

pages/contractors/label-add-to-a-contractor.json

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
{
22
"id": 3,
3-
"user": {
4-
"title": "Mr",
5-
"first_name": "Jamie",
6-
"last_name": "Hoskins",
7-
"email": "[email protected]",
8-
"mobile": "0207 1128 953",
9-
"phone": null,
10-
"street": "12 Helmet Row",
11-
"state": null,
12-
"town": "London",
13-
"country": "United Kingdom (GB)",
14-
"postcode": "EC1V 3QJ",
15-
"latitude": "51.5249280000000027",
16-
"longitude": "-0.0944689940000000",
17-
"date_created": "2020-01-01T12:00:00.000000Z",
18-
"timezone": null
19-
},
3+
"title": "Mr",
4+
"first_name": "Jamie",
5+
"last_name": "Hoskins",
6+
"email": "[email protected]",
7+
"mobile": "0207 1128 953",
8+
"phone": null,
9+
"street": "12 Helmet Row",
10+
"state": null,
11+
"town": "London",
12+
"country": "United Kingdom (GB)",
13+
"postcode": "EC1V 3QJ",
14+
"latitude": "51.5249280000000027",
15+
"longitude": "-0.0944689940000000",
16+
"date_created": "2020-01-01T12:00:00.000000Z",
17+
"timezone": null,
2018
"status": "live",
2119
"is_taxable": true,
2220
"received_notifications": [

pages/contractors/label-remove-from-a-contractor.json

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
{
22
"id": 3,
3-
"user": {
4-
"title": "Mr",
5-
"first_name": "Jamie",
6-
"last_name": "Hoskins",
7-
"email": "[email protected]",
8-
"mobile": "0207 1128 953",
9-
"phone": null,
10-
"street": "12 Helmet Row",
11-
"state": null,
12-
"town": "London",
13-
"country": "United Kingdom (GB)",
14-
"postcode": "EC1V 3QJ",
15-
"latitude": "51.5249280000000027",
16-
"longitude": "-0.0944689940000000",
17-
"date_created": "2020-01-01T12:00:00.000000Z",
18-
"timezone": null
19-
},
3+
"title": "Mr",
4+
"first_name": "Jamie",
5+
"last_name": "Hoskins",
6+
"email": "[email protected]",
7+
"mobile": "0207 1128 953",
8+
"phone": null,
9+
"street": "12 Helmet Row",
10+
"state": null,
11+
"town": "London",
12+
"country": "United Kingdom (GB)",
13+
"postcode": "EC1V 3QJ",
14+
"latitude": "51.5249280000000027",
15+
"longitude": "-0.0944689940000000",
16+
"date_created": "2020-01-01T12:00:00.000000Z",
17+
"timezone": null,
2018
"status": "live",
2119
"is_taxable": true,
2220
"received_notifications": [

pages/recipients/label-add-to-a-recipient.json

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
{
22
"id": 4,
3-
"user": {
4-
"title": null,
5-
"first_name": "Arthur",
6-
"last_name": "Hoskins",
7-
"email": "[email protected]",
8-
"mobile": null,
9-
"phone": null,
10-
"street": "12 Helmet Row",
11-
"state": null,
12-
"town": "London",
13-
"country": "United Kingdom (GB)",
14-
"postcode": "EC1V 3QJ",
15-
"latitude": "51.5249280000000027",
16-
"longitude": "-0.0944689940000000",
17-
"date_created": "2019-11-24T16:11:48.312507Z",
18-
"timezone": null
19-
},
3+
"title": null,
4+
"first_name": "Arthur",
5+
"last_name": "Hoskins",
6+
"email": "[email protected]",
7+
"mobile": null,
8+
"phone": null,
9+
"street": "12 Helmet Row",
10+
"state": null,
11+
"town": "London",
12+
"country": "United Kingdom (GB)",
13+
"postcode": "EC1V 3QJ",
14+
"latitude": "51.5249280000000027",
15+
"longitude": "-0.0944689940000000",
16+
"date_created": "2019-11-24T16:11:48.312507Z",
17+
"timezone": null,
2018
"default_rate": null,
2119
"paying_client": {
2220
"id": 3,

pages/recipients/label-remove-from-a-recipient.json

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
{
22
"id": 4,
3-
"user": {
4-
"title": null,
5-
"first_name": "Arthur",
6-
"last_name": "Hoskins",
7-
"email": "[email protected]",
8-
"mobile": null,
9-
"phone": null,
10-
"street": "12 Helmet Row",
11-
"state": null,
12-
"town": "London",
13-
"country": "United Kingdom (GB)",
14-
"postcode": "EC1V 3QJ",
15-
"latitude": "51.5249280000000027",
16-
"longitude": "-0.0944689940000000",
17-
"date_created": "2019-11-24T16:11:48.312507Z",
18-
"timezone": null
19-
},
3+
"title": null,
4+
"first_name": "Arthur",
5+
"last_name": "Hoskins",
6+
"email": "[email protected]",
7+
"mobile": null,
8+
"phone": null,
9+
"street": "12 Helmet Row",
10+
"state": null,
11+
"town": "London",
12+
"country": "United Kingdom (GB)",
13+
"postcode": "EC1V 3QJ",
14+
"latitude": "51.5249280000000027",
15+
"longitude": "-0.0944689940000000",
16+
"date_created": "2019-11-24T16:11:48.312507Z",
17+
"timezone": null,
2018
"default_rate": null,
2119
"paying_client": {
2220
"id": 3,

0 commit comments

Comments
 (0)