API / Stage

Entity Description:

Stage is defined as an area for individual contact information in the PoliteMail database. Stage includes other entities as Opt-In and Opt-Out information.

 

Properties

Name Description Type Additional
Information
ID Int32
Name String

 

Entity Statement

Creating a Stage
Request
POST /ssv3/odata/Stages
Content-Type     
application/json
Request body
{
“ID”:”0″,”Name”:”New Stage”
}
Response body
{
“ID”:1,”Name”:”New Stage”
}
Deleting a Stage
  Request
  DELETE /ssv3/odata/Stages(1)
  Response Headers
  HTTP/1.1 204 No Content
Getting a Stage
  Request
  GET /ssv3/odata/Stages(1)
  Content-Type     
  application/json
  Response body
  {
“ID”:1,”Name”:”New Stage”
}
Updating a Stage
  Request
  PUT /ssv3/odata/Stages(1)
  Content-Type     
  application/json
  Request body
  {
“ID”:”0″,”Name”:”New Stage”
}
  Response Headers
  HTTP/1.1 204 No Content
Getting all Stages
  Request
  GET /ssv3/odata/Stages
  Content-Type
  application/json
  Response body
  “value”:[{
“ID”:0,”Name”:”New Stage”
},{
“ID”:1,”Name”:”New Stage”
}]