POST api/Photo/Push
Request Information
URI Parameters
None.
Body Parameters
PhotoModelName | Description | Type | Additional information |
---|---|---|---|
HHID | string |
None. |
|
ImageID | integer |
None. |
|
ImageName | string |
None. |
|
ImageData | string |
None. |
|
ImageDetail | string |
None. |
|
CreateDate | string |
None. |
|
IsProfile | boolean |
None. |
|
Lat | decimal number |
None. |
|
Lng | decimal number |
None. |
|
RefCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "HHID": "sample string 1", "ImageID": 2, "ImageName": "sample string 3", "ImageData": "sample string 4", "ImageDetail": "sample string 5", "CreateDate": "sample string 6", "IsProfile": true, "Lat": 1.0, "Lng": 1.0, "RefCode": "sample string 7" }
application/xml, text/xml
Sample:
<PhotoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Android_API.Models"> <CreateDate>sample string 6</CreateDate> <HHID>sample string 1</HHID> <ImageData>sample string 4</ImageData> <ImageDetail>sample string 5</ImageDetail> <ImageID>2</ImageID> <ImageName>sample string 3</ImageName> <IsProfile>true</IsProfile> <Lat>1</Lat> <Lng>1</Lng> <RefCode>sample string 7</RefCode> </PhotoModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultWithModelName | Description | Type | Additional information |
---|---|---|---|
success | boolean |
None. |
|
message | string |
None. |
|
refcode | string |
None. |
|
total | integer |
None. |
|
datas | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "message": "sample string 2", "refcode": "sample string 3", "total": 4, "datas": {} }
application/xml, text/xml
Sample:
<ResultWithModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Android_API.Models"> <datas /> <message>sample string 2</message> <refcode>sample string 3</refcode> <success>true</success> <total>4</total> </ResultWithModel>