Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
api:api_applications_id_offers_id_type [2016/05/10 13:50] – created Safakapi:api_applications_id_offers_id_type [2024/07/30 11:50] (current) – external edit 127.0.0.1
Line 27: Line 27:
  
 ==== Response example ==== ==== Response example ====
 +
 +== API version >= 4 ==
  
   "Conditionally accepted"   "Conditionally accepted"
  
 +== API version <= 3 ==
 +
 +  {
 +      "id": 18,
 +      "type": "/api/v4/applications/offers/types/18"
 +  }
 ===== PUT ===== ===== PUT =====
  
Line 42: Line 50:
 ==== Raw request body ==== ==== Raw request body ====
  
-This will be set as the type of the application offer in questionupon successful validation.+This will be set as the type of the application offer in questionupon successful validation.
  
-  "Conditionally accepted"+== API version >= 4 ==
  
 +  18
 +
 +== API version <= 3 ==
 +
 +  "Conditionally accepted"
 ==== Response headers ==== ==== Response headers ====
  
Line 56: Line 69:
 | ''400 Bad Request'' | Invalid offer type. | | ''400 Bad Request'' | Invalid offer type. |
 | ''400 Bad Request'' | Invalid status. Please make sure that status is a valid JSON string with quotes. | | ''400 Bad Request'' | Invalid status. Please make sure that status is a valid JSON string with quotes. |
 +| ''400 Bad Request'' | Offer quota is full: $name |
 | ''404 Not Found'' | Application does not have this offer | | ''404 Not Found'' | Application does not have this offer |