POST api/WorkRequests/problems
Request Information
URI Parameters
None.
Body Parameters
FilterWorkRequestMobile| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountID": 1
}
application/xml, text/xml
Sample:
<FilterWorkRequestMobile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Filters"> <AccountID>1</AccountID> </FilterWorkRequestMobile>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of SimpleProblem| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceTypeID | integer |
None. |
|
| ServiceCode | string |
None. |
|
| ID | integer |
None. |
|
| Description | string |
Required |
|
| Value | string |
None. |
|
| EnDescription | string |
None. |
|
| AccountID | integer |
None. |
|
| IsEditable | boolean |
None. |
|
| IsSelectable | boolean |
None. |
|
| Code | string |
None. |
|
| Color | string |
None. |
|
| ShortDescription | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ServiceTypeID": 1,
"ServiceCode": "sample string 2",
"ID": 3,
"Description": "sample string 4",
"Value": "sample string 5",
"EnDescription": "samplestring4",
"AccountID": 6,
"IsEditable": true,
"IsSelectable": true,
"Code": "sample string 9",
"Color": "sample string 10",
"ShortDescription": "sample string 11"
},
{
"ServiceTypeID": 1,
"ServiceCode": "sample string 2",
"ID": 3,
"Description": "sample string 4",
"Value": "sample string 5",
"EnDescription": "samplestring4",
"AccountID": 6,
"IsEditable": true,
"IsSelectable": true,
"Code": "sample string 9",
"Color": "sample string 10",
"ShortDescription": "sample string 11"
}
]
application/xml, text/xml
Sample:
<ArrayOfSimpleProblem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models">
<SimpleProblem>
<AccountID>6</AccountID>
<Code>sample string 9</Code>
<Color>sample string 10</Color>
<Description>sample string 4</Description>
<ID>3</ID>
<IsEditable>true</IsEditable>
<IsSelectable>true</IsSelectable>
<ShortDescription>sample string 11</ShortDescription>
<Value>sample string 5</Value>
<ServiceCode>sample string 2</ServiceCode>
<ServiceTypeID>1</ServiceTypeID>
</SimpleProblem>
<SimpleProblem>
<AccountID>6</AccountID>
<Code>sample string 9</Code>
<Color>sample string 10</Color>
<Description>sample string 4</Description>
<ID>3</ID>
<IsEditable>true</IsEditable>
<IsSelectable>true</IsSelectable>
<ShortDescription>sample string 11</ShortDescription>
<Value>sample string 5</Value>
<ServiceCode>sample string 2</ServiceCode>
<ServiceTypeID>1</ServiceTypeID>
</SimpleProblem>
</ArrayOfSimpleProblem>