POST api/WorkRequests/statuses
Request Information
URI Parameters
None.
Body Parameters
FilterMobileSimple| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountID | integer |
None. |
|
| ID | integer |
None. |
|
| Corp | boolean |
None. |
|
| ServiceTypeID | integer |
None. |
|
| includeInactive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountID": 1,
"ID": 1,
"Corp": true,
"ServiceTypeID": 1,
"includeInactive": true
}
application/xml, text/xml
Sample:
<FilterMobileSimple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Filters"> <AccountID>1</AccountID> <Corp>true</Corp> <ID>1</ID> <ServiceTypeID>1</ServiceTypeID> <includeInactive>true</includeInactive> </FilterMobileSimple>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of Status| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Description | string |
None. |
|
| EnDescription | string |
None. |
|
| AccountID | integer |
None. |
|
| IsSystemOpen | boolean |
None. |
|
| IsSystemInProgress | boolean |
None. |
|
| IsSystemClosed | boolean |
None. |
|
| IsCompleted | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Description": "sample string 2",
"EnDescription": "samplestring2",
"AccountID": 3,
"IsSystemOpen": true,
"IsSystemInProgress": true,
"IsSystemClosed": true,
"IsCompleted": true
},
{
"ID": 1,
"Description": "sample string 2",
"EnDescription": "samplestring2",
"AccountID": 3,
"IsSystemOpen": true,
"IsSystemInProgress": true,
"IsSystemClosed": true,
"IsCompleted": true
}
]
application/xml, text/xml
Sample:
<ArrayOfStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models">
<Status>
<AccountID>3</AccountID>
<Description>sample string 2</Description>
<ID>1</ID>
<IsCompleted>true</IsCompleted>
<IsSystemClosed>true</IsSystemClosed>
<IsSystemInProgress>true</IsSystemInProgress>
<IsSystemOpen>true</IsSystemOpen>
</Status>
<Status>
<AccountID>3</AccountID>
<Description>sample string 2</Description>
<ID>1</ID>
<IsCompleted>true</IsCompleted>
<IsSystemClosed>true</IsSystemClosed>
<IsSystemInProgress>true</IsSystemInProgress>
<IsSystemOpen>true</IsSystemOpen>
</Status>
</ArrayOfStatus>