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-01-29T03:10:00.0406992+04:00",
"UpdatedBy": 1,
"UpdatedOn": "2026-01-29T03:10:00.0406992+04:00",
"CreatedByName": "sample string 10",
"UpdatedByName": "sample string 11",
"Base64StringImage": "sample string 12",
"Img": "QEA=",
"ImagePath": "sample string 13",
"ScheduleDate": "2026-01-29T03:10:00.0406992+04:00",
"DivisionId": "3cdb0fc6-ad6e-429c-a45b-8f9366dd385d",
"AssetId": "91d490da-6100-4de0-abe2-ec9c676bba62",
"BuildingId": "fe179211-aa97-4b96-9dd5-cca27aa88c28",
"SubBuildingId": "35329f7c-fc8e-40da-b9f5-3cc7b038d17c",
"LocationId": "0e0b9160-c65e-42a5-87d3-731bd70f401a",
"CHDivisionId": "d045ffec-4168-43bf-ad5d-05eb2bc5b156",
"CHAssetId": "2dbd24a1-ffc4-4f7a-8d9a-b88be249c93f",
"CHBuildingId": "466c7ce2-cd58-426d-bb34-90d60964de88",
"CHSubBuildingId": "2cfb0811-c58b-4ae2-a456-c89e47797aab",
"CHLocationId": "2c05f65c-3788-4a83-877c-c8bf3c83b7df"
}
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-01-29T03:10:00.0406992+04:00","UpdatedBy":1,"UpdatedOn":"2026-01-29T03:10:00.0406992+04:00","CreatedByName":"sample string 10","UpdatedByName":"sample string 11","Base64StringImage":"sample string 12","Img":"QEA=","ImagePath":"sample string 13","ScheduleDate":"2026-01-29T03:10:00.0406992+04:00","DivisionId":"3cdb0fc6-ad6e-429c-a45b-8f9366dd385d","AssetId":"91d490da-6100-4de0-abe2-ec9c676bba62","BuildingId":"fe179211-aa97-4b96-9dd5-cca27aa88c28","SubBuildingId":"35329f7c-fc8e-40da-b9f5-3cc7b038d17c","LocationId":"0e0b9160-c65e-42a5-87d3-731bd70f401a","CHDivisionId":"d045ffec-4168-43bf-ad5d-05eb2bc5b156","CHAssetId":"2dbd24a1-ffc4-4f7a-8d9a-b88be249c93f","CHBuildingId":"466c7ce2-cd58-426d-bb34-90d60964de88","CHSubBuildingId":"2cfb0811-c58b-4ae2-a456-c89e47797aab","CHLocationId":"2c05f65c-3788-4a83-877c-c8bf3c83b7df"}
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>91d490da-6100-4de0-abe2-ec9c676bba62</AssetId> <Base64StringImage>sample string 12</Base64StringImage> <BuildingId>fe179211-aa97-4b96-9dd5-cca27aa88c28</BuildingId> <CHAssetId>2dbd24a1-ffc4-4f7a-8d9a-b88be249c93f</CHAssetId> <CHBuildingId>466c7ce2-cd58-426d-bb34-90d60964de88</CHBuildingId> <CHDivisionId>d045ffec-4168-43bf-ad5d-05eb2bc5b156</CHDivisionId> <CHLocationId>2c05f65c-3788-4a83-877c-c8bf3c83b7df</CHLocationId> <CHSubBuildingId>2cfb0811-c58b-4ae2-a456-c89e47797aab</CHSubBuildingId> <CreatedBy>8</CreatedBy> <CreatedByName>sample string 10</CreatedByName> <CreatedOn>2026-01-29T03:10:00.0406992+04:00</CreatedOn> <DivisionId>3cdb0fc6-ad6e-429c-a45b-8f9366dd385d</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>0e0b9160-c65e-42a5-87d3-731bd70f401a</LocationId> <ScheduleCheckListId>2</ScheduleCheckListId> <ScheduleDate>2026-01-29T03:10:00.0406992+04:00</ScheduleDate> <SubBuildingId>35329f7c-fc8e-40da-b9f5-3cc7b038d17c</SubBuildingId> <UpdatedBy>1</UpdatedBy> <UpdatedByName>sample string 11</UpdatedByName> <UpdatedOn>2026-01-29T03:10:00.0406992+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>