POST api/addGallery

Request Information

URI Parameters

None.

Body Parameters

Gallery
NameDescriptionTypeAdditional information
ID

integer

None.

TagLine

string

None.

Image

string

None.

Location

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "TagLine": "sample string 2",
  "Image": "sample string 3",
  "Location": "sample string 4"
}

text/html

Sample:
{"ID":1,"TagLine":"sample string 2","Image":"sample string 3","Location":"sample string 4"}

application/xml, text/xml

Sample:
<Gallery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MailAPI">
  <ID>1</ID>
  <Image>sample string 3</Image>
  <Location>sample string 4</Location>
  <TagLine>sample string 2</TagLine>
</Gallery>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
[
  {},
  {}
]

text/html

Sample:
[{},{}]

application/xml, text/xml

Sample:
<ArrayOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <anyType />
  <anyType />
</ArrayOfanyType>