Notes
HTTP Headers
Content-Length header must be sent to successfully complete an API call request.
HTTP Compression Support
To enable HTTP compression support, send the following request in the header: Accept-Encoding: gzip, deflate.
HTTP Options
Use HTTP OPTIONS operation on a URI to query the resource to find out what operations may be performed on it.
Status Codes
| HotJobs Status Code | HTTP Status Code | Description |
|---|---|---|
| 0 | 201 | Login successful |
| 0 | 200/ 201 | Operation successful |
| 0 | 200 | Job deleted successfully |
| 0 | 200 | Job refresh successful |
| 6 | 400 | JobId not found in request URI |
| 7 | 400 | XML not found in POST request |
| 10 | 401 | Invalid TimeStamp |
| 11 | 401 | Invalid Session Token |
| 12 | 401 | Invalid Signature |
| 20 | 401 | Session token expired |
| 30 | 400 | Invalid XML |
| 40 | 400 | XML not compliant with Yahoo! HotJobs XML schema |
| 50 | 401 | Login failed due to invalid UserName or Password or LicenseKey or AccountID |
| 60 | 401 | User belongs to multiple accounts. Specify Account ID |
| 70 | 400 | Required field(s) missing |
| 80 | 400 | Invalid Location |
| 90 | 400 | Invalid field(s) value |
| 100 | 400 | Field(s) value exceeded maximum allowed length |
| 405 | 405 | HTTP Method <methodName> not allowed |
| 500 | 500 | Internal Error |
| 510 | 404 | Requested Job not found |
| 520 | 403 | Job already deleted |
| 530 | 403 | Job not eligible for refresh |
| 540 | 403 | Operation not allowed on private job |
| 541 | 403 | Operation allowed only for Slot type listing |
| 542 | 403 | Operation not allowed on public job |
| 550 | 403 | Asset not available to post the job |
| 551 | 403 | Bold Asset not available |
| 552 | 403 | Direct-Apply Asset not available |
| 560 | 403 | Job location does not match with Asset location |
| 561 | 403 | Cannot add location(s) to the job due to insufficient Assets |

