-
Notifications
You must be signed in to change notification settings - Fork 5
/
Member_subusers_response.dtd
75 lines (75 loc) · 1.94 KB
/
Member_subusers_response.dtd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://github.com/route4me/route4me-json-schemas/blob/master/Member_subusers_response.dtd",
"title": "Member Get Subusers Response",
"type": "object",
"description": "Response JSON schema for the retrieved member's object from the endpoint /api/member/view_users.php",
"properties": {
"member_id": {
"type": "string",
"title": "Member ID",
"description": "An unique ID of the member"
},
"member_first_name": {
"type": "string",
"title": "Member first name",
"description": "A first name of the member"
},
"member_last_name": {
"type": "string",
"title": "Member last name",
"description": "A last name of the member"
},
"member_email": {
"type": "string",
"title": "Member email",
"description": "An email of the member"
},
"account_type_id": {
"type": "string",
"title": "Account type ID",
"description": "Account type ID of the member"
},
"member_type": {
"type": "string",
"enum": [
"PRIMARY_ACCOUNT",
"SUB_ACCOUNT_ADMIN",
"SUB_ACCOUNT_REGIONAL_MANAGER",
"SUB_ACCOUNT_DISPATCHER",
"SUB_ACCOUNT_PLANNER",
"SUB_ACCOUNT_DRIVER",
"SUB_ACCOUNT_ANALYST",
"SUB_ACCOUNT_VENDOR",
"SUB_ACCOUNT_CUSTOMER_SERVICE"
],
"title": "Member type",
"description": "A type of the member"
},
"phone_number": {
"type": "string",
"title": "Phone number",
"description": "A phone number of the member"
},
"readonly_user": {
"type": "string",
"title": "Readonly user",
"description": "True if value is '1'"
},
"show_superuser_addresses": {
"type": "boolean",
"title": "Show superuser addresses",
"description": "Show superuser addresses"
},
"api_key": {
"type": "string",
"title": "API key",
"description": "Api key of the user"
},
"hashed_member_id": {
"type": "string",
"title": "Hashed member ID string",
"description": "Hashed member ID string"
}
}
}