POST api/Inspection/mobileinspectionattachment
Request Information
URI Parameters
None.
Body Parameters
MobileInspectionAttachment| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountID | integer |
None. |
|
| InspectionHistoryID | integer |
None. |
|
| QuestionID | integer |
None. |
|
| AttachmentType | string |
None. |
|
| AttachmentName | string |
None. |
|
| AttachmentContent | Collection of byte |
None. |
|
| UserName | string |
None. |
|
| LastChangedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountID": 1,
"InspectionHistoryID": 2,
"QuestionID": 1,
"AttachmentType": "sample string 3",
"AttachmentName": "sample string 4",
"AttachmentContent": "QEA=",
"UserName": "sample string 5",
"LastChangedDate": "2025-12-20T23:22:52.6901574Z"
}
application/xml, text/xml
Sample:
<MobileInspectionAttachment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models"> <_x003C_AccountID_x003E_k__BackingField>1</_x003C_AccountID_x003E_k__BackingField> <_x003C_AttachmentContent_x003E_k__BackingField>QEA=</_x003C_AttachmentContent_x003E_k__BackingField> <_x003C_AttachmentName_x003E_k__BackingField>sample string 4</_x003C_AttachmentName_x003E_k__BackingField> <_x003C_AttachmentType_x003E_k__BackingField>sample string 3</_x003C_AttachmentType_x003E_k__BackingField> <_x003C_InspectionHistoryID_x003E_k__BackingField>2</_x003C_InspectionHistoryID_x003E_k__BackingField> <_x003C_LastChangedDate_x003E_k__BackingField>2025-12-20T23:22:52.6901574+00:00</_x003C_LastChangedDate_x003E_k__BackingField> <_x003C_QuestionID_x003E_k__BackingField>1</_x003C_QuestionID_x003E_k__BackingField> <_x003C_UserName_x003E_k__BackingField>sample string 5</_x003C_UserName_x003E_k__BackingField> </MobileInspectionAttachment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>