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-06-15T21:03:30.9968955+04:00",
"UpdatedBy": 1,
"UpdatedOn": "2026-06-15T21:03:30.9968955+04:00",
"CreatedByName": "sample string 10",
"UpdatedByName": "sample string 11",
"Base64StringImage": "sample string 12",
"Img": "QEA=",
"ImagePath": "sample string 13",
"ScheduleDate": "2026-06-15T21:03:30.9968955+04:00",
"DivisionId": "1694075c-e29e-45b2-920a-8885c718f6d1",
"AssetId": "d142d37c-f54f-453b-9132-ef973ac56120",
"BuildingId": "9b057fec-10cd-4f3e-afce-cd77b56a9e36",
"SubBuildingId": "1e48518d-4902-4f99-91e6-96738e366bf3",
"LocationId": "dceab334-6511-443c-ab7a-229419b07605",
"CHDivisionId": "811511ad-7a04-4876-a9bc-3cdd6bd619b5",
"CHAssetId": "33a4d3a2-fc36-4c1e-b29a-3f5324d2a978",
"CHBuildingId": "d5d0edf2-a360-4d15-96af-0f8668e54339",
"CHSubBuildingId": "0c53f2c2-75f0-4e9d-9ff4-22a4ba69a4f1",
"CHLocationId": "ed3275a2-4120-46f1-a8d5-548ab528e7c7"
}
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-06-15T21:03:30.9968955+04:00","UpdatedBy":1,"UpdatedOn":"2026-06-15T21:03:30.9968955+04:00","CreatedByName":"sample string 10","UpdatedByName":"sample string 11","Base64StringImage":"sample string 12","Img":"QEA=","ImagePath":"sample string 13","ScheduleDate":"2026-06-15T21:03:30.9968955+04:00","DivisionId":"1694075c-e29e-45b2-920a-8885c718f6d1","AssetId":"d142d37c-f54f-453b-9132-ef973ac56120","BuildingId":"9b057fec-10cd-4f3e-afce-cd77b56a9e36","SubBuildingId":"1e48518d-4902-4f99-91e6-96738e366bf3","LocationId":"dceab334-6511-443c-ab7a-229419b07605","CHDivisionId":"811511ad-7a04-4876-a9bc-3cdd6bd619b5","CHAssetId":"33a4d3a2-fc36-4c1e-b29a-3f5324d2a978","CHBuildingId":"d5d0edf2-a360-4d15-96af-0f8668e54339","CHSubBuildingId":"0c53f2c2-75f0-4e9d-9ff4-22a4ba69a4f1","CHLocationId":"ed3275a2-4120-46f1-a8d5-548ab528e7c7"}
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>d142d37c-f54f-453b-9132-ef973ac56120</AssetId> <Base64StringImage>sample string 12</Base64StringImage> <BuildingId>9b057fec-10cd-4f3e-afce-cd77b56a9e36</BuildingId> <CHAssetId>33a4d3a2-fc36-4c1e-b29a-3f5324d2a978</CHAssetId> <CHBuildingId>d5d0edf2-a360-4d15-96af-0f8668e54339</CHBuildingId> <CHDivisionId>811511ad-7a04-4876-a9bc-3cdd6bd619b5</CHDivisionId> <CHLocationId>ed3275a2-4120-46f1-a8d5-548ab528e7c7</CHLocationId> <CHSubBuildingId>0c53f2c2-75f0-4e9d-9ff4-22a4ba69a4f1</CHSubBuildingId> <CreatedBy>8</CreatedBy> <CreatedByName>sample string 10</CreatedByName> <CreatedOn>2026-06-15T21:03:30.9968955+04:00</CreatedOn> <DivisionId>1694075c-e29e-45b2-920a-8885c718f6d1</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>dceab334-6511-443c-ab7a-229419b07605</LocationId> <ScheduleCheckListId>2</ScheduleCheckListId> <ScheduleDate>2026-06-15T21:03:30.9968955+04:00</ScheduleDate> <SubBuildingId>1e48518d-4902-4f99-91e6-96738e366bf3</SubBuildingId> <UpdatedBy>1</UpdatedBy> <UpdatedByName>sample string 11</UpdatedByName> <UpdatedOn>2026-06-15T21:03:30.9968955+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>