TicketUserServices

<back to all web services

SurveyCampaignListRequest

Requires Authentication
Required role:Admin
The following routes are available for this service:
GET/SurveyCampaign
SurveyCampaignListRequest Parameters:
NameParameterData TypeRequiredDescription
StatusquerystringNo
SurveyCampaignListResult Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<SurveyCampaign>No
StatusCodeformintNo
MessageformstringNo
SurveyCampaign Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
NameformstringNo
StatusformstringNo
SubjectformstringNo
BodyHtmlformstringNo
ReminderSubjectformstringNo
ReminderBodyHtmlformstringNo
FromEmailformstringNo
FromNameformstringNo
LanguageformstringNo
ReminderAfterDaysformintNo
MaxRemindersformintNo
CreatedAtformDateTimeNo
SentAtformDateTime?No
ClosedAtformDateTime?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /SurveyCampaign HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"items":[{"id":0,"name":"String","status":"String","subject":"String","bodyHtml":"String","reminderSubject":"String","reminderBodyHtml":"String","fromEmail":"String","fromName":"String","language":"String","reminderAfterDays":0,"maxReminders":0,"createdAt":"0001-01-01T00:00:00.0000000","sentAt":"0001-01-01T00:00:00.0000000","closedAt":"0001-01-01T00:00:00.0000000"}],"statusCode":0,"message":"String"}