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-05-01T05:20:59.4033376+04:00",
"UpdatedBy": 1,
"UpdatedOn": "2026-05-01T05:20:59.4033376+04:00",
"CreatedByName": "sample string 10",
"UpdatedByName": "sample string 11",
"Base64StringImage": "sample string 12",
"Img": "QEA=",
"ImagePath": "sample string 13",
"ScheduleDate": "2026-05-01T05:20:59.4033376+04:00",
"DivisionId": "ef80dcf7-0656-4594-bea2-4c6580bc38dd",
"AssetId": "8cc36cec-7f3f-4e6f-b23d-a8ab0bcf073b",
"BuildingId": "7d802b05-22ba-4cca-b752-8ebf06e6038e",
"SubBuildingId": "e483c5e7-fa4d-4586-a91b-34a0d4abb72c",
"LocationId": "8427799f-4f9b-429f-89c9-aedcc281a630",
"CHDivisionId": "178b10f2-305a-4365-9a9c-77257ce2f504",
"CHAssetId": "1a57faf7-5812-4f42-89d0-0b81bdfedde4",
"CHBuildingId": "c45d6de3-b35d-4ddc-8e04-5e1b3fc5b4a3",
"CHSubBuildingId": "0c8f2ba5-7fdc-4f69-a997-8bfcf62703d7",
"CHLocationId": "ef4bde94-6c3a-4600-a64c-27cf5f2979da"
}
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-05-01T05:20:59.4033376+04:00","UpdatedBy":1,"UpdatedOn":"2026-05-01T05:20:59.4033376+04:00","CreatedByName":"sample string 10","UpdatedByName":"sample string 11","Base64StringImage":"sample string 12","Img":"QEA=","ImagePath":"sample string 13","ScheduleDate":"2026-05-01T05:20:59.4033376+04:00","DivisionId":"ef80dcf7-0656-4594-bea2-4c6580bc38dd","AssetId":"8cc36cec-7f3f-4e6f-b23d-a8ab0bcf073b","BuildingId":"7d802b05-22ba-4cca-b752-8ebf06e6038e","SubBuildingId":"e483c5e7-fa4d-4586-a91b-34a0d4abb72c","LocationId":"8427799f-4f9b-429f-89c9-aedcc281a630","CHDivisionId":"178b10f2-305a-4365-9a9c-77257ce2f504","CHAssetId":"1a57faf7-5812-4f42-89d0-0b81bdfedde4","CHBuildingId":"c45d6de3-b35d-4ddc-8e04-5e1b3fc5b4a3","CHSubBuildingId":"0c8f2ba5-7fdc-4f69-a997-8bfcf62703d7","CHLocationId":"ef4bde94-6c3a-4600-a64c-27cf5f2979da"}
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>8cc36cec-7f3f-4e6f-b23d-a8ab0bcf073b</AssetId> <Base64StringImage>sample string 12</Base64StringImage> <BuildingId>7d802b05-22ba-4cca-b752-8ebf06e6038e</BuildingId> <CHAssetId>1a57faf7-5812-4f42-89d0-0b81bdfedde4</CHAssetId> <CHBuildingId>c45d6de3-b35d-4ddc-8e04-5e1b3fc5b4a3</CHBuildingId> <CHDivisionId>178b10f2-305a-4365-9a9c-77257ce2f504</CHDivisionId> <CHLocationId>ef4bde94-6c3a-4600-a64c-27cf5f2979da</CHLocationId> <CHSubBuildingId>0c8f2ba5-7fdc-4f69-a997-8bfcf62703d7</CHSubBuildingId> <CreatedBy>8</CreatedBy> <CreatedByName>sample string 10</CreatedByName> <CreatedOn>2026-05-01T05:20:59.4033376+04:00</CreatedOn> <DivisionId>ef80dcf7-0656-4594-bea2-4c6580bc38dd</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>8427799f-4f9b-429f-89c9-aedcc281a630</LocationId> <ScheduleCheckListId>2</ScheduleCheckListId> <ScheduleDate>2026-05-01T05:20:59.4033376+04:00</ScheduleDate> <SubBuildingId>e483c5e7-fa4d-4586-a91b-34a0d4abb72c</SubBuildingId> <UpdatedBy>1</UpdatedBy> <UpdatedByName>sample string 11</UpdatedByName> <UpdatedOn>2026-05-01T05:20:59.4033376+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>