POST api/WorkRequests/wrattachment?workRequestId={workRequestId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
workRequestId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of WorkRequestAttachmentName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
WorkRequestId | integer |
None. |
|
AttachmentID | integer |
None. |
|
UserName | string |
None. |
|
LastChanged | date |
None. |
|
Attachment | Attachment |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "WorkRequestId": 2, "AttachmentID": 3, "UserName": "sample string 4", "LastChanged": "2025-04-04T09:01:16.519816Z", "Attachment": { "ID": 1, "AttachmentName": "sample string 2", "AttachmentContent": "QEA=", "AttachmentType": "sample string 3", "AccountID": 4, "UserName": "sample string 5", "LastChanged": "2025-04-04T09:01:16.519816Z" } }, { "ID": 1, "WorkRequestId": 2, "AttachmentID": 3, "UserName": "sample string 4", "LastChanged": "2025-04-04T09:01:16.519816Z", "Attachment": { "ID": 1, "AttachmentName": "sample string 2", "AttachmentContent": "QEA=", "AttachmentType": "sample string 3", "AccountID": 4, "UserName": "sample string 5", "LastChanged": "2025-04-04T09:01:16.519816Z" } } ]
application/xml, text/xml
Sample:
<ArrayOfWorkRequestAttachment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models"> <WorkRequestAttachment> <Attachment> <AccountID>4</AccountID> <AttachmentContent>QEA=</AttachmentContent> <AttachmentName>sample string 2</AttachmentName> <AttachmentType>sample string 3</AttachmentType> <ID>1</ID> <LastChanged>2025-04-04T09:01:16.519816+00:00</LastChanged> <UserName>sample string 5</UserName> </Attachment> <AttachmentID>3</AttachmentID> <ID>1</ID> <LastChanged>2025-04-04T09:01:16.519816+00:00</LastChanged> <UserName>sample string 4</UserName> <WorkRequestId>2</WorkRequestId> </WorkRequestAttachment> <WorkRequestAttachment> <Attachment> <AccountID>4</AccountID> <AttachmentContent>QEA=</AttachmentContent> <AttachmentName>sample string 2</AttachmentName> <AttachmentType>sample string 3</AttachmentType> <ID>1</ID> <LastChanged>2025-04-04T09:01:16.519816+00:00</LastChanged> <UserName>sample string 5</UserName> </Attachment> <AttachmentID>3</AttachmentID> <ID>1</ID> <LastChanged>2025-04-04T09:01:16.519816+00:00</LastChanged> <UserName>sample string 4</UserName> <WorkRequestId>2</WorkRequestId> </WorkRequestAttachment> </ArrayOfWorkRequestAttachment>