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-07-31T23:49:31.5960749+04:00",
"UpdatedBy": 1,
"UpdatedOn": "2026-07-31T23:49:31.5960749+04:00",
"CreatedByName": "sample string 10",
"UpdatedByName": "sample string 11",
"Base64StringImage": "sample string 12",
"Img": "QEA=",
"ImagePath": "sample string 13",
"ScheduleDate": "2026-07-31T23:49:31.5960749+04:00",
"DivisionId": "77d19a4c-2c27-4207-b948-64222c86ada2",
"AssetId": "f0f37f48-4df1-4ed3-a0da-053e85e522ab",
"BuildingId": "cc1e99f4-288b-4c7a-aaca-a95b758e06a4",
"SubBuildingId": "930993b5-fc9d-4df5-98ee-be1260b3e770",
"LocationId": "fab2ce01-c9a1-4f38-b706-08c284f77df2",
"CHDivisionId": "e4f1a17e-0922-48be-9534-f922395fcb87",
"CHAssetId": "860e4fe8-8fe8-4c9f-ac3a-e0d5b2aab3f3",
"CHBuildingId": "4accf500-4627-4e57-a611-f924edbf02c6",
"CHSubBuildingId": "5c0cc994-f123-445b-9755-836fb31b6464",
"CHLocationId": "829e024f-6536-4d9b-8b8e-446f0b1cbcc0"
}
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-07-31T23:49:31.5960749+04:00","UpdatedBy":1,"UpdatedOn":"2026-07-31T23:49:31.5960749+04:00","CreatedByName":"sample string 10","UpdatedByName":"sample string 11","Base64StringImage":"sample string 12","Img":"QEA=","ImagePath":"sample string 13","ScheduleDate":"2026-07-31T23:49:31.5960749+04:00","DivisionId":"77d19a4c-2c27-4207-b948-64222c86ada2","AssetId":"f0f37f48-4df1-4ed3-a0da-053e85e522ab","BuildingId":"cc1e99f4-288b-4c7a-aaca-a95b758e06a4","SubBuildingId":"930993b5-fc9d-4df5-98ee-be1260b3e770","LocationId":"fab2ce01-c9a1-4f38-b706-08c284f77df2","CHDivisionId":"e4f1a17e-0922-48be-9534-f922395fcb87","CHAssetId":"860e4fe8-8fe8-4c9f-ac3a-e0d5b2aab3f3","CHBuildingId":"4accf500-4627-4e57-a611-f924edbf02c6","CHSubBuildingId":"5c0cc994-f123-445b-9755-836fb31b6464","CHLocationId":"829e024f-6536-4d9b-8b8e-446f0b1cbcc0"}
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>f0f37f48-4df1-4ed3-a0da-053e85e522ab</AssetId> <Base64StringImage>sample string 12</Base64StringImage> <BuildingId>cc1e99f4-288b-4c7a-aaca-a95b758e06a4</BuildingId> <CHAssetId>860e4fe8-8fe8-4c9f-ac3a-e0d5b2aab3f3</CHAssetId> <CHBuildingId>4accf500-4627-4e57-a611-f924edbf02c6</CHBuildingId> <CHDivisionId>e4f1a17e-0922-48be-9534-f922395fcb87</CHDivisionId> <CHLocationId>829e024f-6536-4d9b-8b8e-446f0b1cbcc0</CHLocationId> <CHSubBuildingId>5c0cc994-f123-445b-9755-836fb31b6464</CHSubBuildingId> <CreatedBy>8</CreatedBy> <CreatedByName>sample string 10</CreatedByName> <CreatedOn>2026-07-31T23:49:31.5960749+04:00</CreatedOn> <DivisionId>77d19a4c-2c27-4207-b948-64222c86ada2</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>fab2ce01-c9a1-4f38-b706-08c284f77df2</LocationId> <ScheduleCheckListId>2</ScheduleCheckListId> <ScheduleDate>2026-07-31T23:49:31.5960749+04:00</ScheduleDate> <SubBuildingId>930993b5-fc9d-4df5-98ee-be1260b3e770</SubBuildingId> <UpdatedBy>1</UpdatedBy> <UpdatedByName>sample string 11</UpdatedByName> <UpdatedOn>2026-07-31T23:49:31.5960749+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>