POST api/WorkRequests/statuses

Work Request Statuses

Request Information

URI Parameters

None.

Body Parameters

FilterMobileSimple
NameDescriptionTypeAdditional information
AccountID

integer

None.

ID

integer

None.

Corp

boolean

None.

ServiceTypeID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountID": 1,
  "ID": 1,
  "Corp": true,
  "ServiceTypeID": 1
}

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>
</FilterMobileSimple>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FilterMobileSimple'.

Response Information

Resource Description

Collection of Status
NameDescriptionTypeAdditional 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>