Skip to content

Commit 701e040

Browse files
committed
updated role v2 objects to reflect new skills objects
1 parent 222457d commit 701e040

File tree

4 files changed

+178
-34
lines changed

4 files changed

+178
-34
lines changed

pages/contractors/contractor-object-v2.json

Lines changed: 44 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,51 @@
2020
"qualifications": [],
2121
"skills": [
2222
{
23-
"id": 1436,
24-
"subject": "American Studies",
25-
"qual_level": "Key Stage 5"
26-
},
23+
"id": 145,
24+
"contractor": {
25+
"id": 568433,
26+
"first_name": "James",
27+
"last_name": "Higgins",
28+
"email": "[email protected]",
29+
"url": "https://secure.tutorcruncher.com/api/568433/"
30+
},
31+
"subject": {
32+
"id": 98,
33+
"name": "General Maths & Science",
34+
"category_id": 11,
35+
"category_name": "Other",
36+
"custom_to_branch": null
37+
},
38+
"qual_level": {
39+
"id": 3,
40+
"name": "Common Entrance",
41+
"ranking": 12.0,
42+
"custom_to_branch": null
43+
}
44+
},
2745
{
28-
"id": 4082,
29-
"subject": "American Studies",
30-
"qual_level": "A Level"
31-
}
46+
"id": 141,
47+
"contractor": {
48+
"id": 568433,
49+
"first_name": "James",
50+
"last_name": "Higgins",
51+
"email": "[email protected]",
52+
"url": "https://secure.tutorcruncher.com/api/568433/"
53+
},
54+
"subject": {
55+
"id": 135,
56+
"name": "Geology",
57+
"category_id": 14,
58+
"category_name": "Science",
59+
"custom_to_branch": null
60+
},
61+
"qual_level": {
62+
"id": 5,
63+
"name": "GCSE",
64+
"ranking": 14.0,
65+
"custom_to_branch": null
66+
}
67+
}
3268
],
3369
"institutions": [],
3470
"receive_service_notifications": true,

pages/contractors/create-a-contractor.json

Lines changed: 45 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,52 @@
1919
"default_rate": null,
2020
"qualifications": [],
2121
"skills": [
22+
{
23+
"id": 145,
24+
"contractor": {
25+
"id": 568433,
26+
"first_name": "James",
27+
"last_name": "Higgins",
28+
"email": "[email protected]",
29+
"url": "https://secure.tutorcruncher.com/api/568433/"
30+
},
31+
"subject": {
32+
"id": 98,
33+
"name": "General Maths & Science",
34+
"category_id": 11,
35+
"category_name": "Other",
36+
"custom_to_branch": null
37+
},
38+
"qual_level": {
39+
"id": 3,
40+
"name": "Common Entrance",
41+
"ranking": 12.0,
42+
"custom_to_branch": null
43+
}
44+
},
2245
{
23-
"id": 1436,
24-
"subject": "American Studies",
25-
"qual_level": "Key Stage 5"
26-
},
27-
{
28-
"id": 4082,
29-
"subject": "American Studies",
30-
"qual_level": "A Level"
31-
}
46+
"id": 141,
47+
"contractor": {
48+
"id": 568433,
49+
"first_name": "James",
50+
"last_name": "Higgins",
51+
"email": "[email protected]",
52+
"url": "https://secure.tutorcruncher.com/api/568433/"
53+
},
54+
"subject": {
55+
"id": 135,
56+
"name": "Geology",
57+
"category_id": 14,
58+
"category_name": "Science",
59+
"custom_to_branch": null
60+
},
61+
"qual_level": {
62+
"id": 5,
63+
"name": "GCSE",
64+
"ranking": 14.0,
65+
"custom_to_branch": null
66+
}
67+
}
3268
],
3369
"institutions": [],
3470
"receive_service_notifications": true,

pages/contractors/get-a-contractor.json

Lines changed: 45 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,52 @@
1919
"default_rate": null,
2020
"qualifications": [],
2121
"skills": [
22+
{
23+
"id": 145,
24+
"contractor": {
25+
"id": 568433,
26+
"first_name": "James",
27+
"last_name": "Higgins",
28+
"email": "[email protected]",
29+
"url": "https://secure.tutorcruncher.com/api/568433/"
30+
},
31+
"subject": {
32+
"id": 98,
33+
"name": "General Maths & Science",
34+
"category_id": 11,
35+
"category_name": "Other",
36+
"custom_to_branch": null
37+
},
38+
"qual_level": {
39+
"id": 3,
40+
"name": "Common Entrance",
41+
"ranking": 12.0,
42+
"custom_to_branch": null
43+
}
44+
},
2245
{
23-
"id": 1436,
24-
"subject": "American Studies",
25-
"qual_level": "Key Stage 5"
26-
},
27-
{
28-
"id": 4082,
29-
"subject": "American Studies",
30-
"qual_level": "A Level"
31-
}
46+
"id": 141,
47+
"contractor": {
48+
"id": 568433,
49+
"first_name": "James",
50+
"last_name": "Higgins",
51+
"email": "[email protected]",
52+
"url": "https://secure.tutorcruncher.com/api/568433/"
53+
},
54+
"subject": {
55+
"id": 135,
56+
"name": "Geology",
57+
"category_id": 14,
58+
"category_name": "Science",
59+
"custom_to_branch": null
60+
},
61+
"qual_level": {
62+
"id": 5,
63+
"name": "GCSE",
64+
"ranking": 14.0,
65+
"custom_to_branch": null
66+
}
67+
}
3268
],
3369
"institutions": [],
3470
"receive_service_notifications": true,

pages/contractors/update-a-contractor.json

Lines changed: 44 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,51 @@
2020
"qualifications": [],
2121
"skills": [
2222
{
23-
"id": 1436,
24-
"subject": "American Studies",
25-
"qual_level": "Key Stage 5"
26-
},
23+
"id": 145,
24+
"contractor": {
25+
"id": 568433,
26+
"first_name": "James",
27+
"last_name": "Higgins",
28+
"email": "[email protected]",
29+
"url": "https://secure.tutorcruncher.com/api/568433/"
30+
},
31+
"subject": {
32+
"id": 98,
33+
"name": "General Maths & Science",
34+
"category_id": 11,
35+
"category_name": "Other",
36+
"custom_to_branch": null
37+
},
38+
"qual_level": {
39+
"id": 3,
40+
"name": "Common Entrance",
41+
"ranking": 12.0,
42+
"custom_to_branch": null
43+
}
44+
},
2745
{
28-
"id": 4082,
29-
"subject": "American Studies",
30-
"qual_level": "A Level"
31-
}
46+
"id": 141,
47+
"contractor": {
48+
"id": 568433,
49+
"first_name": "James",
50+
"last_name": "Higgins",
51+
"email": "[email protected]",
52+
"url": "https://secure.tutorcruncher.com/api/568433/"
53+
},
54+
"subject": {
55+
"id": 135,
56+
"name": "Geology",
57+
"category_id": 14,
58+
"category_name": "Science",
59+
"custom_to_branch": null
60+
},
61+
"qual_level": {
62+
"id": 5,
63+
"name": "GCSE",
64+
"ranking": 14.0,
65+
"custom_to_branch": null
66+
}
67+
}
3268
],
3369
"institutions": [],
3470
"receive_service_notifications": true,

0 commit comments

Comments
 (0)