POST api/MedicalExamcos/SaveActivateMedicalExamComplince
Request Information
URI Parameters
None.
Body Parameters
EmployeeComplianceExamDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ExamId | string |
String length: inclusive between 0 and 20 |
|
| EmployeeId | string |
String length: inclusive between 0 and 12 |
|
| InitialExpirationDate | date |
None. |
|
| ExamName | string |
String length: inclusive between 0 and 200 |
|
| ExamStatus | boolean |
None. |
|
| InCompliance | boolean |
None. |
|
| EmployeeComplianceId | integer |
None. |
|
| IsEmployeeInCompliance | boolean |
None. |
|
| ISQuestionnaireOnlyExam | boolean |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
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,
"ExamId": "sample string 2",
"EmployeeId": "sample string 3",
"InitialExpirationDate": "2025-10-30T13:50:51.3434591-07:00",
"ExamName": "sample string 4",
"ExamStatus": true,
"InCompliance": true,
"EmployeeComplianceId": 1,
"IsEmployeeInCompliance": true,
"ISQuestionnaireOnlyExam": true,
"StartDate": "2025-10-30T13:50:51.3434591-07:00",
"EndDate": "2025-10-30T13:50:51.3434591-07:00",
"ValidFlag": true,
"DateCreated": "2025-10-30T13:50:51.3434591-07:00",
"DateUpdated": "2025-10-30T13:50:51.3434591-07:00",
"UserIDCreated": 13,
"UserIDUpdated": 14,
"CompanyCode": "sample string 15",
"IsExcludeDiscount": true
}
application/xml, text/xml
Sample:
<EmployeeComplianceExamDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.MedicalExam"> <CompanyCode xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">sample string 15</CompanyCode> <DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T13:50:51.3434591-07:00</DateCreated> <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T13:50:51.3434591-07:00</DateUpdated> <IsExcludeDiscount xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</IsExcludeDiscount> <UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">13</UserIDCreated> <UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">14</UserIDUpdated> <ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag> <EmployeeComplianceId>1</EmployeeComplianceId> <EmployeeId>sample string 3</EmployeeId> <EndDate>2025-10-30T13:50:51.3434591-07:00</EndDate> <ExamId>sample string 2</ExamId> <ExamName>sample string 4</ExamName> <ExamStatus>true</ExamStatus> <ISQuestionnaireOnlyExam>true</ISQuestionnaireOnlyExam> <Id>1</Id> <InCompliance>true</InCompliance> <InitialExpirationDate>2025-10-30T13:50:51.3434591-07:00</InitialExpirationDate> <IsEmployeeInCompliance>true</IsEmployeeInCompliance> <StartDate>2025-10-30T13:50:51.3434591-07:00</StartDate> </EmployeeComplianceExamDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfEmployeeComplianceExamDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | EmployeeComplianceExamDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": {
"Id": 1,
"ExamId": "sample string 2",
"EmployeeId": "sample string 3",
"InitialExpirationDate": "2025-10-30T13:50:51.3434591-07:00",
"ExamName": "sample string 4",
"ExamStatus": true,
"InCompliance": true,
"EmployeeComplianceId": 1,
"IsEmployeeInCompliance": true,
"ISQuestionnaireOnlyExam": true,
"StartDate": "2025-10-30T13:50:51.3434591-07:00",
"EndDate": "2025-10-30T13:50:51.3434591-07:00",
"ValidFlag": true,
"DateCreated": "2025-10-30T13:50:51.3434591-07:00",
"DateUpdated": "2025-10-30T13:50:51.3434591-07:00",
"UserIDCreated": 13,
"UserIDUpdated": 14,
"CompanyCode": "sample string 15",
"IsExcludeDiscount": true
},
"totalCount": 3
}
application/xml, text/xml
Sample:
<AsapResponseOfEmployeeComplianceExamDTOzIntITI8 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.DTO.MedicalExam">
<CompanyCode xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">sample string 15</CompanyCode>
<DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T13:50:51.3434591-07:00</DateCreated>
<DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T13:50:51.3434591-07:00</DateUpdated>
<IsExcludeDiscount xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</IsExcludeDiscount>
<UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">13</UserIDCreated>
<UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">14</UserIDUpdated>
<ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag>
<d2p1:EmployeeComplianceId>1</d2p1:EmployeeComplianceId>
<d2p1:EmployeeId>sample string 3</d2p1:EmployeeId>
<d2p1:EndDate>2025-10-30T13:50:51.3434591-07:00</d2p1:EndDate>
<d2p1:ExamId>sample string 2</d2p1:ExamId>
<d2p1:ExamName>sample string 4</d2p1:ExamName>
<d2p1:ExamStatus>true</d2p1:ExamStatus>
<d2p1:ISQuestionnaireOnlyExam>true</d2p1:ISQuestionnaireOnlyExam>
<d2p1:Id>1</d2p1:Id>
<d2p1:InCompliance>true</d2p1:InCompliance>
<d2p1:InitialExpirationDate>2025-10-30T13:50:51.3434591-07:00</d2p1:InitialExpirationDate>
<d2p1:IsEmployeeInCompliance>true</d2p1:IsEmployeeInCompliance>
<d2p1:StartDate>2025-10-30T13:50:51.3434591-07:00</d2p1:StartDate>
</jsonObj>
<message>sample string 2</message>
<totalCount>3</totalCount>
</AsapResponseOfEmployeeComplianceExamDTOzIntITI8>