POST api/PowerOutage/UpdatePowerFailure
Request Information
URI Parameters
None.
Body Parameters
RequestMobileInsertPowerFailureName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
FailureType | string |
None. |
|
ImageBase64 | Collection of string |
None. |
|
DeviceId | string |
None. |
|
OfficeCode | string |
None. |
|
CaNo | string |
None. |
|
Lat | string |
None. |
|
Long | string |
None. |
|
title | string |
None. |
|
Detail | string |
None. |
|
Address | string |
None. |
|
TokenKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "FailureType": "sample string 2", "ImageBase64": [ "sample string 1", "sample string 2" ], "DeviceId": "sample string 3", "OfficeCode": "sample string 4", "CaNo": "sample string 5", "Lat": "sample string 6", "Long": "sample string 7", "title": "sample string 8", "Detail": "sample string 9", "Address": "sample string 10", "TokenKey": "sample string 11" }
application/xml, text/xml
Sample:
<RequestMobileInsertPowerFailure xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.PowerOutageModels"> <Address>sample string 10</Address> <CaNo>sample string 5</CaNo> <Detail>sample string 9</Detail> <DeviceId>sample string 3</DeviceId> <FailureType>sample string 2</FailureType> <Id>sample string 1</Id> <ImageBase64 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ImageBase64> <Lat>sample string 6</Lat> <Long>sample string 7</Long> <OfficeCode>sample string 4</OfficeCode> <TokenKey>sample string 11</TokenKey> <title>sample string 8</title> </RequestMobileInsertPowerFailure>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfStringName | Description | Type | Additional information |
---|---|---|---|
Data | string |
None. |
|
Status | boolean |
None. |
|
ErrorMessage | string |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": "sample string 1", "Status": true, "ErrorMessage": "sample string 3", "Message": "sample string 4" }
application/xml, text/xml
Sample:
<ResultModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models"> <Data>sample string 1</Data> <ErrorMessage>sample string 3</ErrorMessage> <Message>sample string 4</Message> <Status>true</Status> </ResultModelOfstring>