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-03-15T05:17:01.1074306+04:00",
"UpdatedBy": 1,
"UpdatedOn": "2026-03-15T05:17:01.1074306+04:00",
"CreatedByName": "sample string 10",
"UpdatedByName": "sample string 11",
"Base64StringImage": "sample string 12",
"Img": "QEA=",
"ImagePath": "sample string 13",
"ScheduleDate": "2026-03-15T05:17:01.1084307+04:00",
"DivisionId": "3f39c9bd-92b3-4401-9659-83177e0bdc9f",
"AssetId": "7f9d42d7-0161-4961-a5d2-8bc812404024",
"BuildingId": "e6215280-ea4f-4383-9432-6d092de89553",
"SubBuildingId": "2c4802c8-c218-433d-a0f1-fb37736e9f3f",
"LocationId": "37696feb-f38c-4857-b320-6dfdfeb3d872",
"CHDivisionId": "3f76e2bb-8cf8-4b1e-8c57-9bfe34854e57",
"CHAssetId": "3e8f552f-82ce-47a9-a1b0-f5cbc9e00fd5",
"CHBuildingId": "aa9f1fff-b02b-4f3e-8321-b63b652f30c4",
"CHSubBuildingId": "970a0bc4-8da6-45bb-a547-67bf488fb778",
"CHLocationId": "aec09e4a-3e64-4c0d-9534-08c3249b54f6"
}
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-03-15T05:17:01.1074306+04:00","UpdatedBy":1,"UpdatedOn":"2026-03-15T05:17:01.1074306+04:00","CreatedByName":"sample string 10","UpdatedByName":"sample string 11","Base64StringImage":"sample string 12","Img":"QEA=","ImagePath":"sample string 13","ScheduleDate":"2026-03-15T05:17:01.1084307+04:00","DivisionId":"3f39c9bd-92b3-4401-9659-83177e0bdc9f","AssetId":"7f9d42d7-0161-4961-a5d2-8bc812404024","BuildingId":"e6215280-ea4f-4383-9432-6d092de89553","SubBuildingId":"2c4802c8-c218-433d-a0f1-fb37736e9f3f","LocationId":"37696feb-f38c-4857-b320-6dfdfeb3d872","CHDivisionId":"3f76e2bb-8cf8-4b1e-8c57-9bfe34854e57","CHAssetId":"3e8f552f-82ce-47a9-a1b0-f5cbc9e00fd5","CHBuildingId":"aa9f1fff-b02b-4f3e-8321-b63b652f30c4","CHSubBuildingId":"970a0bc4-8da6-45bb-a547-67bf488fb778","CHLocationId":"aec09e4a-3e64-4c0d-9534-08c3249b54f6"}
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>7f9d42d7-0161-4961-a5d2-8bc812404024</AssetId> <Base64StringImage>sample string 12</Base64StringImage> <BuildingId>e6215280-ea4f-4383-9432-6d092de89553</BuildingId> <CHAssetId>3e8f552f-82ce-47a9-a1b0-f5cbc9e00fd5</CHAssetId> <CHBuildingId>aa9f1fff-b02b-4f3e-8321-b63b652f30c4</CHBuildingId> <CHDivisionId>3f76e2bb-8cf8-4b1e-8c57-9bfe34854e57</CHDivisionId> <CHLocationId>aec09e4a-3e64-4c0d-9534-08c3249b54f6</CHLocationId> <CHSubBuildingId>970a0bc4-8da6-45bb-a547-67bf488fb778</CHSubBuildingId> <CreatedBy>8</CreatedBy> <CreatedByName>sample string 10</CreatedByName> <CreatedOn>2026-03-15T05:17:01.1074306+04:00</CreatedOn> <DivisionId>3f39c9bd-92b3-4401-9659-83177e0bdc9f</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>37696feb-f38c-4857-b320-6dfdfeb3d872</LocationId> <ScheduleCheckListId>2</ScheduleCheckListId> <ScheduleDate>2026-03-15T05:17:01.1084307+04:00</ScheduleDate> <SubBuildingId>2c4802c8-c218-433d-a0f1-fb37736e9f3f</SubBuildingId> <UpdatedBy>1</UpdatedBy> <UpdatedByName>sample string 11</UpdatedByName> <UpdatedOn>2026-03-15T05:17:01.1074306+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>