POST api/NTCosCompany/UpdateTurnaround
Request Information
URI Parameters
None.
Body Parameters
TurnaroundDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
String length: inclusive between 0 and 250 |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| Note | string |
String length: inclusive between 0 and 1000 |
|
| CorporationCode | string |
String length: inclusive between 0 and 20 |
|
| lstTurnaroundCorporation | Collection of TurnaroundCorporationDTO |
None. |
|
| lstTurnaroundServices | Collection of TurnaroundServicesDTO |
None. |
|
| ValidFlag | boolean |
None. |
|
| DateCreated | date |
None. |
|
| DateUpdated | date |
None. |
|
| UserIDCreated | integer |
None. |
|
| UserIDUpdated | integer |
None. |
|
| CompanyCode | string |
String length: inclusive between 0 and 20 |
|
| IsExcludeDiscount | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"StartDate": "2025-10-30T07:44:28.8183272-07:00",
"EndDate": "2025-10-30T07:44:28.8183272-07:00",
"Note": "sample string 4",
"CorporationCode": "sample string 5",
"lstTurnaroundCorporation": [
{
"Id": 1,
"TurnaroundId": 2,
"CorporationCode": "sample string 3",
"BranchCode": "sample string 4",
"DivisionCode": "sample string 5",
"WorkLocationCode": "sample string 6",
"Type": 7,
"Level1": "sample string 8",
"Level2": "sample string 9",
"Level3": "sample string 10",
"Level4": "sample string 11",
"Level5": "sample string 12",
"ValidFlag": true,
"DateCreated": "2025-10-30T07:44:28.8339519-07:00",
"DateUpdated": "2025-10-30T07:44:28.8339519-07:00",
"UserIDCreated": 16,
"UserIDUpdated": 17,
"CompanyCode": "sample string 18",
"IsExcludeDiscount": true
},
{
"Id": 1,
"TurnaroundId": 2,
"CorporationCode": "sample string 3",
"BranchCode": "sample string 4",
"DivisionCode": "sample string 5",
"WorkLocationCode": "sample string 6",
"Type": 7,
"Level1": "sample string 8",
"Level2": "sample string 9",
"Level3": "sample string 10",
"Level4": "sample string 11",
"Level5": "sample string 12",
"ValidFlag": true,
"DateCreated": "2025-10-30T07:44:28.8339519-07:00",
"DateUpdated": "2025-10-30T07:44:28.8339519-07:00",
"UserIDCreated": 16,
"UserIDUpdated": 17,
"CompanyCode": "sample string 18",
"IsExcludeDiscount": true
}
],
"lstTurnaroundServices": [
{
"Id": 1,
"TurnaroundId": 2,
"ServiceId": 3,
"ValidFlag": true,
"DateCreated": "2025-10-30T07:44:28.8339519-07:00",
"DateUpdated": "2025-10-30T07:44:28.8339519-07:00",
"UserIDCreated": 7,
"UserIDUpdated": 8,
"CompanyCode": "sample string 9",
"IsExcludeDiscount": true
},
{
"Id": 1,
"TurnaroundId": 2,
"ServiceId": 3,
"ValidFlag": true,
"DateCreated": "2025-10-30T07:44:28.8339519-07:00",
"DateUpdated": "2025-10-30T07:44:28.8339519-07:00",
"UserIDCreated": 7,
"UserIDUpdated": 8,
"CompanyCode": "sample string 9",
"IsExcludeDiscount": true
}
],
"ValidFlag": true,
"DateCreated": "2025-10-30T07:44:28.8339519-07:00",
"DateUpdated": "2025-10-30T07:44:28.8339519-07:00",
"UserIDCreated": 9,
"UserIDUpdated": 10,
"CompanyCode": "sample string 11",
"IsExcludeDiscount": true
}
application/xml, text/xml
Sample:
<TurnaroundDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
<CompanyCode>sample string 11</CompanyCode>
<DateCreated>2025-10-30T07:44:28.8339519-07:00</DateCreated>
<DateUpdated>2025-10-30T07:44:28.8339519-07:00</DateUpdated>
<IsExcludeDiscount>true</IsExcludeDiscount>
<UserIDCreated>9</UserIDCreated>
<UserIDUpdated>10</UserIDUpdated>
<ValidFlag>true</ValidFlag>
<CorporationCode>sample string 5</CorporationCode>
<EndDate>2025-10-30T07:44:28.8183272-07:00</EndDate>
<Id>1</Id>
<Name>sample string 2</Name>
<Note>sample string 4</Note>
<StartDate>2025-10-30T07:44:28.8183272-07:00</StartDate>
<lstTurnaroundCorporation>
<TurnaroundCorporationDTO>
<CompanyCode>sample string 18</CompanyCode>
<DateCreated>2025-10-30T07:44:28.8339519-07:00</DateCreated>
<DateUpdated>2025-10-30T07:44:28.8339519-07:00</DateUpdated>
<IsExcludeDiscount>true</IsExcludeDiscount>
<UserIDCreated>16</UserIDCreated>
<UserIDUpdated>17</UserIDUpdated>
<ValidFlag>true</ValidFlag>
<BranchCode>sample string 4</BranchCode>
<CorporationCode>sample string 3</CorporationCode>
<DivisionCode>sample string 5</DivisionCode>
<Id>1</Id>
<Level1>sample string 8</Level1>
<Level2>sample string 9</Level2>
<Level3>sample string 10</Level3>
<Level4>sample string 11</Level4>
<Level5>sample string 12</Level5>
<TurnaroundId>2</TurnaroundId>
<Type>7</Type>
<WorkLocationCode>sample string 6</WorkLocationCode>
</TurnaroundCorporationDTO>
<TurnaroundCorporationDTO>
<CompanyCode>sample string 18</CompanyCode>
<DateCreated>2025-10-30T07:44:28.8339519-07:00</DateCreated>
<DateUpdated>2025-10-30T07:44:28.8339519-07:00</DateUpdated>
<IsExcludeDiscount>true</IsExcludeDiscount>
<UserIDCreated>16</UserIDCreated>
<UserIDUpdated>17</UserIDUpdated>
<ValidFlag>true</ValidFlag>
<BranchCode>sample string 4</BranchCode>
<CorporationCode>sample string 3</CorporationCode>
<DivisionCode>sample string 5</DivisionCode>
<Id>1</Id>
<Level1>sample string 8</Level1>
<Level2>sample string 9</Level2>
<Level3>sample string 10</Level3>
<Level4>sample string 11</Level4>
<Level5>sample string 12</Level5>
<TurnaroundId>2</TurnaroundId>
<Type>7</Type>
<WorkLocationCode>sample string 6</WorkLocationCode>
</TurnaroundCorporationDTO>
</lstTurnaroundCorporation>
<lstTurnaroundServices>
<TurnaroundServicesDTO>
<CompanyCode>sample string 9</CompanyCode>
<DateCreated>2025-10-30T07:44:28.8339519-07:00</DateCreated>
<DateUpdated>2025-10-30T07:44:28.8339519-07:00</DateUpdated>
<IsExcludeDiscount>true</IsExcludeDiscount>
<UserIDCreated>7</UserIDCreated>
<UserIDUpdated>8</UserIDUpdated>
<ValidFlag>true</ValidFlag>
<Id>1</Id>
<ServiceId>3</ServiceId>
<TurnaroundId>2</TurnaroundId>
</TurnaroundServicesDTO>
<TurnaroundServicesDTO>
<CompanyCode>sample string 9</CompanyCode>
<DateCreated>2025-10-30T07:44:28.8339519-07:00</DateCreated>
<DateUpdated>2025-10-30T07:44:28.8339519-07:00</DateUpdated>
<IsExcludeDiscount>true</IsExcludeDiscount>
<UserIDCreated>7</UserIDCreated>
<UserIDUpdated>8</UserIDUpdated>
<ValidFlag>true</ValidFlag>
<Id>1</Id>
<ServiceId>3</ServiceId>
<TurnaroundId>2</TurnaroundId>
</TurnaroundServicesDTO>
</lstTurnaroundServices>
</TurnaroundDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfTurnaroundDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | TurnaroundDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": {
"Id": 1,
"Name": "sample string 2",
"StartDate": "2025-10-30T07:44:28.8780184-07:00",
"EndDate": "2025-10-30T07:44:28.8780184-07:00",
"Note": "sample string 4",
"CorporationCode": "sample string 5",
"lstTurnaroundCorporation": [
{
"Id": 1,
"TurnaroundId": 2,
"CorporationCode": "sample string 3",
"BranchCode": "sample string 4",
"DivisionCode": "sample string 5",
"WorkLocationCode": "sample string 6",
"Type": 7,
"Level1": "sample string 8",
"Level2": "sample string 9",
"Level3": "sample string 10",
"Level4": "sample string 11",
"Level5": "sample string 12",
"ValidFlag": true,
"DateCreated": "2025-10-30T07:44:28.8780184-07:00",
"DateUpdated": "2025-10-30T07:44:28.8780184-07:00",
"UserIDCreated": 16,
"UserIDUpdated": 17,
"CompanyCode": "sample string 18",
"IsExcludeDiscount": true
},
{
"Id": 1,
"TurnaroundId": 2,
"CorporationCode": "sample string 3",
"BranchCode": "sample string 4",
"DivisionCode": "sample string 5",
"WorkLocationCode": "sample string 6",
"Type": 7,
"Level1": "sample string 8",
"Level2": "sample string 9",
"Level3": "sample string 10",
"Level4": "sample string 11",
"Level5": "sample string 12",
"ValidFlag": true,
"DateCreated": "2025-10-30T07:44:28.8780184-07:00",
"DateUpdated": "2025-10-30T07:44:28.8780184-07:00",
"UserIDCreated": 16,
"UserIDUpdated": 17,
"CompanyCode": "sample string 18",
"IsExcludeDiscount": true
}
],
"lstTurnaroundServices": [
{
"Id": 1,
"TurnaroundId": 2,
"ServiceId": 3,
"ValidFlag": true,
"DateCreated": "2025-10-30T07:44:28.8780184-07:00",
"DateUpdated": "2025-10-30T07:44:28.8780184-07:00",
"UserIDCreated": 7,
"UserIDUpdated": 8,
"CompanyCode": "sample string 9",
"IsExcludeDiscount": true
},
{
"Id": 1,
"TurnaroundId": 2,
"ServiceId": 3,
"ValidFlag": true,
"DateCreated": "2025-10-30T07:44:28.8780184-07:00",
"DateUpdated": "2025-10-30T07:44:28.8780184-07:00",
"UserIDCreated": 7,
"UserIDUpdated": 8,
"CompanyCode": "sample string 9",
"IsExcludeDiscount": true
}
],
"ValidFlag": true,
"DateCreated": "2025-10-30T07:44:28.8780184-07:00",
"DateUpdated": "2025-10-30T07:44:28.8780184-07:00",
"UserIDCreated": 9,
"UserIDUpdated": 10,
"CompanyCode": "sample string 11",
"IsExcludeDiscount": true
},
"totalCount": 3
}
application/xml, text/xml
Sample:
<AsapResponseOfTurnaroundDTO3NYuOdgi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
<isSuccess>true</isSuccess>
<jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
<d2p1:CompanyCode>sample string 11</d2p1:CompanyCode>
<d2p1:DateCreated>2025-10-30T07:44:28.8780184-07:00</d2p1:DateCreated>
<d2p1:DateUpdated>2025-10-30T07:44:28.8780184-07:00</d2p1:DateUpdated>
<d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
<d2p1:UserIDCreated>9</d2p1:UserIDCreated>
<d2p1:UserIDUpdated>10</d2p1:UserIDUpdated>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
<d2p1:CorporationCode>sample string 5</d2p1:CorporationCode>
<d2p1:EndDate>2025-10-30T07:44:28.8780184-07:00</d2p1:EndDate>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Note>sample string 4</d2p1:Note>
<d2p1:StartDate>2025-10-30T07:44:28.8780184-07:00</d2p1:StartDate>
<d2p1:lstTurnaroundCorporation>
<d2p1:TurnaroundCorporationDTO>
<d2p1:CompanyCode>sample string 18</d2p1:CompanyCode>
<d2p1:DateCreated>2025-10-30T07:44:28.8780184-07:00</d2p1:DateCreated>
<d2p1:DateUpdated>2025-10-30T07:44:28.8780184-07:00</d2p1:DateUpdated>
<d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
<d2p1:UserIDCreated>16</d2p1:UserIDCreated>
<d2p1:UserIDUpdated>17</d2p1:UserIDUpdated>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
<d2p1:BranchCode>sample string 4</d2p1:BranchCode>
<d2p1:CorporationCode>sample string 3</d2p1:CorporationCode>
<d2p1:DivisionCode>sample string 5</d2p1:DivisionCode>
<d2p1:Id>1</d2p1:Id>
<d2p1:Level1>sample string 8</d2p1:Level1>
<d2p1:Level2>sample string 9</d2p1:Level2>
<d2p1:Level3>sample string 10</d2p1:Level3>
<d2p1:Level4>sample string 11</d2p1:Level4>
<d2p1:Level5>sample string 12</d2p1:Level5>
<d2p1:TurnaroundId>2</d2p1:TurnaroundId>
<d2p1:Type>7</d2p1:Type>
<d2p1:WorkLocationCode>sample string 6</d2p1:WorkLocationCode>
</d2p1:TurnaroundCorporationDTO>
<d2p1:TurnaroundCorporationDTO>
<d2p1:CompanyCode>sample string 18</d2p1:CompanyCode>
<d2p1:DateCreated>2025-10-30T07:44:28.8780184-07:00</d2p1:DateCreated>
<d2p1:DateUpdated>2025-10-30T07:44:28.8780184-07:00</d2p1:DateUpdated>
<d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
<d2p1:UserIDCreated>16</d2p1:UserIDCreated>
<d2p1:UserIDUpdated>17</d2p1:UserIDUpdated>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
<d2p1:BranchCode>sample string 4</d2p1:BranchCode>
<d2p1:CorporationCode>sample string 3</d2p1:CorporationCode>
<d2p1:DivisionCode>sample string 5</d2p1:DivisionCode>
<d2p1:Id>1</d2p1:Id>
<d2p1:Level1>sample string 8</d2p1:Level1>
<d2p1:Level2>sample string 9</d2p1:Level2>
<d2p1:Level3>sample string 10</d2p1:Level3>
<d2p1:Level4>sample string 11</d2p1:Level4>
<d2p1:Level5>sample string 12</d2p1:Level5>
<d2p1:TurnaroundId>2</d2p1:TurnaroundId>
<d2p1:Type>7</d2p1:Type>
<d2p1:WorkLocationCode>sample string 6</d2p1:WorkLocationCode>
</d2p1:TurnaroundCorporationDTO>
</d2p1:lstTurnaroundCorporation>
<d2p1:lstTurnaroundServices>
<d2p1:TurnaroundServicesDTO>
<d2p1:CompanyCode>sample string 9</d2p1:CompanyCode>
<d2p1:DateCreated>2025-10-30T07:44:28.8780184-07:00</d2p1:DateCreated>
<d2p1:DateUpdated>2025-10-30T07:44:28.8780184-07:00</d2p1:DateUpdated>
<d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
<d2p1:UserIDCreated>7</d2p1:UserIDCreated>
<d2p1:UserIDUpdated>8</d2p1:UserIDUpdated>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
<d2p1:Id>1</d2p1:Id>
<d2p1:ServiceId>3</d2p1:ServiceId>
<d2p1:TurnaroundId>2</d2p1:TurnaroundId>
</d2p1:TurnaroundServicesDTO>
<d2p1:TurnaroundServicesDTO>
<d2p1:CompanyCode>sample string 9</d2p1:CompanyCode>
<d2p1:DateCreated>2025-10-30T07:44:28.8780184-07:00</d2p1:DateCreated>
<d2p1:DateUpdated>2025-10-30T07:44:28.8780184-07:00</d2p1:DateUpdated>
<d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
<d2p1:UserIDCreated>7</d2p1:UserIDCreated>
<d2p1:UserIDUpdated>8</d2p1:UserIDUpdated>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
<d2p1:Id>1</d2p1:Id>
<d2p1:ServiceId>3</d2p1:ServiceId>
<d2p1:TurnaroundId>2</d2p1:TurnaroundId>
</d2p1:TurnaroundServicesDTO>
</d2p1:lstTurnaroundServices>
</jsonObj>
<message>sample string 2</message>
<totalCount>3</totalCount>
</AsapResponseOfTurnaroundDTO3NYuOdgi>