Overview
To call the EmploymentType endpoint, use one of the URLs from the following table:
URL |
GET |
PUT |
POST |
DELETE |
https://api.mypcorp.com/EmploymentType |
✔ |
|
|
|
GET
The following table illustrates which fields can be included when receiving a GET response.
Employment Type
Field Name |
Description |
Name string |
The name of the EmploymentType. Use this when identifying the employment type on the Staff endpoint. |
ArchiveDate datetime |
Date and time when this EmploymentType was archived, if it has been archived. |
Example JSON response:
{
"@odata.context": "https://api.mypcorp.com/$metadata#EmploymentType",
"value": [
{
"Name": "Full time",
"ArchiveDate": null
},
{
"Name": "Part time",
"ArchiveDate": null
},
{
"Name": "Casual",
"ArchiveDate": null
},
{
"Name": "Temporary",
"ArchiveDate": null
},
{
"Name": "Fixed term",
"ArchiveDate": null
},
{
"Name": "Contract",
"ArchiveDate": null
},
{
"Name": "Volunteer",
"ArchiveDate": null
},
{
"Name": "Permanent",
"ArchiveDate": null
}
]
}