POST api/{orgKey}/Survey/Add

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orgKey

integer

Required

Body Parameters

SurveyModel
NameDescriptionTypeAdditional information
SurveyKey

integer

None.

Organization

OrganizationModel

None.

SurveyType

SurveyTypes

None.

SurveyName

string

None.

SurveyStartDate

date

None.

SurveyEndDate

date

None.

SurveyPublishFrequency

byte

None.

SurveyPublishFrequencyUnit

string

None.

SurveyLastPublishDate

date

None.

SurveyCreateDate

date

None.

SurveyCreatedBy

ContactModel

None.

Status

StatusModel

None.

SurveyDescription

string

None.

employeeSurveyDetail

Collection of EmployeeSurveyDetails

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PageViewModel
NameDescriptionTypeAdditional information
StatusCode

integer

None.

StatusMessage

string

None.

TotalCount

integer

None.

ModelObject

Object

None.

CurrentDateTime

date

None.

Response Formats

application/json, text/json

Sample:
{
  "statusCode": 1,
  "statusMessage": "sample string 2",
  "totalCount": 3,
  "modelObject": {},
  "currentDateTime": "2026-01-29T20:37:06.7427233+00:00"
}