POST api/AddressBook/AddTakePhotoRating
Request Information
URI Parameters
None.
Body Parameters
AddTakePhotoRatingName | Description | Type | Additional information |
---|---|---|---|
Businessid | integer |
None. |
|
Loginuserid | integer |
None. |
|
Comment | string |
None. |
|
TakePhotoID | integer |
None. |
|
Rating | integer |
None. |
|
Flag | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Businessid": 1, "Loginuserid": 2, "Comment": "sample string 3", "TakePhotoID": 4, "Rating": 5, "Flag": 6 }
application/xml, text/xml
Sample:
<AddTakePhotoRating xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <Businessid>1</Businessid> <Comment>sample string 3</Comment> <Flag>6</Flag> <Loginuserid>2</Loginuserid> <Rating>5</Rating> <TakePhotoID>4</TakePhotoID> </AddTakePhotoRating>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponseName | Description | Type | Additional information |
---|---|---|---|
Version | string |
None. |
|
dateTime | string |
None. |
|
StatusCode | integer |
None. |
|
ErrorMessage | string |
None. |
|
Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Version": "1.0.0", "dateTime": "2025/04/04 03:42:01", "StatusCode": 1, "ErrorMessage": "sample string 2", "Result": {} }
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>