Get Many Employment Types
Bad Request
Unauthorized
Forbidden
Internal server error
{- "status": "ok",
- "data": [
- {
- "id": "507f1f77bcf86cd799439011",
- "companyId": "507f1f77bcf86cd799439011",
- "name": "string",
- "vacation": false,
- "country": "SE",
- "maxMonths": 12
}
], - "total": 500,
- "count": 50,
- "offset": 50,
- "relations": { }
}Create One Employment Type
Bad Request
Unauthorized
Forbidden
Internal server error
{- "name": "string",
- "vacation": false,
- "country": "SE",
- "maxMonths": 12
}{- "status": "ok",
- "data": {
- "id": "507f1f77bcf86cd799439011",
- "companyId": "507f1f77bcf86cd799439011",
- "name": "string",
- "vacation": false,
- "country": "SE",
- "maxMonths": 12
}
}Get One Employment Type
Bad Request
Unauthorized
Forbidden
Not Found
Internal server error
{- "status": "ok",
- "data": {
- "id": "507f1f77bcf86cd799439011",
- "companyId": "507f1f77bcf86cd799439011",
- "name": "string",
- "vacation": false,
- "country": "SE",
- "maxMonths": 12
}, - "relations": { }
}Update One Employment Type
Bad Request
Unauthorized
Forbidden
Not Found
Internal server error
{- "name": "string",
- "vacation": false,
- "country": "SE",
- "maxMonths": 12
}{- "status": "ok",
- "data": {
- "id": "507f1f77bcf86cd799439011",
- "companyId": "507f1f77bcf86cd799439011",
- "name": "string",
- "vacation": false,
- "country": "SE",
- "maxMonths": 12
}
}Replace One Employment Type
Bad Request
Unauthorized
Forbidden
Not Found
Internal server error
{- "name": "string",
- "vacation": false,
- "country": "SE",
- "maxMonths": 12
}{- "status": "ok",
- "data": {
- "id": "507f1f77bcf86cd799439011",
- "companyId": "507f1f77bcf86cd799439011",
- "name": "string",
- "vacation": false,
- "country": "SE",
- "maxMonths": 12
}
}