TechStacks!

<back to all web services

ImportUserVoiceSuggestion

Requires Authentication
Required role:Import
The following routes are available for this service:
All Verbs/import/uservoice/suggestion
ImportUserVoiceSuggestion Parameters:
NameParameterData TypeRequiredDescription
OrganizationIdqueryintNo
UrlquerystringNo
IdqueryintNo
TopicIdqueryintNo
StatequerystringNo
TitlequerystringNo
SlugquerystringNo
CategoryquerystringNo
TextquerystringNo
FormattedTextquerystringNo
VoteCountqueryintNo
ClosedAtqueryDateTime?No
StatusKeyquerystringNo
StatusHexColorquerystringNo
StatusChangedByqueryUserVoiceUserNo
CreatorqueryUserVoiceUserNo
ResponsequeryUserVoiceCommentNo
CreatedAtqueryDateTimeNo
UpdatedAtqueryDateTimeNo
UserVoiceUser Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
EmailformstringNo
AvatarUrlformstringNo
CreatedAtformDateTimeNo
UpdatedAtformDateTimeNo
UserVoiceComment Parameters:
NameParameterData TypeRequiredDescription
TextformstringNo
FormattedTextformstringNo
CreatedAtformDateTimeNo
CreatorformUserVoiceUserNo
ImportUserVoiceSuggestionResponse Parameters:
NameParameterData TypeRequiredDescription
PostIdformlongNo
PostSlugformstringNo
ResponseStatusformResponseStatusNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /import/uservoice/suggestion HTTP/1.1 
Host: techstacks.io 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"organizationId":0,"url":"String","id":0,"topicId":0,"state":"String","title":"String","slug":"String","category":"String","text":"String","formattedText":"String","voteCount":0,"closedAt":"0001-01-01T00:00:00.0000000","statusKey":"String","statusHexColor":"String","statusChangedBy":{"id":0,"name":"String","email":"String","avatarUrl":"String","createdAt":"0001-01-01T00:00:00.0000000","updatedAt":"0001-01-01T00:00:00.0000000"},"creator":{"id":0,"name":"String","email":"String","avatarUrl":"String","createdAt":"0001-01-01T00:00:00.0000000","updatedAt":"0001-01-01T00:00:00.0000000"},"response":{"text":"String","formattedText":"String","createdAt":"0001-01-01T00:00:00.0000000","creator":{"id":0,"name":"String","email":"String","avatarUrl":"String","createdAt":"0001-01-01T00:00:00.0000000","updatedAt":"0001-01-01T00:00:00.0000000"}},"createdAt":"0001-01-01T00:00:00.0000000","updatedAt":"0001-01-01T00:00:00.0000000"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"postId":0,"postSlug":"String","responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}