POST api/NTEmployee/SaveLinkedEmployee
Request Information
URI Parameters
None.
Body Parameters
LinkedEmployeeListDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeID | string |
String length: inclusive between 0 and 12 |
|
| listLinkedEmployee | Collection of LinkedEmployeeDTO |
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:
{
"EmployeeID": "sample string 1",
"listLinkedEmployee": [
{
"Id": 1,
"EmployeeID": "sample string 2",
"LinkedEmployeeID": "sample string 3",
"CompanyName": "sample string 4",
"LastName": "sample string 5",
"FirstName": "sample string 6",
"SSN": "sample string 7",
"DOB": "2025-12-16T03:15:26.8677467-08:00",
"LastServiceDate": "2025-12-16T03:15:26.8677467-08:00",
"ValidFlag": true,
"DateCreated": "2025-12-16T03:15:26.8677467-08:00",
"DateUpdated": "2025-12-16T03:15:26.8677467-08:00",
"UserIDCreated": 11,
"UserIDUpdated": 12,
"CompanyCode": "sample string 13",
"IsExcludeDiscount": true
},
{
"Id": 1,
"EmployeeID": "sample string 2",
"LinkedEmployeeID": "sample string 3",
"CompanyName": "sample string 4",
"LastName": "sample string 5",
"FirstName": "sample string 6",
"SSN": "sample string 7",
"DOB": "2025-12-16T03:15:26.8677467-08:00",
"LastServiceDate": "2025-12-16T03:15:26.8677467-08:00",
"ValidFlag": true,
"DateCreated": "2025-12-16T03:15:26.8677467-08:00",
"DateUpdated": "2025-12-16T03:15:26.8677467-08:00",
"UserIDCreated": 11,
"UserIDUpdated": 12,
"CompanyCode": "sample string 13",
"IsExcludeDiscount": true
}
],
"ValidFlag": true,
"DateCreated": "2025-12-16T03:15:26.8677467-08:00",
"DateUpdated": "2025-12-16T03:15:26.8677467-08:00",
"UserIDCreated": 5,
"UserIDUpdated": 6,
"CompanyCode": "sample string 7",
"IsExcludeDiscount": true
}
application/xml, text/xml
Sample:
<LinkedEmployeeListDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
<CompanyCode>sample string 7</CompanyCode>
<DateCreated>2025-12-16T03:15:26.8677467-08:00</DateCreated>
<DateUpdated>2025-12-16T03:15:26.8677467-08:00</DateUpdated>
<IsExcludeDiscount>true</IsExcludeDiscount>
<UserIDCreated>5</UserIDCreated>
<UserIDUpdated>6</UserIDUpdated>
<ValidFlag>true</ValidFlag>
<EmployeeID>sample string 1</EmployeeID>
<listLinkedEmployee>
<LinkedEmployeeDTO>
<CompanyCode>sample string 13</CompanyCode>
<DateCreated>2025-12-16T03:15:26.8677467-08:00</DateCreated>
<DateUpdated>2025-12-16T03:15:26.8677467-08:00</DateUpdated>
<IsExcludeDiscount>true</IsExcludeDiscount>
<UserIDCreated>11</UserIDCreated>
<UserIDUpdated>12</UserIDUpdated>
<ValidFlag>true</ValidFlag>
<CompanyName>sample string 4</CompanyName>
<DOB>2025-12-16T03:15:26.8677467-08:00</DOB>
<EmployeeID>sample string 2</EmployeeID>
<FirstName>sample string 6</FirstName>
<Id>1</Id>
<LastName>sample string 5</LastName>
<LastServiceDate>2025-12-16T03:15:26.8677467-08:00</LastServiceDate>
<LinkedEmployeeID>sample string 3</LinkedEmployeeID>
<SSN>sample string 7</SSN>
</LinkedEmployeeDTO>
<LinkedEmployeeDTO>
<CompanyCode>sample string 13</CompanyCode>
<DateCreated>2025-12-16T03:15:26.8677467-08:00</DateCreated>
<DateUpdated>2025-12-16T03:15:26.8677467-08:00</DateUpdated>
<IsExcludeDiscount>true</IsExcludeDiscount>
<UserIDCreated>11</UserIDCreated>
<UserIDUpdated>12</UserIDUpdated>
<ValidFlag>true</ValidFlag>
<CompanyName>sample string 4</CompanyName>
<DOB>2025-12-16T03:15:26.8677467-08:00</DOB>
<EmployeeID>sample string 2</EmployeeID>
<FirstName>sample string 6</FirstName>
<Id>1</Id>
<LastName>sample string 5</LastName>
<LastServiceDate>2025-12-16T03:15:26.8677467-08:00</LastServiceDate>
<LinkedEmployeeID>sample string 3</LinkedEmployeeID>
<SSN>sample string 7</SSN>
</LinkedEmployeeDTO>
</listLinkedEmployee>
</LinkedEmployeeListDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfLinkedEmployeeListDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | LinkedEmployeeListDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": {
"EmployeeID": "sample string 1",
"listLinkedEmployee": [
{
"Id": 1,
"EmployeeID": "sample string 2",
"LinkedEmployeeID": "sample string 3",
"CompanyName": "sample string 4",
"LastName": "sample string 5",
"FirstName": "sample string 6",
"SSN": "sample string 7",
"DOB": "2025-12-16T03:15:26.8990162-08:00",
"LastServiceDate": "2025-12-16T03:15:26.8990162-08:00",
"ValidFlag": true,
"DateCreated": "2025-12-16T03:15:26.8990162-08:00",
"DateUpdated": "2025-12-16T03:15:26.8990162-08:00",
"UserIDCreated": 11,
"UserIDUpdated": 12,
"CompanyCode": "sample string 13",
"IsExcludeDiscount": true
},
{
"Id": 1,
"EmployeeID": "sample string 2",
"LinkedEmployeeID": "sample string 3",
"CompanyName": "sample string 4",
"LastName": "sample string 5",
"FirstName": "sample string 6",
"SSN": "sample string 7",
"DOB": "2025-12-16T03:15:26.8990162-08:00",
"LastServiceDate": "2025-12-16T03:15:26.8990162-08:00",
"ValidFlag": true,
"DateCreated": "2025-12-16T03:15:26.8990162-08:00",
"DateUpdated": "2025-12-16T03:15:26.8990162-08:00",
"UserIDCreated": 11,
"UserIDUpdated": 12,
"CompanyCode": "sample string 13",
"IsExcludeDiscount": true
}
],
"ValidFlag": true,
"DateCreated": "2025-12-16T03:15:26.8990162-08:00",
"DateUpdated": "2025-12-16T03:15:26.8990162-08:00",
"UserIDCreated": 5,
"UserIDUpdated": 6,
"CompanyCode": "sample string 7",
"IsExcludeDiscount": true
},
"totalCount": 3
}
application/xml, text/xml
Sample:
<AsapResponseOfLinkedEmployeeListDTO3NYuOdgi 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 7</d2p1:CompanyCode>
<d2p1:DateCreated>2025-12-16T03:15:26.8990162-08:00</d2p1:DateCreated>
<d2p1:DateUpdated>2025-12-16T03:15:26.8990162-08:00</d2p1:DateUpdated>
<d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
<d2p1:UserIDCreated>5</d2p1:UserIDCreated>
<d2p1:UserIDUpdated>6</d2p1:UserIDUpdated>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
<d2p1:EmployeeID>sample string 1</d2p1:EmployeeID>
<d2p1:listLinkedEmployee>
<d2p1:LinkedEmployeeDTO>
<d2p1:CompanyCode>sample string 13</d2p1:CompanyCode>
<d2p1:DateCreated>2025-12-16T03:15:26.8990162-08:00</d2p1:DateCreated>
<d2p1:DateUpdated>2025-12-16T03:15:26.8990162-08:00</d2p1:DateUpdated>
<d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
<d2p1:UserIDCreated>11</d2p1:UserIDCreated>
<d2p1:UserIDUpdated>12</d2p1:UserIDUpdated>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
<d2p1:CompanyName>sample string 4</d2p1:CompanyName>
<d2p1:DOB>2025-12-16T03:15:26.8990162-08:00</d2p1:DOB>
<d2p1:EmployeeID>sample string 2</d2p1:EmployeeID>
<d2p1:FirstName>sample string 6</d2p1:FirstName>
<d2p1:Id>1</d2p1:Id>
<d2p1:LastName>sample string 5</d2p1:LastName>
<d2p1:LastServiceDate>2025-12-16T03:15:26.8990162-08:00</d2p1:LastServiceDate>
<d2p1:LinkedEmployeeID>sample string 3</d2p1:LinkedEmployeeID>
<d2p1:SSN>sample string 7</d2p1:SSN>
</d2p1:LinkedEmployeeDTO>
<d2p1:LinkedEmployeeDTO>
<d2p1:CompanyCode>sample string 13</d2p1:CompanyCode>
<d2p1:DateCreated>2025-12-16T03:15:26.8990162-08:00</d2p1:DateCreated>
<d2p1:DateUpdated>2025-12-16T03:15:26.8990162-08:00</d2p1:DateUpdated>
<d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
<d2p1:UserIDCreated>11</d2p1:UserIDCreated>
<d2p1:UserIDUpdated>12</d2p1:UserIDUpdated>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
<d2p1:CompanyName>sample string 4</d2p1:CompanyName>
<d2p1:DOB>2025-12-16T03:15:26.8990162-08:00</d2p1:DOB>
<d2p1:EmployeeID>sample string 2</d2p1:EmployeeID>
<d2p1:FirstName>sample string 6</d2p1:FirstName>
<d2p1:Id>1</d2p1:Id>
<d2p1:LastName>sample string 5</d2p1:LastName>
<d2p1:LastServiceDate>2025-12-16T03:15:26.8990162-08:00</d2p1:LastServiceDate>
<d2p1:LinkedEmployeeID>sample string 3</d2p1:LinkedEmployeeID>
<d2p1:SSN>sample string 7</d2p1:SSN>
</d2p1:LinkedEmployeeDTO>
</d2p1:listLinkedEmployee>
</jsonObj>
<message>sample string 2</message>
<totalCount>3</totalCount>
</AsapResponseOfLinkedEmployeeListDTO3NYuOdgi>