GET api/PartQuestions

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of PartQuestion
NameDescriptionTypeAdditional information
PartQuestionId

integer

None.

LanguageId

integer

None.

Question

string

Required

String length: inclusive between 0 and 500

SortOrder

integer

None.

Notes

string

String length: inclusive between 0 and 500

PartId

integer

None.

DisplayTypeId

integer

None.

SaveObjectTypeId

integer

None.

PartAnswers

Collection of PartAnswer

None.

Part

Part

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "2",
    "partQuestionId": 1,
    "languageId": 2,
    "question": "sample string 3",
    "sortOrder": 4,
    "notes": "sample string 5",
    "partId": 6,
    "displayTypeId": 1,
    "saveObjectTypeId": 1,
    "partAnswers": {
      "$id": "3",
      "$values": [
        {
          "$id": "4",
          "partAnswerId": 1,
          "partQuestionId": 2,
          "answer": "sample string 3",
          "respondantUserId": 4,
          "partQuestion": {
            "$ref": "2"
          }
        },
        {
          "$ref": "4"
        }
      ]
    },
    "part": {
      "$id": "5",
      "partId": 1,
      "partNumber": "sample string 2",
      "partDescription": "sample string 3",
      "series": "sample string 4",
      "element": 1,
      "unit": "sample string 5",
      "unitQty": 1.1,
      "special": true,
      "vor": true,
      "superceeded": true,
      "restricted": true,
      "vatCode": 1,
      "coOrigin": "sample string 6",
      "partOrderTypeId": 1,
      "emissionsCritical": true,
      "exchangePart": true,
      "surchargeValue": 1.1,
      "requiredFieldsCode": 1,
      "uoi": 1,
      "stock_Discount": 1.1,
      "voR_Discount": 1.1,
      "unitOfSale": 1,
      "maxQty": 1,
      "template": "sample string 7"
    }
  },
  {
    "$ref": "2"
  }
]