Aircampi Approval is an Approval Workflow Engine that provides capabilities for the creation, execution, and management of approval processes.
Quick Links:
This section contains the information about api references for Aircampi Approval.
Group of endpoints:
Lookups are lists of values in applications. You define a list of values as a lookup consisting of a set of lookup values. Lookup and Lookup values are translated name and description. End users see the list of translated names and descriptions as the available values for an object.
Get lookups
Retrieve filtered list of lookups.
Authorizations:
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
q | string This query parameter defines the where clause. Example: ?q=(id=497f6eca-6276-4993-bfeb-53cbbbba6f08) |
sort | string This parameter sort a resource collection based on the specified attributes. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. For example, ?sort=created_at asc,updated_at desc |
offset | integer >= 0 Default: 0 Used to define the starting position of the item collection. If offset exceeds the item count then no items are returned. |
limit | integer >= 1 Default: 10 This parameter restricts the number of items returned inside the collection. If the limit exceeds the item count then the server will only return the available items. |
total_count | boolean Default: false The item collection representation will include the "estimated row count" when "?total_count=true", otherwise the total_count is not included. |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Responses
Response samples
- 200
- 400
- 401
- 403
- 405
- 429
- 500
- 501
- 503
{- "total_count": 0,
- "count": 0,
- "has_more": true,
- "limit": 0,
- "offset": 10,
- "items": [
- {
- "code": "countries",
- "name": "List of Countries",
- "description": "List of Countries",
- "metadata": {
- "cascading": {
- "enabled": true,
- "lookup": "continents"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "type": "number",
- "required": false,
- "unique": true,
- "default_value": 0,
- "lov_lookup": null,
- "lov_lookup_check": null,
- "comments": "ISO Numeric Code for the country"
}, - {
- "name": "currency",
- "type": "approval",
- "required": false,
- "unique": true,
- "default_value": "usd",
- "lov_lookup": "currencies",
- "lov_lookup_check": true,
- "comments": "Currency code for the country"
}
]
}, - "enabled": true,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z",
- "aggregation": {
- "values": 0,
- "translations": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "values": [
- {
- "code": "us",
- "name": "United States",
- "description": "United States of America",
- "metadata": {
- "cascading": {
- "lookup_value": "north_america"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "value": 848
}, - {
- "name": "currency",
- "value": "usd"
}
]
}, - "sequence": 1,
- "enabled": true,
- "created_date": "2019-08-24T14:15:22Z",
- "updated_date": "2019-08-24T14:15:22Z"
}
], - "translations": [
- {
- "language": "en_US",
- "name": "List of Countries",
- "description": "List of Countries",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
]
}
Create Lookup
Create Lookup
Authorizations:
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Request Body schema: application/json
Create Lookup
code required | string (lookup_code) Lookup Code |
name required | string (lookup_name) Lookup Name |
description | string (lookup_description) Lookup Description |
object (lookup_metadata) Lookup Metadata |
Responses
Request samples
- Payload
{- "code": "countries",
- "name": "List of Countries",
- "description": "List of Countries",
- "metadata": {
- "cascading": {
- "enabled": true,
- "lookup": "continents"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "type": "number",
- "required": false,
- "unique": true,
- "default_value": 0,
- "lov_lookup": null,
- "lov_lookup_check": null,
- "comments": "ISO Numeric Code for the country"
}, - {
- "name": "currency",
- "type": "approval",
- "required": false,
- "unique": true,
- "default_value": "usd",
- "lov_lookup": "currencies",
- "lov_lookup_check": true,
- "comments": "Currency code for the country"
}
]
}
}
Response samples
- 201
- 400
- 401
- 403
- 405
- 409
- 429
- 500
- 501
- 503
{- "code": "countries",
- "name": "List of Countries",
- "description": "List of Countries",
- "metadata": {
- "cascading": {
- "enabled": true,
- "lookup": "continents"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "type": "number",
- "required": false,
- "unique": true,
- "default_value": 0,
- "lov_lookup": null,
- "lov_lookup_check": null,
- "comments": "ISO Numeric Code for the country"
}, - {
- "name": "currency",
- "type": "approval",
- "required": false,
- "unique": true,
- "default_value": "usd",
- "lov_lookup": "currencies",
- "lov_lookup_check": true,
- "comments": "Currency code for the country"
}
]
}, - "enabled": true,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z",
- "aggregation": {
- "values": 0,
- "translations": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "values": [
- {
- "code": "us",
- "name": "United States",
- "description": "United States of America",
- "metadata": {
- "cascading": {
- "lookup_value": "north_america"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "value": 848
}, - {
- "name": "currency",
- "value": "usd"
}
]
}, - "sequence": 1,
- "enabled": true,
- "created_date": "2019-08-24T14:15:22Z",
- "updated_date": "2019-08-24T14:15:22Z"
}
], - "translations": [
- {
- "language": "en_US",
- "name": "List of Countries",
- "description": "List of Countries",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Get Lookup
Retrieve lookup details.
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 405
- 429
- 500
- 501
- 503
{- "code": "countries",
- "name": "List of Countries",
- "description": "List of Countries",
- "metadata": {
- "cascading": {
- "enabled": true,
- "lookup": "continents"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "type": "number",
- "required": false,
- "unique": true,
- "default_value": 0,
- "lov_lookup": null,
- "lov_lookup_check": null,
- "comments": "ISO Numeric Code for the country"
}, - {
- "name": "currency",
- "type": "approval",
- "required": false,
- "unique": true,
- "default_value": "usd",
- "lov_lookup": "currencies",
- "lov_lookup_check": true,
- "comments": "Currency code for the country"
}
]
}, - "enabled": true,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z",
- "aggregation": {
- "values": 0,
- "translations": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "values": [
- {
- "code": "us",
- "name": "United States",
- "description": "United States of America",
- "metadata": {
- "cascading": {
- "lookup_value": "north_america"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "value": 848
}, - {
- "name": "currency",
- "value": "usd"
}
]
}, - "sequence": 1,
- "enabled": true,
- "created_date": "2019-08-24T14:15:22Z",
- "updated_date": "2019-08-24T14:15:22Z"
}
], - "translations": [
- {
- "language": "en_US",
- "name": "List of Countries",
- "description": "List of Countries",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Update Lookup
Update Lookup
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Request Body schema: application/json
Update Lookup
name | string (lookup_name) Lookup Name |
description | string (lookup_description) Lookup Description |
object (lookup_metadata) Lookup Metadata |
Responses
Request samples
- Payload
{- "name": "List of Countries",
- "description": "List of Countries",
- "metadata": {
- "cascading": {
- "enabled": true,
- "lookup": "continents"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "type": "number",
- "required": false,
- "unique": true,
- "default_value": 0,
- "lov_lookup": null,
- "lov_lookup_check": null,
- "comments": "ISO Numeric Code for the country"
}, - {
- "name": "currency",
- "type": "approval",
- "required": false,
- "unique": true,
- "default_value": "usd",
- "lov_lookup": "currencies",
- "lov_lookup_check": true,
- "comments": "Currency code for the country"
}
]
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 405
- 409
- 429
- 500
- 501
- 503
{- "code": "countries",
- "name": "List of Countries",
- "description": "List of Countries",
- "metadata": {
- "cascading": {
- "enabled": true,
- "lookup": "continents"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "type": "number",
- "required": false,
- "unique": true,
- "default_value": 0,
- "lov_lookup": null,
- "lov_lookup_check": null,
- "comments": "ISO Numeric Code for the country"
}, - {
- "name": "currency",
- "type": "approval",
- "required": false,
- "unique": true,
- "default_value": "usd",
- "lov_lookup": "currencies",
- "lov_lookup_check": true,
- "comments": "Currency code for the country"
}
]
}, - "enabled": true,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z",
- "aggregation": {
- "values": 0,
- "translations": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "values": [
- {
- "code": "us",
- "name": "United States",
- "description": "United States of America",
- "metadata": {
- "cascading": {
- "lookup_value": "north_america"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "value": 848
}, - {
- "name": "currency",
- "value": "usd"
}
]
}, - "sequence": 1,
- "enabled": true,
- "created_date": "2019-08-24T14:15:22Z",
- "updated_date": "2019-08-24T14:15:22Z"
}
], - "translations": [
- {
- "language": "en_US",
- "name": "List of Countries",
- "description": "List of Countries",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Delete Lookup
Delete Lookup
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Responses
Response samples
- 400
- 401
- 403
- 404
- 405
- 429
- 500
- 501
- 503
{- "code": "invalid_request",
- "message": "Invalid `fields` parameter. See https://developer.aircampi.com/api/query-fields"
}
Change Lookup Code
Change Lookup Code
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Request Body schema: application/json
Change Lookup Code
new_code | string (lookup_code) Lookup Code |
Responses
Request samples
- Payload
{- "new_code": "territories"
}
Response samples
- 400
- 401
- 403
- 405
- 409
- 429
- 500
- 501
- 503
{- "code": "invalid_request",
- "message": "Invalid `fields` parameter. See https://developer.aircampi.com/api/query-fields"
}
Get lookup Translations
Retrieve filtered list of lookup translations.
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
q | string This query parameter defines the where clause. Example: ?q=(id=497f6eca-6276-4993-bfeb-53cbbbba6f08) |
sort | string This parameter sort a resource collection based on the specified attributes. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. For example, ?sort=created_at asc,updated_at desc |
offset | integer >= 0 Default: 0 Used to define the starting position of the item collection. If offset exceeds the item count then no items are returned. |
limit | integer >= 1 Default: 10 This parameter restricts the number of items returned inside the collection. If the limit exceeds the item count then the server will only return the available items. |
total_count | boolean Default: false The item collection representation will include the "estimated row count" when "?total_count=true", otherwise the total_count is not included. |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Responses
Response samples
- 200
- 400
- 401
- 403
- 405
- 429
- 500
- 501
- 503
{- "total_count": 0,
- "count": 0,
- "has_more": true,
- "limit": 0,
- "offset": 10,
- "items": [
- {
- "language": "en_US",
- "name": "List of Countries",
- "description": "List of Countries",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Create Lookup Translation
Create Lookup Translation
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Request Body schema: application/json
Create Lookup Translation
language | string (language) Default: "en_US" Enum: "en_US" "en_UK" "mn_MN" Languages |
name | string (lookup_name) Lookup Name |
description | string (lookup_description) Lookup Description |
Responses
Request samples
- Payload
{- "language": "en_US",
- "name": "List of Countries",
- "description": "List of Countries"
}
Response samples
- 201
- 400
- 401
- 403
- 405
- 409
- 429
- 500
- 501
- 503
{- "language": "en_US",
- "name": "List of Countries",
- "description": "List of Countries",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
Get Lookup Translation
Retrieve lookup translation details.
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
language required | string (language) Default: "en_US" Enum: "en_US" "en_UK" "mn_MN" Language |
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 405
- 429
- 500
- 501
- 503
{- "language": "en_US",
- "name": "List of Countries",
- "description": "List of Countries",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update Lookup Translation
Update Lookup Translation
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
language required | string (language) Default: "en_US" Enum: "en_US" "en_UK" "mn_MN" Language |
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Request Body schema: application/json
Update Lookup Translation
name | string (lookup_name) Lookup Name |
description | string (lookup_description) Lookup Description |
Responses
Request samples
- Payload
{- "name": "List of Countries",
- "description": "List of Countries"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 405
- 409
- 429
- 500
- 501
- 503
{- "language": "en_US",
- "name": "List of Countries",
- "description": "List of Countries",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
Delete Lookup Translation
Delete Lookup Translation
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
language required | string (language) Default: "en_US" Enum: "en_US" "en_UK" "mn_MN" Language |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Responses
Response samples
- 400
- 401
- 403
- 404
- 405
- 429
- 500
- 501
- 503
{- "code": "invalid_request",
- "message": "Invalid `fields` parameter. See https://developer.aircampi.com/api/query-fields"
}
Lookups provide lists of values where valid values appear on a list with no duplicate values. For example, an application might store the values Male and Female in a Gender in a table, but when displaying those values in the user interface, Male or Female (or their translated equivalents) should be available for end users to select.
Get Lookup Values
Retrieve filtered list of lookup values.
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
q | string This query parameter defines the where clause. Example: ?q=(id=497f6eca-6276-4993-bfeb-53cbbbba6f08) |
sort | string This parameter sort a resource collection based on the specified attributes. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. For example, ?sort=created_at asc,updated_at desc |
offset | integer >= 0 Default: 0 Used to define the starting position of the item collection. If offset exceeds the item count then no items are returned. |
limit | integer >= 1 Default: 10 This parameter restricts the number of items returned inside the collection. If the limit exceeds the item count then the server will only return the available items. |
total_count | boolean Default: false The item collection representation will include the "estimated row count" when "?total_count=true", otherwise the total_count is not included. |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Responses
Response samples
- 200
- 400
- 401
- 403
- 405
- 429
- 500
- 501
- 503
{- "total_count": 0,
- "count": 0,
- "has_more": true,
- "limit": 0,
- "offset": 10,
- "items": [
- {
- "code": "us",
- "name": "United States",
- "description": "United States of America",
- "metadata": {
- "cascading": {
- "lookup_value": "north_america"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "value": 848
}, - {
- "name": "currency",
- "value": "usd"
}
]
}, - "sequence": 1,
- "enabled": true,
- "created_date": "2019-08-24T14:15:22Z",
- "updated_date": "2019-08-24T14:15:22Z"
}
]
}
Create Lookup Value
Create Lookup Value
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Request Body schema: application/json
Create Lookup Value
code required | string (lookup_value_code) Lookup Value Code |
name required | string (lookup_value_name) Lookup Value Name |
description | string (lookup_value_description) Lookup Value Description |
object (lookup_value_metadata) Lookup Value Metadata | |
sequence | string (lookup_value_sequence) Lookup Value Sequence |
Responses
Request samples
- Payload
{- "code": "us",
- "name": "United States",
- "description": "United States of America",
- "metadata": {
- "cascading": {
- "lookup_value": "north_america"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "value": 848
}, - {
- "name": "currency",
- "value": "usd"
}
]
}, - "sequence": 1
}
Response samples
- 201
- 400
- 401
- 403
- 405
- 409
- 429
- 500
- 501
- 503
{- "code": "us",
- "name": "United States",
- "description": "United States of America",
- "metadata": {
- "cascading": {
- "lookup_value": "north_america"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "value": 848
}, - {
- "name": "currency",
- "value": "usd"
}
]
}, - "sequence": 1,
- "enabled": true,
- "created_date": "2019-08-24T14:15:22Z",
- "updated_date": "2019-08-24T14:15:22Z"
}
Get Lookup Value
Retrieve lookup value details.
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
value required | string (lookup_value_code) Example: us Lookup Value |
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 405
- 429
- 500
- 501
- 503
{- "code": "us",
- "name": "United States",
- "description": "United States of America",
- "metadata": {
- "cascading": {
- "lookup_value": "north_america"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "value": 848
}, - {
- "name": "currency",
- "value": "usd"
}
]
}, - "sequence": 1,
- "enabled": true,
- "created_date": "2019-08-24T14:15:22Z",
- "updated_date": "2019-08-24T14:15:22Z"
}
Update Lookup Value
Update Lookup Value
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
value required | string (lookup_value_code) Example: us Lookup Value |
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Request Body schema: application/json
Update Lookup Value
name | string (lookup_value_name) Lookup Value Name |
description | string (lookup_value_description) Lookup Value Description |
object (lookup_value_metadata) Lookup Value Metadata | |
sequence | string (lookup_value_sequence) Lookup Value Sequence |
enabled | boolean (lookup_value_enabled) Default: true Is lookup value enabled? |
Responses
Request samples
- Payload
{- "name": "United States",
- "description": "United States of America",
- "metadata": {
- "cascading": {
- "lookup_value": "north_america"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "value": 848
}, - {
- "name": "currency",
- "value": "usd"
}
]
}, - "sequence": 1,
- "enabled": true
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 405
- 409
- 429
- 500
- 501
- 503
{- "code": "us",
- "name": "United States",
- "description": "United States of America",
- "metadata": {
- "cascading": {
- "lookup_value": "north_america"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "value": 848
}, - {
- "name": "currency",
- "value": "usd"
}
]
}, - "sequence": 1,
- "enabled": true,
- "created_date": "2019-08-24T14:15:22Z",
- "updated_date": "2019-08-24T14:15:22Z"
}
Delete Lookup Value
Delete Lookup Value
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
value required | string (lookup_value_code) Example: us Lookup Value |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Responses
Response samples
- 400
- 401
- 403
- 404
- 405
- 429
- 500
- 501
- 503
{- "code": "invalid_request",
- "message": "Invalid `fields` parameter. See https://developer.aircampi.com/api/query-fields"
}
Change Lookup Value
Change Lookup Value
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
value required | string (lookup_value_code) Example: us Lookup Value |
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Request Body schema: application/json
Change Lookup Value
new_code | string (lookup_value_code) Lookup Value Code |
Responses
Request samples
- Payload
{- "new_code": "usa"
}
Response samples
- 400
- 401
- 403
- 405
- 409
- 429
- 500
- 501
- 503
{- "code": "invalid_request",
- "message": "Invalid `fields` parameter. See https://developer.aircampi.com/api/query-fields"
}
Get Lookup Value Translations
Retrieve filtered list of lookup value translations.
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
value required | string (lookup_value_code) Example: us Lookup Value |
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
q | string This query parameter defines the where clause. Example: ?q=(id=497f6eca-6276-4993-bfeb-53cbbbba6f08) |
sort | string This parameter sort a resource collection based on the specified attributes. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. For example, ?sort=created_at asc,updated_at desc |
offset | integer >= 0 Default: 0 Used to define the starting position of the item collection. If offset exceeds the item count then no items are returned. |
limit | integer >= 1 Default: 10 This parameter restricts the number of items returned inside the collection. If the limit exceeds the item count then the server will only return the available items. |
total_count | boolean Default: false The item collection representation will include the "estimated row count" when "?total_count=true", otherwise the total_count is not included. |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Responses
Response samples
- 200
- 400
- 401
- 403
- 405
- 429
- 500
- 501
- 503
{- "total_count": 0,
- "count": 0,
- "has_more": true,
- "limit": 0,
- "offset": 10,
- "items": [
- {
- "language": "en_US",
- "name": "United States",
- "description": "United States of America",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Create Lookup Value Translation
Create Lookup Value Translation
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
value required | string (lookup_value_code) Example: us Lookup Value |
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Request Body schema: application/json
Create Lookup Value Translation
language | string (language) Default: "en_US" Enum: "en_US" "en_UK" "mn_MN" Languages |
name | string (lookup_value_name) Lookup Value Name |
description | string (lookup_value_description) Lookup Value Description |
Responses
Request samples
- Payload
{- "language": "en_US",
- "name": "United States",
- "description": "United States of America"
}
Response samples
- 201
- 400
- 401
- 403
- 405
- 409
- 429
- 500
- 501
- 503
{- "language": "en_US",
- "name": "United States",
- "description": "United States of America",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
Get Lookup Value Translation
Retrieve lookup value translation details.
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
value required | string (lookup_value_code) Example: us Lookup Value |
language required | string (language) Default: "en_US" Enum: "en_US" "en_UK" "mn_MN" Language |
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 405
- 429
- 500
- 501
- 503
{- "language": "en_US",
- "name": "United States",
- "description": "United States of America",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update Lookup Value Translation
Update Lookup Value Translation
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
value required | string (lookup_value_code) Example: us Lookup Value |
language required | string (language) Default: "en_US" Enum: "en_US" "en_UK" "mn_MN" Language |
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Request Body schema: application/json
Update Lookup Value Translation
name | string (lookup_value_name) Lookup Value Name |
description | string (lookup_value_description) Lookup Value Description |
Responses
Request samples
- Payload
{- "name": "United States",
- "description": "United States of America"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 405
- 409
- 429
- 500
- 501
- 503
{- "language": "en_US",
- "name": "United States",
- "description": "United States of America",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
Delete Lookup Value Translation
Delete Lookup Value Translation
Authorizations:
path Parameters
lookup required | string (lookup_code) Example: countries Lookup Code |
value required | string (lookup_value_code) Example: us Lookup Value |
language required | string (language) Default: "en_US" Enum: "en_US" "en_UK" "mn_MN" Language |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Responses
Response samples
- 400
- 401
- 403
- 404
- 405
- 429
- 500
- 501
- 503
{- "code": "invalid_request",
- "message": "Invalid `fields` parameter. See https://developer.aircampi.com/api/query-fields"
}
Aircampi Approval's settings allow you to edit your server setup configuration and customize it. You can easily change the it by changing them when running Aircampi Approval.
Get Settings
Get Settings
Authorizations:
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Responses
Response samples
- 200
- 400
- 401
- 403
- 405
- 429
- 500
- 501
- 503
{- "environment": "development"
}
Update Settings
Update Settings
Authorizations:
query Parameters
fields | string This parameter filters the resource attributes. Only the specified attributes are returned. Format: ?fields=id,name |
expand | string Default: "" When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". Example: ?expand=all |
header Parameters
Authorization required | string (bearer_authorization) Default: Bearer {{access_token}} Access Token |
Request Body schema: application/json
Update Settings
environment | string Default: "development" Enum: "development" "staging" "production" Environment |
Responses
Request samples
- Payload
{- "environment": "development"
}
Response samples
- 200
- 400
- 401
- 403
- 405
- 409
- 429
- 500
- 501
- 503
{- "environment": "development"
}
The Health service is designed to allow you to both validate and monitor that your Aircampi Approval's instance and all of its internal components are up and responsive.
This section contains the information about resources for Aircampi Approval and their fields, and child resources.
Group of models:
Resource Type: Single Resource
Fields:
- code
- name
- description
- metadata
- enabled
- created_at
- updated_at
Child Resources:
- aggregations
- values
- translations
code | string (lookup_code) Lookup Code |
name | string (lookup_name) Lookup Name |
description | string (lookup_description) Lookup Description |
object (lookup_metadata) Lookup Metadata | |
enabled | string (lookup_enabled) Default: true is lookup enabled? |
created_by | string <uuid> (user_id) User Id |
created_at | string <date-time> (created_at) Create at date and time |
updated_by | string <uuid> (user_id) User Id |
updated_at | string <date-time> (updated_at) Updated at date and time |
object (lookup_aggregation) Lookup Aggregation | |
Array of objects (lookup_value) | |
Array of objects (lookup_translation) |
{- "code": "countries",
- "name": "List of Countries",
- "description": "List of Countries",
- "metadata": {
- "cascading": {
- "enabled": true,
- "lookup": "continents"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "type": "number",
- "required": false,
- "unique": true,
- "default_value": 0,
- "lov_lookup": null,
- "lov_lookup_check": null,
- "comments": "ISO Numeric Code for the country"
}, - {
- "name": "currency",
- "type": "approval",
- "required": false,
- "unique": true,
- "default_value": "usd",
- "lov_lookup": "currencies",
- "lov_lookup_check": true,
- "comments": "Currency code for the country"
}
]
}, - "enabled": true,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z",
- "aggregation": {
- "values": 0,
- "translations": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "values": [
- {
- "code": "us",
- "name": "United States",
- "description": "United States of America",
- "metadata": {
- "cascading": {
- "lookup_value": "north_america"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "value": 848
}, - {
- "name": "currency",
- "value": "usd"
}
]
}, - "sequence": 1,
- "enabled": true,
- "created_date": "2019-08-24T14:15:22Z",
- "updated_date": "2019-08-24T14:15:22Z"
}
], - "translations": [
- {
- "language": "en_US",
- "name": "List of Countries",
- "description": "List of Countries",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Resource Type: Collection Resource
total_count | integer (Total Count) The total number of search records that match the query If you send request with query parameter ?total_count=true only. Otherwise the total_count is not included. |
count | integer (Count) The number of items returned in the current range. |
has_more | boolean (HasMore) Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false. |
limit | integer (Limit) The actual paging size used by the server. |
offset | integer (Offset) Default: 10 The offset value used in the current page. |
Array of objects (lookup_expanded) The lookups in the collection. |
{- "total_count": 0,
- "count": 0,
- "has_more": true,
- "limit": 0,
- "offset": 10,
- "items": [
- {
- "code": "countries",
- "name": "List of Countries",
- "description": "List of Countries",
- "metadata": {
- "cascading": {
- "enabled": true,
- "lookup": "continents"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "type": "number",
- "required": false,
- "unique": true,
- "default_value": 0,
- "lov_lookup": null,
- "lov_lookup_check": null,
- "comments": "ISO Numeric Code for the country"
}, - {
- "name": "currency",
- "type": "approval",
- "required": false,
- "unique": true,
- "default_value": "usd",
- "lov_lookup": "currencies",
- "lov_lookup_check": true,
- "comments": "Currency code for the country"
}
]
}, - "enabled": true,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z",
- "aggregation": {
- "values": 0,
- "translations": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "values": [
- {
- "code": "us",
- "name": "United States",
- "description": "United States of America",
- "metadata": {
- "cascading": {
- "lookup_value": "north_america"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "value": 848
}, - {
- "name": "currency",
- "value": "usd"
}
]
}, - "sequence": 1,
- "enabled": true,
- "created_date": "2019-08-24T14:15:22Z",
- "updated_date": "2019-08-24T14:15:22Z"
}
], - "translations": [
- {
- "language": "en_US",
- "name": "List of Countries",
- "description": "List of Countries",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
]
}
Resource Type: Single Resource
Fields:
- values
- translations
- created_at
- updated_at
Child Resources:
No child resources.
values | integer Default: 0 Number of Values |
translations | integer Default: 0 Number of Translations |
created_by | string <uuid> (user_id) User Id |
created_at | string <date-time> (created_at) Create at date and time |
updated_by | string <uuid> (user_id) User Id |
updated_at | string <date-time> (updated_at) Updated at date and time |
{- "values": 0,
- "translations": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
Resource Type: Single Resource
Fields:
- language
- name
- description
- created_at
- updated_at
Child Resources:
No child resources.
language | string (language) Default: "en_US" Enum: "en_US" "en_UK" "mn_MN" Languages |
name | string (lookup_name) Lookup Name |
description | string (lookup_description) Lookup Description |
created_by | string <uuid> (user_id) User Id |
created_at | string <date-time> (created_at) Create at date and time |
updated_by | string <uuid> (user_id) User Id |
updated_at | string <date-time> (updated_at) Updated at date and time |
{- "language": "en_US",
- "name": "List of Countries",
- "description": "List of Countries",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
Resource Type: Collection Resource
total_count | integer (Total Count) The total number of search records that match the query If you send request with query parameter ?total_count=true only. Otherwise the total_count is not included. |
count | integer (Count) The number of items returned in the current range. |
has_more | boolean (HasMore) Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false. |
limit | integer (Limit) The actual paging size used by the server. |
offset | integer (Offset) Default: 10 The offset value used in the current page. |
Array of objects (lookup_translation) The lookup translations in the collection. |
{- "total_count": 0,
- "count": 0,
- "has_more": true,
- "limit": 0,
- "offset": 10,
- "items": [
- {
- "language": "en_US",
- "name": "List of Countries",
- "description": "List of Countries",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Resource Type: Single Resource
Fields:
- code
- name
- description
- metadata
- sequence
- enabled
- created_at
- updated_at
Child Resources:
No child resources.
code | string (lookup_value_code) Lookup Value Code |
name | string (lookup_value_name) Lookup Value Name |
description | string (lookup_value_description) Lookup Value Description |
object (lookup_value_metadata) Lookup Value Metadata | |
sequence | string (lookup_value_sequence) Lookup Value Sequence |
enabled | boolean (lookup_value_enabled) Default: true Is lookup value enabled? |
created_date | string <date-time> (created_at) Create at date and time |
updated_date | string <date-time> (updated_at) Updated at date and time |
{- "code": "us",
- "name": "United States",
- "description": "United States of America",
- "metadata": {
- "cascading": {
- "lookup_value": "north_america"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "value": 848
}, - {
- "name": "currency",
- "value": "usd"
}
]
}, - "sequence": 1,
- "enabled": true,
- "created_date": "2019-08-24T14:15:22Z",
- "updated_date": "2019-08-24T14:15:22Z"
}
Resource Type: Collection Resource
total_count | integer (Total Count) The total number of search records that match the query If you send request with query parameter ?total_count=true only. Otherwise the total_count is not included. |
count | integer (Count) The number of items returned in the current range. |
has_more | boolean (HasMore) Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false. |
limit | integer (Limit) The actual paging size used by the server. |
offset | integer (Offset) Default: 10 The offset value used in the current page. |
Array of objects (lookup_value) The lookup values in the collection. |
{- "total_count": 0,
- "count": 0,
- "has_more": true,
- "limit": 0,
- "offset": 10,
- "items": [
- {
- "code": "us",
- "name": "United States",
- "description": "United States of America",
- "metadata": {
- "cascading": {
- "lookup_value": "north_america"
}, - "tags": [
- "+tenant1",
- "+tenant2"
], - "fields": [
- {
- "name": "iso_numeric",
- "value": 848
}, - {
- "name": "currency",
- "value": "usd"
}
]
}, - "sequence": 1,
- "enabled": true,
- "created_date": "2019-08-24T14:15:22Z",
- "updated_date": "2019-08-24T14:15:22Z"
}
]
}
Resource Type: Single Resource
Fields:
- language
- name
- description
- created_at
- updated_at
Child Resources:
No child resources.
language | string (language) Default: "en_US" Enum: "en_US" "en_UK" "mn_MN" Languages |
name | string (lookup_value_name) Lookup Value Name |
description | string (lookup_value_description) Lookup Value Description |
created_by | string <uuid> (user_id) User Id |
created_at | string <date-time> (created_at) Create at date and time |
updated_by | string <uuid> (user_id) User Id |
updated_at | string <date-time> (updated_at) Updated at date and time |
{- "language": "en_US",
- "name": "United States",
- "description": "United States of America",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
Resource Type: Collection Resource
total_count | integer (Total Count) The total number of search records that match the query If you send request with query parameter ?total_count=true only. Otherwise the total_count is not included. |
count | integer (Count) The number of items returned in the current range. |
has_more | boolean (HasMore) Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false. |
limit | integer (Limit) The actual paging size used by the server. |
offset | integer (Offset) Default: 10 The offset value used in the current page. |
Array of objects (lookup_value_translation) The lookup value's translations in the collection. |
{- "total_count": 0,
- "count": 0,
- "has_more": true,
- "limit": 0,
- "offset": 10,
- "items": [
- {
- "language": "en_US",
- "name": "United States",
- "description": "United States of America",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Settings Models
Resource Type: Single Resource
Fields:
- environment
Child Resources:
No child resources.
environment | string Default: "development" Enum: "development" "staging" "production" Environment |
{- "environment": "development"
}
Health Check Models
Resource Type: Single Resource
Fields:
- server_name
- server_version
- server_status
- server_description
Child Resources:
No child resources.
server_name | string Name of server |
server_version | string Version of server |
server_status | string Default: "Active" Enum: "Active" "Warning" "Error" Status of server |
server_description | string Description of server |
{- "server_name": "Aircampi Approval",
- "server_version": "0.1.0",
- "server_status": "Active",
- "server_description": "Lookup Value Store"
}