POST api/photo/ModelPhotosToKeep

Request Information

URI Parameters

None.

Body Parameters

ModelPhotosToKeepRequest
NameDescriptionTypeAdditional information
UserId

integer

None.

DraftPropertyId

integer

None.

PageTypeId

PageType

None.

ReferenceGuids

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "DraftPropertyId": 2,
  "PageTypeId": 1,
  "ReferenceGuids": [
    "sample string 1",
    "sample string 2"
  ]
}

text/html

Sample:
{"UserId":1,"DraftPropertyId":2,"PageTypeId":1,"ReferenceGuids":["sample string 1","sample string 2"]}

application/xml, text/xml

Sample:
<ModelPhotosToKeepRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ImageProcess.Model.Models">
  <DraftPropertyId>2</DraftPropertyId>
  <ReferenceGuids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ReferenceGuids>
  <UserId>1</UserId>
</ModelPhotosToKeepRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.