DELETE api/PartQuestions/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PartQuestion| Name | Description | Type | Additional 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:
{
"partQuestionId": 1,
"languageId": 2,
"question": "sample string 3",
"sortOrder": 4,
"notes": "sample string 5",
"partId": 6,
"displayTypeId": 1,
"saveObjectTypeId": 1,
"partAnswers": {
"$id": "2",
"$values": [
{
"$id": "3",
"partAnswerId": 1,
"partQuestionId": 2,
"answer": "sample string 3",
"respondantUserId": 4,
"partQuestion": {
"$ref": "1"
}
},
{
"$ref": "3"
}
]
},
"part": {
"$id": "4",
"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"
}
}