JobType and Skill ----------------- This API allows listing, retrieving, creating, updating, and deleting jobtype and skills as well as associate skills to jobtype. List JobType ............ .. http:get:: /jobtype/ List all jobtypes. **Sample request**: .. sourcecode:: http GET /jobtype/ HTTP/1.1 Host: api.fieldaware.net Authorization: Token 9dcae3660ec84eac94bb506e09a9af40 Accept: application/json **Sample response**: .. sourcecode:: http HTTP/1.1 200 OK Content-Type: application/json { "count": 100, "items": [ { "name": "Standard Service", "uuid": "d6d22438096503fe72a7c161201c9373" }, { "name": "Installation", "uuid": "28a01f359aabafb4ff28347bddd9a24f" }, { "name": "Special Installation", "uuid": "6a360274f3fa2e224e17ba9ece3f4b0a" } ], "page": 0, "pageSize": 3, "sortedBy": [] } :query sortedBy: Available sorting criteria: ``name`` :query name: A filtering value for jobtype name Get JobType ........... .. http:get:: /jobtype/(jobtype_ref) Retrieve a given jobtype. **Sample request**: .. sourcecode:: http GET /jobtype/d6d22438096503fe72a7c161201c9373 HTTP/1.1 Host: api.fieldaware.net Authorization: Token 9dcae3660ec84eac94bb506e09a9af40 Accept: application/json **Sample response**: .. sourcecode:: http HTTP/1.1 200 OK Content-Type: application/json { "name": "Standard Service Heat Cable", "uuid": "d6d22438096503fe72a7c161201c9373", "archived": false } Create JobType .............. .. http:post:: /jobtype/ Create a new jobtype. **Sample request**: .. sourcecode:: http POST /jobtype/ HTTP/1.1 Host: api.fieldaware.net Authorization: Token 9dcae3660ec84eac94bb506e09a9af40 Accept: application/json { "name": "A new Service" } :