POST api/photo/UpdatePhotoList
Request Information
URI Parameters
None.
Body Parameters
Collection of PhotoModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PhotoId | integer |
None. |
|
| UserId | integer |
None. |
|
| PropertyId | integer |
None. |
|
| DraftPropertyId | integer |
None. |
|
| PageTypeId | PageType |
None. |
|
| ReferenceGuid | string |
None. |
|
| Caption | string |
None. |
|
| ImagePath | string |
None. |
|
| ImageFilename | string |
None. |
|
| ImageIndex | integer |
None. |
|
| Tag | Tag |
None. |
|
| TagNames | string |
None. |
|
| TagIds | string |
None. |
|
| GoogleVisionResponse | string |
None. |
|
| Height | integer |
None. |
|
| Width | integer |
None. |
|
| IsDefaultImage | boolean |
None. |
|
| IsDeleted | boolean |
None. |
|
| IsDraft | boolean |
None. |
|
| ImageUrl | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"PhotoId": 1,
"UserId": 2,
"PropertyId": 3,
"DraftPropertyId": 4,
"PageTypeId": 1,
"ReferenceGuid": "sample string 5",
"Caption": "sample string 6",
"ImagePath": "sample string 7",
"ImageFilename": "sample string 8",
"ImageIndex": 9,
"Tag": 0,
"TagNames": "sample string 10",
"TagIds": "sample string 11",
"GoogleVisionResponse": "sample string 12",
"Height": 13,
"Width": 14,
"IsDefaultImage": true,
"IsDeleted": true,
"IsDraft": true,
"ImageUrl": "sample string 18"
},
{
"PhotoId": 1,
"UserId": 2,
"PropertyId": 3,
"DraftPropertyId": 4,
"PageTypeId": 1,
"ReferenceGuid": "sample string 5",
"Caption": "sample string 6",
"ImagePath": "sample string 7",
"ImageFilename": "sample string 8",
"ImageIndex": 9,
"Tag": 0,
"TagNames": "sample string 10",
"TagIds": "sample string 11",
"GoogleVisionResponse": "sample string 12",
"Height": 13,
"Width": 14,
"IsDefaultImage": true,
"IsDeleted": true,
"IsDraft": true,
"ImageUrl": "sample string 18"
}
]
text/html
Sample:
[{"PhotoId":1,"UserId":2,"PropertyId":3,"DraftPropertyId":4,"PageTypeId":1,"ReferenceGuid":"sample string 5","Caption":"sample string 6","ImagePath":"sample string 7","ImageFilename":"sample string 8","ImageIndex":9,"Tag":0,"TagNames":"sample string 10","TagIds":"sample string 11","GoogleVisionResponse":"sample string 12","Height":13,"Width":14,"IsDefaultImage":true,"IsDeleted":true,"IsDraft":true,"ImageUrl":"sample string 18"},{"PhotoId":1,"UserId":2,"PropertyId":3,"DraftPropertyId":4,"PageTypeId":1,"ReferenceGuid":"sample string 5","Caption":"sample string 6","ImagePath":"sample string 7","ImageFilename":"sample string 8","ImageIndex":9,"Tag":0,"TagNames":"sample string 10","TagIds":"sample string 11","GoogleVisionResponse":"sample string 12","Height":13,"Width":14,"IsDefaultImage":true,"IsDeleted":true,"IsDraft":true,"ImageUrl":"sample string 18"}]
application/xml, text/xml
Sample:
<ArrayOfPhotoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ImageProcess.Model.Models">
<PhotoModel>
<Caption>sample string 6</Caption>
<DraftPropertyId>4</DraftPropertyId>
<GoogleVisionResponse>sample string 12</GoogleVisionResponse>
<Height>13</Height>
<ImageFilename>sample string 8</ImageFilename>
<ImageIndex>9</ImageIndex>
<ImagePath>sample string 7</ImagePath>
<ImageUrl>sample string 18</ImageUrl>
<IsDefaultImage>true</IsDefaultImage>
<IsDeleted>true</IsDeleted>
<IsDraft>true</IsDraft>
<PageTypeId>community</PageTypeId>
<PhotoId>1</PhotoId>
<PropertyId>3</PropertyId>
<ReferenceGuid>sample string 5</ReferenceGuid>
<Tag>None</Tag>
<TagIds>sample string 11</TagIds>
<TagNames>sample string 10</TagNames>
<UserId>2</UserId>
<Width>14</Width>
</PhotoModel>
<PhotoModel>
<Caption>sample string 6</Caption>
<DraftPropertyId>4</DraftPropertyId>
<GoogleVisionResponse>sample string 12</GoogleVisionResponse>
<Height>13</Height>
<ImageFilename>sample string 8</ImageFilename>
<ImageIndex>9</ImageIndex>
<ImagePath>sample string 7</ImagePath>
<ImageUrl>sample string 18</ImageUrl>
<IsDefaultImage>true</IsDefaultImage>
<IsDeleted>true</IsDeleted>
<IsDraft>true</IsDraft>
<PageTypeId>community</PageTypeId>
<PhotoId>1</PhotoId>
<PropertyId>3</PropertyId>
<ReferenceGuid>sample string 5</ReferenceGuid>
<Tag>None</Tag>
<TagIds>sample string 11</TagIds>
<TagNames>sample string 10</TagNames>
<UserId>2</UserId>
<Width>14</Width>
</PhotoModel>
</ArrayOfPhotoModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |