get/offer/{offerId}/killerquestion
Returns the killer questions of an offer where the id matches with the {offerId} in the URL.
Request
Resource URL
https://api.infojobs.net/api/1/offer/{offerId}/killerquestion
Security
- User Role: public
- Scope: none
Parameters
Name | Description |
---|---|
offerId String Required |
Offer identifier. Example values: 1ea3d2bedb4940bc83aad93726cb16 Maximum length: 100 |
Response
Response fields
Name | Description |
---|---|
killerQuestions List(OfferKillerQuestion) |
The list of questions with predefined answers. |
Name | Description |
---|---|
id Long |
The killer question unique identifier. |
question String |
The question. Maximum length: 500 |
answers List(OfferAnswer) |
A list of possible answers. |
Name | Description |
---|---|
id Long |
The answer unique identifier. |
answer String |
The answer. Maximum length: 500 |
Error codes
Code | Description |
---|---|
313 |
The offer {offerId} is not a valid parameter |
Examples
This example gets the killer questions of an offer where the id matches with the {offerId} in the URL.
Request
GET https://api.infojobs.net/api/1/offer/{offerId}/killerquestion
Response
[ { "id": 1753105792, "question": "¿Cuántos años de experiencia tienes en un cargo similar al ofertado?", "answers": [ { "id": 1753105794, "answer": "Más de 5 años" }, { "id": 1753105796, "answer": "Más de 3 años" }, { "id": 1753105798, "answer": "Más de 1 año" }, { "id": 1753105800, "answer": "Menos de 1 año" }, { "id": 1753105802, "answer": "No he trabajado nunca en un cargo similar" } ] } ]