GET api/Orders/{id}/ncr
Get All NCR History from a order which id = {id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the order. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of NcrInfoViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| StateId | States |
None. |
|
| NCRNumber | string |
None. |
|
| NCRNumberForVendor | string |
None. |
|
| DateInitiated | date |
None. |
|
| RootCauseAnalysisDate | date |
None. |
|
| NCRApprovalDate | date |
None. |
|
| DateClosed | date |
None. |
|
| RootCause | string |
None. |
|
| Vendor | string |
None. |
|
| Cost | decimal number |
None. |
|
| Months | Collection of string |
None. |
|
| TotalPartsPerYear | integer |
None. |
|
| TotalPartsPerMonth | integer |
None. |
|
| TotalFaultPartsPerYear | integer |
None. |
|
| TotalFaultPartsPerMonth | integer |
None. |
|
| UserType | USER_TYPE |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"stateId": 1,
"ncrNumber": "sample string 2",
"ncrNumberForVendor": "sample string 3",
"dateInitiated": "2026-01-12T15:40:48.5026277+00:00",
"rootCauseAnalysisDate": "2026-01-12T15:40:48.5026277+00:00",
"ncrApprovalDate": "2026-01-12T15:40:48.5026277+00:00",
"dateClosed": "2026-01-12T15:40:48.5026277+00:00",
"rootCause": "sample string 4",
"vendor": "sample string 5",
"cost": 1.0,
"months": [
"sample string 1",
"sample string 2"
],
"totalPartsPerYear": 6,
"totalPartsPerMonth": 7,
"totalFaultPartsPerYear": 8,
"totalFaultPartsPerMonth": 9,
"userType": 1
},
{
"id": 1,
"stateId": 1,
"ncrNumber": "sample string 2",
"ncrNumberForVendor": "sample string 3",
"dateInitiated": "2026-01-12T15:40:48.5026277+00:00",
"rootCauseAnalysisDate": "2026-01-12T15:40:48.5026277+00:00",
"ncrApprovalDate": "2026-01-12T15:40:48.5026277+00:00",
"dateClosed": "2026-01-12T15:40:48.5026277+00:00",
"rootCause": "sample string 4",
"vendor": "sample string 5",
"cost": 1.0,
"months": [
"sample string 1",
"sample string 2"
],
"totalPartsPerYear": 6,
"totalPartsPerMonth": 7,
"totalFaultPartsPerYear": 8,
"totalFaultPartsPerMonth": 9,
"userType": 1
}
]