POST api/Subscription

Request Information

URI Parameters

None.

Body Parameters

subscription
NameDescriptionTypeAdditional information
objectType

integer

None.

eventType

integer

None.

hookURL

string

None.

clientid

string

None.

secretid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "objectType": 1,
  "eventType": 2,
  "hookURL": "sample string 3",
  "clientid": "sample string 4",
  "secretid": "sample string 5"
}

application/xml, text/xml

Sample:
<subscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmployStreamWebHook.Models">
  <clientid>sample string 4</clientid>
  <eventType>2</eventType>
  <hookURL>sample string 3</hookURL>
  <objectType>1</objectType>
  <secretid>sample string 5</secretid>
</subscription>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.