POST adventures/contacts

Request Information

URI Parameters

None.

Body Parameters

ContactPOST
NameDescriptionTypeAdditional information
ActivityId

integer

None.

ContactNo

string

None.

Email

string

None.

ModifiedBy

string

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "activityId": 1,
  "contactNo": "sample string 2",
  "email": "sample string 3",
  "modifiedBy": "sample string 4",
  "name": "sample string 5"
}

application/xml, text/xml

Sample:
<ContactPOST xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myPortalApi.Models.Adventures">
  <ActivityId>1</ActivityId>
  <ContactNo>sample string 2</ContactNo>
  <Email>sample string 3</Email>
  <ModifiedBy>sample string 4</ModifiedBy>
  <Name>sample string 5</Name>
</ContactPOST>

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 'ContactPOST'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>