Description
Supplies 'area type' information as configured in the Area Types dialog. Examples of area types are 'Conveyor' and 'Transfer Chutes'.
URL
https://apiprod.pdsglobal.com/V2/api/areatypes/V1
Note: There are two non-production environments that can be used for testing.
Request
Type
GET
Headers
Content-Type = application/json
Parameters
Mandatory parameters are denoted by *
*
api_key: string(50)
This is required for authentication. It is used to identify the user and determine access to the system. If you do not have your API key please contact PDS Support (support@pdsglobal.com).
Body
No body is required for this API Endpoint.
Response
Body
Object: ResponseEntity<string>
|
areaTypes[]
The list of returned area types.
|
areaTypeId: integer
This is the unique identifier (primary key) for the area type.
|
name: string(50) The name of the area type.
|
sortOrder: integer All items have a sort order number assigned to them. It determines the sequence of the item.
|
isActive: boolean
Indicates whether the area type is currently active/enabled.
|
lastSavedBy: string(50)
Identifies the user who last updated the record (email address).
|
lastSavedDateTime: DateTime
Indicates the last time the record was updated. The format is yyyy-MM-dd HH:mm:ss.sss (e.g. 2021-01-01 01:23:00.000).
|
createdBy: string(50)
Identifies the user who created the record (email address).
|
createdDate: DateTime
Indicates the date and time the record was created.
|
|
Response Status Code
See HTTP Response Codes and Errors
Examples
URL:
https://apiprod.pdsglobal.com/V2/api/areatypes/V1?api_key=ABC123
Response Body:
[
{
"areaTypeId": 1,
"name": "Conveyors",
"sortOrder": 1,
"isActive": true,
"lastSavedBy": "demo@pdsonline.com.au",
"lastSavedDateTime": "2017-04-04T23:44:23.497Z",
"createdBy": "support@pdsonline.com.au",
"createdDateTime": "2017-01-21T08:01:07.533Z"