Contain all the operations related to custom information.
Request example
1
2
3
4
|
curl -X GET https://dealers.masstack.com/v1/custom-information \
-H "Accept: application/json"
|
Custom schema example
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[
{
"id": 0,
"values": "string",
"userCreated": "string",
"userUpdated": "string",
"creationDate": "2020-05-21T12:00:00Z",
"updateDate": "2020-05-21T12:00:00Z",
"fieldName": "string",
"fieldDescription": "string",
"fieldType": "string"
}
]
|
Name |
Type |
Required |
Description |
id |
integer |
false |
none |
values |
string |
false |
none |
userCreated |
string |
false |
none |
userUpdated |
string |
false |
none |
creationDate |
string |
false |
none |
updateDate |
string |
false |
none |
401 - JsonObject
Custom schema example
1
2
3
4
5
6
|
{
"code": "0003",
"status": "UNAUTHORIZED",
"message": "Unauthorized",
"detailMsg": "Audience not found to access URI /example-uri"
}
|
Name |
Type |
Required |
Description |
id |
integer |
false |
none |
values |
string |
false |
none |
userCreated |
string |
false |
none |
userUpdated |
string |
false |
none |
creationDate |
string |
false |
none |
updateDate |
string |
false |
none |
Custom schema example
1
2
3
4
5
6
7
8
9
10
|
{
"errors": [
{
"code": "NOT_FOUND",
"title": "Error message",
"ref": "some_ref",
"details": "Detailed error message"
}
]
}
|
Name |
Type |
Required |
Description |
restErrors |
[ApiError] |
false |
none |
Request body - JsonObject
1
2
3
4
5
|
{
"fieldName": "string",
"fieldDescription": "string",
"fieldType": "string"
}
|
Request example
1
2
3
4
5
6
7
8
9
10
|
curl -X POST https://dealers.masstack.com/v1/custom-information \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--data-raw "{
'fieldName': 'string',
'fieldDescription': 'string',
'fieldType': 'string'
}"
|
201 - JsonObject
Custom schema example
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[
{
"id": 0,
"values": "string",
"userCreated": "string",
"userUpdated": "string",
"creationDate": "2020-05-21T12:00:00Z",
"updateDate": "2020-05-21T12:00:00Z",
"fieldName": "string",
"fieldDescription": "string",
"fieldType": "string"
}
]
|
Name |
Type |
Required |
Description |
id |
integer |
false |
none |
values |
string |
false |
none |
userCreated |
string |
false |
none |
userUpdated |
string |
false |
none |
creationDate |
string |
false |
none |
updateDate |
string |
false |
none |
Custom schema example
1
2
3
4
5
6
7
8
9
10
|
{
"errors": [
{
"code": "BAD_REQUEST",
"title": "Error message",
"ref": "some_ref",
"details": "Detailed error message"
}
]
}
|
Name |
Type |
Required |
Description |
restErrors |
[ApiError] |
false |
none |
401 - JsonObject
Custom schema example
1
2
3
4
5
6
|
{
"code": "0003",
"status": "UNAUTHORIZED",
"message": "Unauthorized",
"detailMsg": "Audience not found to access URI /example-uri"
}
|
Name |
Type |
Required |
Description |
restErrors |
[ApiError] |
false |
none |
Name |
In |
Type |
Required |
Description |
custom_info_id |
path |
integer |
true |
‘none’ |
body |
body |
CustomInfoRequest |
false |
‘none’ |
Request body - JsonObject
1
2
3
4
5
|
{
"fieldName": "string",
"fieldDescription": "string",
"fieldType": "string"
}
|
Request example
1
2
3
4
5
6
7
8
9
10
|
curl -X PATCH https://dealers.masstack.com/v1/custom-information/{custom_info_id} \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--data-raw "{
'fieldName': 'string',
'fieldDescription': 'string',
'fieldType': 'string'
}"
|
Name |
In |
Type |
Required |
Description |
custom_info_id |
path |
integer |
true |
‘none’ |
Request example
1
2
3
4
|
curl -X DELETE https://dealers.masstack.com/v1/custom-information/{custom_info_id} \
-H "Accept: application/json"
|