POST api/GetSurveyLink

Request Information

URI Parameters

None.

Body Parameters

GetSurveyUrlRequest
NameDescriptionTypeAdditional information
SurveyType

integer

None.

AssociateId

string

None.

InnovId

string

None.

Category

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SurveyType": 1,
  "AssociateId": "sample string 2",
  "InnovId": "sample string 3",
  "Category": "sample string 4"
}

application/xml, text/xml

Sample:
<GetSurveyUrlRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RESTWebAPIForPaperlessOnboarding.Models">
  <AssociateId>sample string 2</AssociateId>
  <Category>sample string 4</Category>
  <InnovId>sample string 3</InnovId>
  <SurveyType>1</SurveyType>
</GetSurveyUrlRequest>

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

Response Information

Resource Description

GetSurveyUrlResponse
NameDescriptionTypeAdditional information
SurveyLink

string

None.

status

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "SurveyLink": "sample string 1",
  "status": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<GetSurveyUrlResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RESTWebAPIForPaperlessOnboarding.Models">
  <Message>sample string 3</Message>
  <SurveyLink>sample string 1</SurveyLink>
  <status>sample string 2</status>
</GetSurveyUrlResponse>