POST api/Analysis/UpsertJobCards
Request Information
URI Parameters
None.
Body Parameters
JobCardsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| JobCardId | integer |
None. |
|
| LabId | integer |
None. |
|
| LabName | string |
None. |
|
| CustomerId | integer |
None. |
|
| CustomerName | string |
None. |
|
| JobCardNumber | string |
None. |
|
| PoNumber | string |
None. |
|
| BottlesReceived | integer |
None. |
|
| SampleReceivedTypeId | integer |
None. |
|
| SampleCollectionEngineerId | integer |
None. |
|
| CourierCompany | string |
None. |
|
| AwbNo | string |
None. |
|
| WorkOrderNO | string |
None. |
|
| DispatchedDate | date |
None. |
|
| ReceivedDate | date |
None. |
|
| Notes | string |
None. |
|
| OrgId | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| UpdateddBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| ReceivedFrom | date |
None. |
|
| ReceivedTo | date |
None. |
|
| StatusTypeId | byte |
None. |
|
| DisplayDate | string |
None. |
|
| StatusMessage | string |
None. |
|
| lstJobCardChars | Collection of CharacteristicsDto |
None. |
|
| lstCharIds | Collection of integer |
None. |
|
| SampleTypeId | integer |
None. |
|
| GraphTemplateTypeId | integer |
None. |
|
| ReportDate | date |
None. |
|
| HaveReports | boolean |
None. |
|
| Specification | string |
None. |
|
| IsNBLLogo | boolean |
None. |
|
| TechMgrSignId | integer |
None. |
|
| AuthorizedSignId | integer |
None. |
|
| DisplayText | string |
None. |
|
| PageNo | integer |
None. |
|
| PageSize | integer |
None. |
|
| Totalrecords | integer |
None. |
|
| SortColoum | string |
None. |
|
| IsDsc | boolean |
None. |
|
| TakeCount | integer |
None. |
|
| SkipCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"JobCardId": 1,
"LabId": 2,
"LabName": "sample string 3",
"CustomerId": 4,
"CustomerName": "sample string 5",
"JobCardNumber": "sample string 6",
"PoNumber": "sample string 7",
"BottlesReceived": 8,
"SampleReceivedTypeId": 1,
"SampleCollectionEngineerId": 1,
"CourierCompany": "sample string 9",
"AwbNo": "sample string 10",
"WorkOrderNO": "sample string 11",
"DispatchedDate": "2026-07-29T08:49:01.5759514-06:00",
"ReceivedDate": "2026-07-29T08:49:01.5759514-06:00",
"Notes": "sample string 13",
"OrgId": 14,
"CreatedBy": 15,
"CreatedDate": "2026-07-29T08:49:01.5759514-06:00",
"UpdateddBy": 1,
"UpdatedDate": "2026-07-29T08:49:01.5759514-06:00",
"ReceivedFrom": "2026-07-29T08:49:01.5759514-06:00",
"ReceivedTo": "2026-07-29T08:49:01.5759514-06:00",
"StatusTypeId": 64,
"DisplayDate": "sample string 20",
"StatusMessage": "sample string 21",
"lstJobCardChars": [
{
"CharacteristicId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"UnitId": 1,
"TestMethodId": 1,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:49:01.5769201-06:00",
"UpdateBy": 1,
"UpdatedDate": "2026-07-29T08:49:01.5769201-06:00",
"StatusTypeId": 64,
"OrgId": 7,
"RoleId": 8,
"UserTypeId": 64,
"UnitName": "sample string 10",
"TestMethodName": "sample string 11",
"IsChecked": true,
"HasAnalysisGraph": true,
"CharacteristicOrderId": 1,
"AnalysisElementTypeId": 14,
"ShowInOilGrades": true,
"ShowInGeneralSamples": true,
"ShowInFerrographySamples": true,
"ShowInTataSamples": true,
"IsLabelOnly": true,
"ShowInTransformerSamples": true,
"ParentCharId": 1,
"SpIdChar": {
"SpidChariId": 1,
"Spid": 2,
"CharacteristicId": 3,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:49:01.5769201-06:00"
},
"CustomerChar": {
"CustomerCharId": 1,
"CustomerId": 2,
"CharacteristicId": 3,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:49:01.5769201-06:00"
},
"JobCardChar": {
"JobCardCharId": 1,
"JobCardId": 2,
"CharacteristicId": 3,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:49:01.5769201-06:00"
},
"LubricantChar": {
"LubricantCharId": 1,
"LubricantTypeId": 2,
"CharacteristicId": 3,
"IsChecked": true,
"CreatedBy": 5,
"CreatedDate": "2026-07-29T08:49:01.5769201-06:00",
"UpdatedBy": 1,
"UpdatedDate": "2026-07-29T08:49:01.5769201-06:00"
},
"AliasName": "sample string 15",
"SubCharcteristics": [],
"Collapsed": true,
"IsIntermediate": true
},
{
"CharacteristicId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"UnitId": 1,
"TestMethodId": 1,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:49:01.5769201-06:00",
"UpdateBy": 1,
"UpdatedDate": "2026-07-29T08:49:01.5769201-06:00",
"StatusTypeId": 64,
"OrgId": 7,
"RoleId": 8,
"UserTypeId": 64,
"UnitName": "sample string 10",
"TestMethodName": "sample string 11",
"IsChecked": true,
"HasAnalysisGraph": true,
"CharacteristicOrderId": 1,
"AnalysisElementTypeId": 14,
"ShowInOilGrades": true,
"ShowInGeneralSamples": true,
"ShowInFerrographySamples": true,
"ShowInTataSamples": true,
"IsLabelOnly": true,
"ShowInTransformerSamples": true,
"ParentCharId": 1,
"SpIdChar": {
"SpidChariId": 1,
"Spid": 2,
"CharacteristicId": 3,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:49:01.5769201-06:00"
},
"CustomerChar": {
"CustomerCharId": 1,
"CustomerId": 2,
"CharacteristicId": 3,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:49:01.5769201-06:00"
},
"JobCardChar": {
"JobCardCharId": 1,
"JobCardId": 2,
"CharacteristicId": 3,
"CreatedBy": 4,
"CreatedDate": "2026-07-29T08:49:01.5769201-06:00"
},
"LubricantChar": {
"LubricantCharId": 1,
"LubricantTypeId": 2,
"CharacteristicId": 3,
"IsChecked": true,
"CreatedBy": 5,
"CreatedDate": "2026-07-29T08:49:01.5769201-06:00",
"UpdatedBy": 1,
"UpdatedDate": "2026-07-29T08:49:01.5769201-06:00"
},
"AliasName": "sample string 15",
"SubCharcteristics": [],
"Collapsed": true,
"IsIntermediate": true
}
],
"lstCharIds": [
1,
2
],
"SampleTypeId": 22,
"GraphTemplateTypeId": 1,
"ReportDate": "2026-07-29T08:49:01.5769201-06:00",
"HaveReports": true,
"Specification": "sample string 24",
"IsNBLLogo": true,
"TechMgrSignId": 1,
"AuthorizedSignId": 1,
"DisplayText": "sample string 25",
"PageNo": 26,
"PageSize": 27,
"Totalrecords": 28,
"SortColoum": "sample string 29",
"IsDsc": true,
"TakeCount": 27,
"SkipCount": 702
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |