GET | /distribution/merchandising/questions/{Id} | ||
---|---|---|---|
GET | /distribution/merchandising/questions |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | path | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | List<MerchQuestion> | 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/questions/{Id} 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, Title: String, Description: String, QuestionType: 0, AnswerType: 0, Params: { String: String }, Choices: [ { Id: 0, Title: String, Description: String, Value: String, SortId: 0 } ] } ] }