POST api/WorkRequests/mobileworkrequestsattachment
Request Information
URI Parameters
None.
Body Parameters
WorkRequestAttachment| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| WorkRequestId | integer |
None. |
|
| AttachmentID | integer |
None. |
|
| UserName | string |
None. |
|
| LastChanged | date |
None. |
|
| Attachment | Attachment |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"WorkRequestId": 2,
"AttachmentID": 3,
"UserName": "sample string 4",
"LastChanged": "2025-11-04T03:49:45.5090029Z",
"Attachment": {
"ID": 1,
"AttachmentName": "sample string 2",
"AttachmentContent": "QEA=",
"AttachmentType": "sample string 3",
"AccountID": 4,
"UserName": "sample string 5",
"LastChanged": "2025-11-04T03:49:45.5090029Z"
}
}
application/xml, text/xml
Sample:
<WorkRequestAttachment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models">
<Attachment>
<AccountID>4</AccountID>
<AttachmentContent>QEA=</AttachmentContent>
<AttachmentName>sample string 2</AttachmentName>
<AttachmentType>sample string 3</AttachmentType>
<ID>1</ID>
<LastChanged>2025-11-04T03:49:45.5090029+00:00</LastChanged>
<UserName>sample string 5</UserName>
</Attachment>
<AttachmentID>3</AttachmentID>
<ID>1</ID>
<LastChanged>2025-11-04T03:49:45.5090029+00:00</LastChanged>
<UserName>sample string 4</UserName>
<WorkRequestId>2</WorkRequestId>
</WorkRequestAttachment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of MobileSaveResult| Name | Description | Type | Additional information |
|---|---|---|---|
| OldID | integer |
None. |
|
| NewID | integer |
None. |
|
| OldNumber | string |
None. |
|
| NewNumber | string |
None. |
|
| Message | string |
None. |
|
| Type | string |
None. |
|
| IsError | boolean |
None. |
|
| AccountID | integer |
None. |
|
| BuildingID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"OldID": 1,
"NewID": 2,
"OldNumber": "sample string 3",
"NewNumber": "sample string 4",
"Message": "sample string 5",
"Type": "sample string 6",
"IsError": true,
"AccountID": 8,
"BuildingID": 9
},
{
"OldID": 1,
"NewID": 2,
"OldNumber": "sample string 3",
"NewNumber": "sample string 4",
"Message": "sample string 5",
"Type": "sample string 6",
"IsError": true,
"AccountID": 8,
"BuildingID": 9
}
]
application/xml, text/xml
Sample:
<ArrayOfMobileSaveResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models">
<MobileSaveResult>
<AccountID>8</AccountID>
<BuildingID>9</BuildingID>
<IsError>true</IsError>
<Message>sample string 5</Message>
<NewID>2</NewID>
<NewNumber>sample string 4</NewNumber>
<OldID>1</OldID>
<OldNumber>sample string 3</OldNumber>
<Type>sample string 6</Type>
</MobileSaveResult>
<MobileSaveResult>
<AccountID>8</AccountID>
<BuildingID>9</BuildingID>
<IsError>true</IsError>
<Message>sample string 5</Message>
<NewID>2</NewID>
<NewNumber>sample string 4</NewNumber>
<OldID>1</OldID>
<OldNumber>sample string 3</OldNumber>
<Type>sample string 6</Type>
</MobileSaveResult>
</ArrayOfMobileSaveResult>