POST api/jobs-surrender/appointments/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
EditSurrenderJobDTOName | Description | Type | Additional information |
---|---|---|---|
Result | string |
None. |
|
Id | string |
None. |
|
Type | string |
None. |
|
UnitImages | Collection of JobImagesDTO |
None. |
|
WaterMeterReadingImages | Collection of JobImagesDTO |
None. |
|
ChilledWaterMeterReadingImages | Collection of JobImagesDTO |
None. |
|
ElectricityWaterMeterReadingImages | Collection of JobImagesDTO |
None. |
|
PoliceReportNo | string |
None. |
|
PoliceReportDate | date |
None. |
|
PoliceReportImages | Collection of JobImagesDTO |
None. |
|
DateCreated | date |
None. |
|
DateModified | date |
None. |
|
DateDeleted | date |
None. |
|
CreatedBy | string |
None. |
|
ModifiedBy | string |
None. |
|
DeletedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Result": "sample string 1", "Id": "sample string 2", "Type": "sample string 3", "UnitImages": [ { "Id": "sample string 1", "ImagePath": "sample string 2", "FileName": "sample string 3", "IsDeleted": true }, { "Id": "sample string 1", "ImagePath": "sample string 2", "FileName": "sample string 3", "IsDeleted": true } ], "WaterMeterReadingImages": [ { "Id": "sample string 1", "ImagePath": "sample string 2", "FileName": "sample string 3", "IsDeleted": true }, { "Id": "sample string 1", "ImagePath": "sample string 2", "FileName": "sample string 3", "IsDeleted": true } ], "ChilledWaterMeterReadingImages": [ { "Id": "sample string 1", "ImagePath": "sample string 2", "FileName": "sample string 3", "IsDeleted": true }, { "Id": "sample string 1", "ImagePath": "sample string 2", "FileName": "sample string 3", "IsDeleted": true } ], "ElectricityWaterMeterReadingImages": [ { "Id": "sample string 1", "ImagePath": "sample string 2", "FileName": "sample string 3", "IsDeleted": true }, { "Id": "sample string 1", "ImagePath": "sample string 2", "FileName": "sample string 3", "IsDeleted": true } ], "PoliceReportNo": "sample string 4", "PoliceReportDate": "2024-11-28T01:34:14.0436854+08:00", "PoliceReportImages": [ { "Id": "sample string 1", "ImagePath": "sample string 2", "FileName": "sample string 3", "IsDeleted": true }, { "Id": "sample string 1", "ImagePath": "sample string 2", "FileName": "sample string 3", "IsDeleted": true } ], "DateCreated": "2024-11-28T01:34:14.0436854+08:00", "DateModified": "2024-11-28T01:34:14.0436854+08:00", "DateDeleted": "2024-11-28T01:34:14.0436854+08:00", "CreatedBy": "sample string 5", "ModifiedBy": "sample string 6", "DeletedBy": "sample string 7" }
application/xml, text/xml
Sample:
<EditSurrenderJobDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.EZTOneApp.Services.DTO"> <ChilledWaterMeterReadingImages> <JobImagesDTO> <FileName>sample string 3</FileName> <Id>sample string 1</Id> <ImagePath>sample string 2</ImagePath> <IsDeleted>true</IsDeleted> </JobImagesDTO> <JobImagesDTO> <FileName>sample string 3</FileName> <Id>sample string 1</Id> <ImagePath>sample string 2</ImagePath> <IsDeleted>true</IsDeleted> </JobImagesDTO> </ChilledWaterMeterReadingImages> <CreatedBy>sample string 5</CreatedBy> <DateCreated>2024-11-28T01:34:14.0436854+08:00</DateCreated> <DateDeleted>2024-11-28T01:34:14.0436854+08:00</DateDeleted> <DateModified>2024-11-28T01:34:14.0436854+08:00</DateModified> <DeletedBy>sample string 7</DeletedBy> <ElectricityWaterMeterReadingImages> <JobImagesDTO> <FileName>sample string 3</FileName> <Id>sample string 1</Id> <ImagePath>sample string 2</ImagePath> <IsDeleted>true</IsDeleted> </JobImagesDTO> <JobImagesDTO> <FileName>sample string 3</FileName> <Id>sample string 1</Id> <ImagePath>sample string 2</ImagePath> <IsDeleted>true</IsDeleted> </JobImagesDTO> </ElectricityWaterMeterReadingImages> <Id>sample string 2</Id> <ModifiedBy>sample string 6</ModifiedBy> <PoliceReportDate>2024-11-28T01:34:14.0436854+08:00</PoliceReportDate> <PoliceReportImages> <JobImagesDTO> <FileName>sample string 3</FileName> <Id>sample string 1</Id> <ImagePath>sample string 2</ImagePath> <IsDeleted>true</IsDeleted> </JobImagesDTO> <JobImagesDTO> <FileName>sample string 3</FileName> <Id>sample string 1</Id> <ImagePath>sample string 2</ImagePath> <IsDeleted>true</IsDeleted> </JobImagesDTO> </PoliceReportImages> <PoliceReportNo>sample string 4</PoliceReportNo> <Result>sample string 1</Result> <Type>sample string 3</Type> <UnitImages> <JobImagesDTO> <FileName>sample string 3</FileName> <Id>sample string 1</Id> <ImagePath>sample string 2</ImagePath> <IsDeleted>true</IsDeleted> </JobImagesDTO> <JobImagesDTO> <FileName>sample string 3</FileName> <Id>sample string 1</Id> <ImagePath>sample string 2</ImagePath> <IsDeleted>true</IsDeleted> </JobImagesDTO> </UnitImages> <WaterMeterReadingImages> <JobImagesDTO> <FileName>sample string 3</FileName> <Id>sample string 1</Id> <ImagePath>sample string 2</ImagePath> <IsDeleted>true</IsDeleted> </JobImagesDTO> <JobImagesDTO> <FileName>sample string 3</FileName> <Id>sample string 1</Id> <ImagePath>sample string 2</ImagePath> <IsDeleted>true</IsDeleted> </JobImagesDTO> </WaterMeterReadingImages> </EditSurrenderJobDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.