GET 3dCartWebAPI/v1/Orders/{orderid}/Questions


Gets the questions from a specific Order

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderid

Order ID

integer

Default value is 0

limit

Maximum number of items that can be returned

integer

Default value is 0

offset

Starting point for the return data

integer

Default value is 0

Body Parameters

None.


Sample Request



Response Information

Resource Description

Collection of Question
NameDescriptionTypeAdditional information
QuestionAnswerIndexID

database reference = order_questions.id

integer

None.

OrderID

database reference = order_questions.orderid

integer

None.

QuestionID

database reference = order_questions.questionid

integer

None.

QuestionTitle

database reference = checkout_questions.Question

string

String length: inclusive between 0 and 65535

QuestionAnswer

database reference = order_questions.answer

string

String length: inclusive between 0 and 65535

QuestionType

database reference = checkout_questions.qtype

string

String length: inclusive between 0 and 10

QuestionCheckoutStep

database reference = checkout_questions.checkoutstep

integer

None.

QuestionSorting

database reference = checkout_questions.sorting

integer

None.

QuestionDiscountGroup

database reference = checkout_questions.discountgroup

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "QuestionAnswerIndexID": 1,
    "OrderID": 1,
    "QuestionID": 1,
    "QuestionTitle": "sample string 1",
    "QuestionAnswer": "sample string 2",
    "QuestionType": "sample string 3",
    "QuestionCheckoutStep": 1,
    "QuestionSorting": 1,
    "QuestionDiscountGroup": 1
  },
  {
    "QuestionAnswerIndexID": 1,
    "OrderID": 1,
    "QuestionID": 1,
    "QuestionTitle": "sample string 1",
    "QuestionAnswer": "sample string 2",
    "QuestionType": "sample string 3",
    "QuestionCheckoutStep": 1,
    "QuestionSorting": 1,
    "QuestionDiscountGroup": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfQuestion xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Question>
    <QuestionAnswerIndexID>1</QuestionAnswerIndexID>
    <OrderID>1</OrderID>
    <QuestionID>1</QuestionID>
    <QuestionTitle>sample string 1</QuestionTitle>
    <QuestionAnswer>sample string 2</QuestionAnswer>
    <QuestionType>sample string 3</QuestionType>
    <QuestionCheckoutStep>1</QuestionCheckoutStep>
    <QuestionSorting>1</QuestionSorting>
    <QuestionDiscountGroup>1</QuestionDiscountGroup>
  </Question>
  <Question>
    <QuestionAnswerIndexID>1</QuestionAnswerIndexID>
    <OrderID>1</OrderID>
    <QuestionID>1</QuestionID>
    <QuestionTitle>sample string 1</QuestionTitle>
    <QuestionAnswer>sample string 2</QuestionAnswer>
    <QuestionType>sample string 3</QuestionType>
    <QuestionCheckoutStep>1</QuestionCheckoutStep>
    <QuestionSorting>1</QuestionSorting>
    <QuestionDiscountGroup>1</QuestionDiscountGroup>
  </Question>
</ArrayOfQuestion>