{
"post": { "operationId": "createChangeRequest", "description": "Request a Change", "tags": ["Change Request"], "parameters": [ { "$ref": "../../common/components.json#/components/request/parameters/token_param" }, { "$ref": "../../common/components.json#/components/request/parameters/id_param" } ], "requestBody": { "description": "Change Request fields to fill", "content": { "application/json": { "schema": { "$ref": "../../common/schemas/service_desk/change_request.json#/components/schemas/request" }, "example": { "$ref": "../../common/examples/change_request.json#/examples" } }, "application/xml": { "schema": { "$ref": "../../common/schemas/service_desk/change_request.json#/components/schemas/request" } } } }, "responses": { "200": { "description": "Object created and returned correctly", "content": { "application/json": { "schema": { "$ref": "../../common/schemas/service_desk/change.json#/components/schemas/response" }, "example": { "$ref": "../../common/examples/change.json#/examples/response/json" } }, "application/xml": { "schema": { "$ref": "../../common/schemas/service_desk/change.json#/components/schemas/response" } } } }, "400": { "description": "Bad request" }, "404": { "description": "Not found" }, "500": { "description": "Server error" } } }
}