POST api/checklist/UpdateImage?questionId={questionId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| questionId | integer |
Required |
Body Parameters
ChecklistQuestionModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ChecklistId | integer |
None. |
|
| ChecklistTemplateQuestionId | integer |
None. |
|
| Name | string |
None. |
|
| Status | integer |
None. |
|
| Comment | string |
None. |
|
| Explanation | string |
None. |
|
| QuestionGroup | string |
None. |
|
| Sort | integer |
None. |
|
| Image64 | string |
None. |
|
| CreatedById | integer |
None. |
|
| Created | date |
None. |
|
| ChangedById | integer |
None. |
|
| Changed | date |
None. |
|
| AnswerId | integer |
None. |
|
| AnswerOptions | Collection of ChecklistQuestionAnswer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ChecklistId": 2,
"ChecklistTemplateQuestionId": 3,
"Name": "sample string 4",
"Status": 1,
"Comment": "sample string 5",
"Explanation": "sample string 6",
"QuestionGroup": "sample string 7",
"Sort": 1,
"Image64": "sample string 8",
"CreatedById": 1,
"Created": "2025-12-10T05:06:05.7923623+01:00",
"ChangedById": 1,
"Changed": "2025-12-10T05:06:05.7923623+01:00",
"AnswerId": 1,
"AnswerOptions": [
{
"Id": 1,
"Name": "sample string 2"
},
{
"Id": 1,
"Name": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<ChecklistQuestionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ResopApi.Models.Checklist">
<AnswerId>1</AnswerId>
<AnswerOptions>
<ChecklistQuestionAnswer>
<Id>1</Id>
<Name>sample string 2</Name>
</ChecklistQuestionAnswer>
<ChecklistQuestionAnswer>
<Id>1</Id>
<Name>sample string 2</Name>
</ChecklistQuestionAnswer>
</AnswerOptions>
<Changed>2025-12-10T05:06:05.7923623+01:00</Changed>
<ChangedById>1</ChangedById>
<ChecklistId>2</ChecklistId>
<ChecklistTemplateQuestionId>3</ChecklistTemplateQuestionId>
<Comment>sample string 5</Comment>
<Created>2025-12-10T05:06:05.7923623+01:00</Created>
<CreatedById>1</CreatedById>
<Explanation>sample string 6</Explanation>
<Id>1</Id>
<Image64>sample string 8</Image64>
<Name>sample string 4</Name>
<QuestionGroup>sample string 7</QuestionGroup>
<Sort>1</Sort>
<Status>1</Status>
</ChecklistQuestionModel>
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>