POST Api/ImageApi/Update
Request Information
URI Parameters
None.
Body Parameters
ImagesDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ScheduleCheckListId | integer |
Required Matching regular expression pattern: ^[0-9]*$ |
|
| EntityId | integer |
Required Matching regular expression pattern: ^[0-9]*$ |
|
| EntityType | integer |
Required Matching regular expression pattern: ^[0-9]*$ |
|
| ImageName | string |
String length: inclusive between 0 and 250 |
|
| ImageComment | string |
String length: inclusive between 0 and 250 |
|
| IsShow | boolean |
Required Range: inclusive between false and true |
|
| IsDeleted | boolean |
Required Range: inclusive between false and true |
|
| CreatedBy | integer |
Required |
|
| CreatedOn | date |
Required Data type: DateTime |
|
| UpdatedBy | integer |
Matching regular expression pattern: ^[0-9]*$ |
|
| UpdatedOn | date |
Data type: DateTime |
|
| CreatedByName | string |
None. |
|
| UpdatedByName | string |
None. |
|
| Base64StringImage | string |
None. |
|
| Img | Collection of byte |
None. |
|
| ImagePath | string |
None. |
|
| ScheduleDate | date |
None. |
|
| DivisionId | globally unique identifier |
None. |
|
| AssetId | globally unique identifier |
None. |
|
| BuildingId | globally unique identifier |
None. |
|
| SubBuildingId | globally unique identifier |
None. |
|
| LocationId | globally unique identifier |
None. |
|
| CHDivisionId | globally unique identifier |
None. |
|
| CHAssetId | globally unique identifier |
None. |
|
| CHBuildingId | globally unique identifier |
None. |
|
| CHSubBuildingId | globally unique identifier |
None. |
|
| CHLocationId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ScheduleCheckListId": 2,
"EntityId": 3,
"EntityType": 4,
"ImageName": "sample string 5",
"ImageComment": "sample string 6",
"IsShow": true,
"IsDeleted": true,
"CreatedBy": 8,
"CreatedOn": "2026-09-15T09:51:07.4365313+04:00",
"UpdatedBy": 1,
"UpdatedOn": "2026-09-15T09:51:07.4365313+04:00",
"CreatedByName": "sample string 10",
"UpdatedByName": "sample string 11",
"Base64StringImage": "sample string 12",
"Img": "QEA=",
"ImagePath": "sample string 13",
"ScheduleDate": "2026-09-15T09:51:07.4365313+04:00",
"DivisionId": "f24e17d3-ebc2-48ab-b483-ef51c7a65374",
"AssetId": "162b2fdd-1926-4686-ac46-9ca050f93453",
"BuildingId": "44c6786b-8672-46e6-bc7a-04a4a27685df",
"SubBuildingId": "a8e586bb-5dcd-4c28-b0ba-4e9294b8f257",
"LocationId": "2c429c95-caad-4dea-a77a-4fe5c3e86b7b",
"CHDivisionId": "12331fcf-5211-4db8-a665-a5808894ba45",
"CHAssetId": "d06d2674-bf97-4305-b62e-1dcf80127956",
"CHBuildingId": "b1982a52-20e7-488f-9135-31ea5a319860",
"CHSubBuildingId": "a1c3629d-dfec-4830-9267-f192edc76649",
"CHLocationId": "6fb1cbba-7b1a-47c3-aba3-1460550e12d0"
}
text/html, multipart/form-data
Sample:
{"Id":1,"ScheduleCheckListId":2,"EntityId":3,"EntityType":4,"ImageName":"sample string 5","ImageComment":"sample string 6","IsShow":true,"IsDeleted":true,"CreatedBy":8,"CreatedOn":"2026-09-15T09:51:07.4365313+04:00","UpdatedBy":1,"UpdatedOn":"2026-09-15T09:51:07.4365313+04:00","CreatedByName":"sample string 10","UpdatedByName":"sample string 11","Base64StringImage":"sample string 12","Img":"QEA=","ImagePath":"sample string 13","ScheduleDate":"2026-09-15T09:51:07.4365313+04:00","DivisionId":"f24e17d3-ebc2-48ab-b483-ef51c7a65374","AssetId":"162b2fdd-1926-4686-ac46-9ca050f93453","BuildingId":"44c6786b-8672-46e6-bc7a-04a4a27685df","SubBuildingId":"a8e586bb-5dcd-4c28-b0ba-4e9294b8f257","LocationId":"2c429c95-caad-4dea-a77a-4fe5c3e86b7b","CHDivisionId":"12331fcf-5211-4db8-a665-a5808894ba45","CHAssetId":"d06d2674-bf97-4305-b62e-1dcf80127956","CHBuildingId":"b1982a52-20e7-488f-9135-31ea5a319860","CHSubBuildingId":"a1c3629d-dfec-4830-9267-f192edc76649","CHLocationId":"6fb1cbba-7b1a-47c3-aba3-1460550e12d0"}
application/xml, text/xml
Sample:
<ImagesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO"> <AssetId>162b2fdd-1926-4686-ac46-9ca050f93453</AssetId> <Base64StringImage>sample string 12</Base64StringImage> <BuildingId>44c6786b-8672-46e6-bc7a-04a4a27685df</BuildingId> <CHAssetId>d06d2674-bf97-4305-b62e-1dcf80127956</CHAssetId> <CHBuildingId>b1982a52-20e7-488f-9135-31ea5a319860</CHBuildingId> <CHDivisionId>12331fcf-5211-4db8-a665-a5808894ba45</CHDivisionId> <CHLocationId>6fb1cbba-7b1a-47c3-aba3-1460550e12d0</CHLocationId> <CHSubBuildingId>a1c3629d-dfec-4830-9267-f192edc76649</CHSubBuildingId> <CreatedBy>8</CreatedBy> <CreatedByName>sample string 10</CreatedByName> <CreatedOn>2026-09-15T09:51:07.4365313+04:00</CreatedOn> <DivisionId>f24e17d3-ebc2-48ab-b483-ef51c7a65374</DivisionId> <EntityId>3</EntityId> <EntityType>4</EntityType> <Id>1</Id> <ImageComment>sample string 6</ImageComment> <ImageName>sample string 5</ImageName> <ImagePath>sample string 13</ImagePath> <Img>QEA=</Img> <IsDeleted>true</IsDeleted> <IsShow>true</IsShow> <LocationId>2c429c95-caad-4dea-a77a-4fe5c3e86b7b</LocationId> <ScheduleCheckListId>2</ScheduleCheckListId> <ScheduleDate>2026-09-15T09:51:07.4365313+04:00</ScheduleDate> <SubBuildingId>a8e586bb-5dcd-4c28-b0ba-4e9294b8f257</SubBuildingId> <UpdatedBy>1</UpdatedBy> <UpdatedByName>sample string 11</UpdatedByName> <UpdatedOn>2026-09-15T09:51:07.4365313+04:00</UpdatedOn> </ImagesDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse Formats
application/json, text/json, text/html, multipart/form-data
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>