Appearance
Endpoint: /Document/UpdateStatus
Request: JSON
{
"S3ObjectKey": string,
"NewStatus": int,
"PatientID": int,
"FacilityID": int
}| Field | Data Type | Required | Comments |
|---|---|---|---|
| S3ObjectKey | String | Not Required | Required if PatientID & FacilityID not provided |
| NewStatus | Integer | Required | New status code to attach |
| PatientID | Integer | Not Required | Required if S3ObjectKey not provided |
| FacilityID | Integer | Not Required | Required if S3ObjectKey not provided |
Response: JSON
{
"Metadata": {
"ApiSender": string,
"ApiConsumer": string,
"MessageDateTime": DateTime
},
"Data": {
"UpdateStatusResponse" : {
"S3ObjectKey": string,
"PatientID": int,
"FacilityID": int,
"Status": string,
"Success": bool
}
}
}