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 WorkRequestAttachment| Name | 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-11-04T03:47:31.4060662Z",
    "Attachment": {
      "ID": 1,
      "AttachmentName": "sample string 2",
      "AttachmentContent": "QEA=",
      "AttachmentType": "sample string 3",
      "AccountID": 4,
      "UserName": "sample string 5",
      "LastChanged": "2025-11-04T03:47:31.4060662Z"
    }
  },
  {
    "ID": 1,
    "WorkRequestId": 2,
    "AttachmentID": 3,
    "UserName": "sample string 4",
    "LastChanged": "2025-11-04T03:47:31.4060662Z",
    "Attachment": {
      "ID": 1,
      "AttachmentName": "sample string 2",
      "AttachmentContent": "QEA=",
      "AttachmentType": "sample string 3",
      "AccountID": 4,
      "UserName": "sample string 5",
      "LastChanged": "2025-11-04T03:47:31.4060662Z"
    }
  }
]
        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-11-04T03:47:31.4060662+00:00</LastChanged>
      <UserName>sample string 5</UserName>
    </Attachment>
    <AttachmentID>3</AttachmentID>
    <ID>1</ID>
    <LastChanged>2025-11-04T03:47:31.4060662+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-11-04T03:47:31.4060662+00:00</LastChanged>
      <UserName>sample string 5</UserName>
    </Attachment>
    <AttachmentID>3</AttachmentID>
    <ID>1</ID>
    <LastChanged>2025-11-04T03:47:31.4060662+00:00</LastChanged>
    <UserName>sample string 4</UserName>
    <WorkRequestId>2</WorkRequestId>
  </WorkRequestAttachment>
</ArrayOfWorkRequestAttachment>