GET | /distribution/merchandising/questiongroups/questions | ||
---|---|---|---|
GET | /distribution/merchandising/questiongroups/{Id}/questions |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | path | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | List<MerchQuestionGroupQuestion> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
GroupId | form | int | No | |
Question | form | MerchQuestion | No | |
SortId | form | int | No | |
CanSkip | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
Title | form | string | No | |
Description | form | string | No | |
QuestionType | form | int | No | |
AnswerType | form | int | No | |
Params | form | Dictionary<string, string> | No | |
Choices | form | List<MerchQuestionChoice> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
Title | form | string | No | |
Description | form | string | No | |
Value | form | string | No | |
SortId | form | int? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /distribution/merchandising/questiongroups/questions HTTP/1.1 Host: apex.nikoratrade.ge Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ResponseStatus: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String, Meta: { String: String } } ], Meta: { String: String } }, Result: [ { Id: 0, GroupId: 0, Question: { Id: 0, Title: String, Description: String, QuestionType: 0, AnswerType: 0, Params: { String: String }, Choices: [ { Id: 0, Title: String, Description: String, Value: String, SortId: 0 } ] }, SortId: 0, CanSkip: False } ] }