POST Api/ImageApi/Update
Request Information
URI Parameters
None.
Body Parameters
ImagesDTOName | 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-07-12T10:15:56.4738791+04:00", "UpdatedBy": 1, "UpdatedOn": "2025-07-12T10:15:56.4738791+04:00", "CreatedByName": "sample string 10", "UpdatedByName": "sample string 11", "Base64StringImage": "sample string 12", "Img": "QEA=", "ImagePath": "sample string 13", "ScheduleDate": "2025-07-12T10:15:56.4738791+04:00", "DivisionId": "abf8194f-bebf-483c-ac6b-a285960dd257", "AssetId": "9f1c5ecb-3408-4522-bac2-148e35e78700", "BuildingId": "a4b00c58-6444-4776-8ec4-4de31671163a", "SubBuildingId": "02233e16-a0fb-44f2-939b-04ae038f34db", "LocationId": "ca1a9485-1205-4553-8726-f49b4c991ad8", "CHDivisionId": "f7c32617-cbb6-41fa-9828-8f0561eb3628", "CHAssetId": "bb6354d8-0c48-42a7-b666-d4f09257835d", "CHBuildingId": "73fd1c50-afe9-4b15-92d3-30b8c0b87901", "CHSubBuildingId": "e1dc379f-46bd-4b31-8c62-4b210e460d2e", "CHLocationId": "de9cd8e4-e828-41a8-acdf-a2a1b5b976cf" }
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-07-12T10:15:56.4738791+04:00","UpdatedBy":1,"UpdatedOn":"2025-07-12T10:15:56.4738791+04:00","CreatedByName":"sample string 10","UpdatedByName":"sample string 11","Base64StringImage":"sample string 12","Img":"QEA=","ImagePath":"sample string 13","ScheduleDate":"2025-07-12T10:15:56.4738791+04:00","DivisionId":"abf8194f-bebf-483c-ac6b-a285960dd257","AssetId":"9f1c5ecb-3408-4522-bac2-148e35e78700","BuildingId":"a4b00c58-6444-4776-8ec4-4de31671163a","SubBuildingId":"02233e16-a0fb-44f2-939b-04ae038f34db","LocationId":"ca1a9485-1205-4553-8726-f49b4c991ad8","CHDivisionId":"f7c32617-cbb6-41fa-9828-8f0561eb3628","CHAssetId":"bb6354d8-0c48-42a7-b666-d4f09257835d","CHBuildingId":"73fd1c50-afe9-4b15-92d3-30b8c0b87901","CHSubBuildingId":"e1dc379f-46bd-4b31-8c62-4b210e460d2e","CHLocationId":"de9cd8e4-e828-41a8-acdf-a2a1b5b976cf"}
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>9f1c5ecb-3408-4522-bac2-148e35e78700</AssetId> <Base64StringImage>sample string 12</Base64StringImage> <BuildingId>a4b00c58-6444-4776-8ec4-4de31671163a</BuildingId> <CHAssetId>bb6354d8-0c48-42a7-b666-d4f09257835d</CHAssetId> <CHBuildingId>73fd1c50-afe9-4b15-92d3-30b8c0b87901</CHBuildingId> <CHDivisionId>f7c32617-cbb6-41fa-9828-8f0561eb3628</CHDivisionId> <CHLocationId>de9cd8e4-e828-41a8-acdf-a2a1b5b976cf</CHLocationId> <CHSubBuildingId>e1dc379f-46bd-4b31-8c62-4b210e460d2e</CHSubBuildingId> <CreatedBy>8</CreatedBy> <CreatedByName>sample string 10</CreatedByName> <CreatedOn>2025-07-12T10:15:56.4738791+04:00</CreatedOn> <DivisionId>abf8194f-bebf-483c-ac6b-a285960dd257</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>ca1a9485-1205-4553-8726-f49b4c991ad8</LocationId> <ScheduleCheckListId>2</ScheduleCheckListId> <ScheduleDate>2025-07-12T10:15:56.4738791+04:00</ScheduleDate> <SubBuildingId>02233e16-a0fb-44f2-939b-04ae038f34db</SubBuildingId> <UpdatedBy>1</UpdatedBy> <UpdatedByName>sample string 11</UpdatedByName> <UpdatedOn>2025-07-12T10:15:56.4738791+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>