POST api/summerservices/photo/DeletePhotos

Request Information

URI Parameters

None.

Body Parameters

Collection of integer

Request Formats

application/json, text/json

Sample:
[
  1,
  2
]

application/javascript

Sample:
[1,2]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'IEnumerable`1'.

Response Information

Resource Description

Collection of WebMethodResultOfInt32
NameDescriptionTypeAdditional information
Result

integer

None.

Success

boolean

None.

ErrorText

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Result": 1,
    "Success": true,
    "ErrorText": "sample string 3"
  },
  {
    "Result": 1,
    "Success": true,
    "ErrorText": "sample string 3"
  }
]

application/javascript

Sample:
[{"Result":1,"Success":true,"ErrorText":"sample string 3"},{"Result":1,"Success":true,"ErrorText":"sample string 3"}]

application/xml, text/xml

Sample:
<ArrayOfWebMethodResultOfInt32 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <WebMethodResultOfInt32>
    <Success>true</Success>
    <ErrorText>sample string 3</ErrorText>
    <Result>1</Result>
  </WebMethodResultOfInt32>
  <WebMethodResultOfInt32>
    <Success>true</Success>
    <ErrorText>sample string 3</ErrorText>
    <Result>1</Result>
  </WebMethodResultOfInt32>
</ArrayOfWebMethodResultOfInt32>