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": "2025-12-14T17:45:12.0377892+04:00",
"UpdatedBy": 1,
"UpdatedOn": "2025-12-14T17:45:12.0377892+04:00",
"CreatedByName": "sample string 10",
"UpdatedByName": "sample string 11",
"Base64StringImage": "sample string 12",
"Img": "QEA=",
"ImagePath": "sample string 13",
"ScheduleDate": "2025-12-14T17:45:12.0377892+04:00",
"DivisionId": "deed7326-e7a1-499f-a3c0-90ebd37c8974",
"AssetId": "8a99afc7-c439-4d33-a8b8-3e3698ac56e4",
"BuildingId": "175b8121-0d11-456d-a701-a986aa8700c4",
"SubBuildingId": "d1820fb3-4f38-44d9-867f-03151483699f",
"LocationId": "b8ee6cfc-a00d-47ff-a841-98bee5061ded",
"CHDivisionId": "94593a3b-9bf2-4729-bfb9-efb222aa1087",
"CHAssetId": "334f7497-d8a4-4beb-b003-c516355d62dd",
"CHBuildingId": "ac04ba86-b3d1-4f46-b7c0-1d89af11d310",
"CHSubBuildingId": "41d1c447-37d8-40d4-911a-5afe5ee89f17",
"CHLocationId": "dd857bce-38e1-4760-8efe-76555ad6a076"
}
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":"2025-12-14T17:45:12.0377892+04:00","UpdatedBy":1,"UpdatedOn":"2025-12-14T17:45:12.0377892+04:00","CreatedByName":"sample string 10","UpdatedByName":"sample string 11","Base64StringImage":"sample string 12","Img":"QEA=","ImagePath":"sample string 13","ScheduleDate":"2025-12-14T17:45:12.0377892+04:00","DivisionId":"deed7326-e7a1-499f-a3c0-90ebd37c8974","AssetId":"8a99afc7-c439-4d33-a8b8-3e3698ac56e4","BuildingId":"175b8121-0d11-456d-a701-a986aa8700c4","SubBuildingId":"d1820fb3-4f38-44d9-867f-03151483699f","LocationId":"b8ee6cfc-a00d-47ff-a841-98bee5061ded","CHDivisionId":"94593a3b-9bf2-4729-bfb9-efb222aa1087","CHAssetId":"334f7497-d8a4-4beb-b003-c516355d62dd","CHBuildingId":"ac04ba86-b3d1-4f46-b7c0-1d89af11d310","CHSubBuildingId":"41d1c447-37d8-40d4-911a-5afe5ee89f17","CHLocationId":"dd857bce-38e1-4760-8efe-76555ad6a076"}
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>8a99afc7-c439-4d33-a8b8-3e3698ac56e4</AssetId> <Base64StringImage>sample string 12</Base64StringImage> <BuildingId>175b8121-0d11-456d-a701-a986aa8700c4</BuildingId> <CHAssetId>334f7497-d8a4-4beb-b003-c516355d62dd</CHAssetId> <CHBuildingId>ac04ba86-b3d1-4f46-b7c0-1d89af11d310</CHBuildingId> <CHDivisionId>94593a3b-9bf2-4729-bfb9-efb222aa1087</CHDivisionId> <CHLocationId>dd857bce-38e1-4760-8efe-76555ad6a076</CHLocationId> <CHSubBuildingId>41d1c447-37d8-40d4-911a-5afe5ee89f17</CHSubBuildingId> <CreatedBy>8</CreatedBy> <CreatedByName>sample string 10</CreatedByName> <CreatedOn>2025-12-14T17:45:12.0377892+04:00</CreatedOn> <DivisionId>deed7326-e7a1-499f-a3c0-90ebd37c8974</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>b8ee6cfc-a00d-47ff-a841-98bee5061ded</LocationId> <ScheduleCheckListId>2</ScheduleCheckListId> <ScheduleDate>2025-12-14T17:45:12.0377892+04:00</ScheduleDate> <SubBuildingId>d1820fb3-4f38-44d9-867f-03151483699f</SubBuildingId> <UpdatedBy>1</UpdatedBy> <UpdatedByName>sample string 11</UpdatedByName> <UpdatedOn>2025-12-14T17:45:12.0377892+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>