/requests/statuschanges
This example of this endpoint demonstrates how to change the status of a Request from Unsubmitted to Submitted. This endpoint example is equivalent to submitting a Request within the browser-based application.
Name | Value | Description |
---|---|---|
arena_session_id | unique ID for session obtained from login | |
content-type | application/json |
Code | Description |
---|---|
201 | Success |
400 | Failure |
Name | Value | Description |
---|---|---|
Content-Length | number | number of characters in response |
Content-Type | application/json | content type of response |
Date | date | today's date and time |
Server | ArenaSolutions | |
X-Arena-Next-Request-Limit-Reset | date | the scheduled time for resetting of the count |
X-Arena-Requests-Remaining | number | how many calls left |
Upgrade the status of a Request from UNSUBMITTED to SUBMITTED.
POST /requests/statuschanges
Request
{
"request": {
"guid": "K2M5O1MD03ML4NJ32ZN1"
},
"comment":"Let's move this Request from Unsubmitted to Submitted",
"status": "SUBMITTED"
}
Response
{
"comment": "Let's move this Request from Unsubmitted to Submitted",
"request": {
"guid": "K2M5O1MD03ML4NJ32ZN1",
"number": "ECR-000009"
},
"status": "SUBMITTED"
}