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-10-30T09:58:59.7153025+04:00",
"UpdatedBy": 1,
"UpdatedOn": "2025-10-30T09:58:59.7153025+04:00",
"CreatedByName": "sample string 10",
"UpdatedByName": "sample string 11",
"Base64StringImage": "sample string 12",
"Img": "QEA=",
"ImagePath": "sample string 13",
"ScheduleDate": "2025-10-30T09:58:59.7153025+04:00",
"DivisionId": "822cdf17-9948-4049-bb52-19672409a087",
"AssetId": "a0b336c0-0d80-47dc-9910-fd04e88c760c",
"BuildingId": "c8163a90-a8a4-4d34-90f6-78f6f53dc360",
"SubBuildingId": "0504cb9c-2fa0-4b60-92c0-699eaed80d43",
"LocationId": "940044b4-b70b-44ec-a3ba-12bd2bc545ee",
"CHDivisionId": "f18b5588-2ad9-47db-8a2e-823a88ccc988",
"CHAssetId": "56e4ce09-10a2-47b3-96f9-10dcff4fe4a5",
"CHBuildingId": "4d918c26-4d77-45d9-8b42-cb2b9d80e643",
"CHSubBuildingId": "ac6542e0-d585-4bff-be2b-ebf14ab45fb9",
"CHLocationId": "ce24c6cd-5087-4b78-bd2a-a534c2fb0054"
}
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-10-30T09:58:59.7153025+04:00","UpdatedBy":1,"UpdatedOn":"2025-10-30T09:58:59.7153025+04:00","CreatedByName":"sample string 10","UpdatedByName":"sample string 11","Base64StringImage":"sample string 12","Img":"QEA=","ImagePath":"sample string 13","ScheduleDate":"2025-10-30T09:58:59.7153025+04:00","DivisionId":"822cdf17-9948-4049-bb52-19672409a087","AssetId":"a0b336c0-0d80-47dc-9910-fd04e88c760c","BuildingId":"c8163a90-a8a4-4d34-90f6-78f6f53dc360","SubBuildingId":"0504cb9c-2fa0-4b60-92c0-699eaed80d43","LocationId":"940044b4-b70b-44ec-a3ba-12bd2bc545ee","CHDivisionId":"f18b5588-2ad9-47db-8a2e-823a88ccc988","CHAssetId":"56e4ce09-10a2-47b3-96f9-10dcff4fe4a5","CHBuildingId":"4d918c26-4d77-45d9-8b42-cb2b9d80e643","CHSubBuildingId":"ac6542e0-d585-4bff-be2b-ebf14ab45fb9","CHLocationId":"ce24c6cd-5087-4b78-bd2a-a534c2fb0054"}
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>a0b336c0-0d80-47dc-9910-fd04e88c760c</AssetId> <Base64StringImage>sample string 12</Base64StringImage> <BuildingId>c8163a90-a8a4-4d34-90f6-78f6f53dc360</BuildingId> <CHAssetId>56e4ce09-10a2-47b3-96f9-10dcff4fe4a5</CHAssetId> <CHBuildingId>4d918c26-4d77-45d9-8b42-cb2b9d80e643</CHBuildingId> <CHDivisionId>f18b5588-2ad9-47db-8a2e-823a88ccc988</CHDivisionId> <CHLocationId>ce24c6cd-5087-4b78-bd2a-a534c2fb0054</CHLocationId> <CHSubBuildingId>ac6542e0-d585-4bff-be2b-ebf14ab45fb9</CHSubBuildingId> <CreatedBy>8</CreatedBy> <CreatedByName>sample string 10</CreatedByName> <CreatedOn>2025-10-30T09:58:59.7153025+04:00</CreatedOn> <DivisionId>822cdf17-9948-4049-bb52-19672409a087</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>940044b4-b70b-44ec-a3ba-12bd2bc545ee</LocationId> <ScheduleCheckListId>2</ScheduleCheckListId> <ScheduleDate>2025-10-30T09:58:59.7153025+04:00</ScheduleDate> <SubBuildingId>0504cb9c-2fa0-4b60-92c0-699eaed80d43</SubBuildingId> <UpdatedBy>1</UpdatedBy> <UpdatedByName>sample string 11</UpdatedByName> <UpdatedOn>2025-10-30T09:58:59.7153025+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>