POST api/MeClientSetUp/ActivateCompayExam

Request Information

URI Parameters

None.

Body Parameters

CompanyExamDTO
NameDescriptionTypeAdditional information
Id

integer

None.

ExamId

string

String length: inclusive between 0 and 20

ShortName

string

None.

Status

boolean

None.

IsExamByState

boolean

None.

ValidPeriodBy

integer

None.

ValidPeriod

integer

None.

QuestionStatus

boolean

None.

ExamName

string

String length: inclusive between 0 and 200

isState

boolean

None.

ExamCutomName

string

String length: inclusive between 0 and 200

ExamCreatedDate

date

None.

ExamStandardPeriod

integer

None.

InCompliance

boolean

None.

Step1WaitingPeriod

integer

None.

Step2WaitingPeriod

integer

None.

Step3WaitingPeriod

integer

None.

QuestionnaireWaitingPeriod

integer

None.

QuestionnaireReviewWaitingPeriod

integer

None.

Step4WaitingPeriod

integer

None.

Step5WaitingPeriod

integer

None.

IsCustomName

boolean

None.

CompanyName

string

String length: inclusive between 0 and 4000

StandardAuthorizeText

string

String length: inclusive between 0 and 4000

ISQuestionnaireOnlyExam

boolean

None.

IsQuestionnaireOptional

boolean

None.

ExamIsQuestionnaireOptional

boolean

None.

StandardSurveyMonkeyId

string

String length: inclusive between 0 and 200

CustomSurveyMonkeyId

string

String length: inclusive between 0 and 200

IsExamRestriction

boolean

None.

IsRestriction

boolean

None.

IsStep1Optional

boolean

None.

IsStep2Optional

boolean

None.

IsSendAuthorization

boolean

None.

IsSendAuthorizationThirdPartyFacility

boolean

None.

IsSendAuthorizationCOSOnsiteClinic

boolean

None.

IsStoreCustomDataFromQuestionnaire

boolean

None.

listCorporationExamquestionnaireMapping

Collection of CorporationExamquestionnaireMappingDTO

None.

Detail

string

String length: inclusive between 0 and 8000

UserName

string

String length: inclusive between 0 and 8000

CorporationCode

string

String length: inclusive between 0 and 8000

ISCosStandard

boolean

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",
  "ShortName": "sample string 3",
  "Status": true,
  "IsExamByState": true,
  "ValidPeriodBy": 6,
  "ValidPeriod": 7,
  "QuestionStatus": true,
  "ExamName": "sample string 9",
  "isState": true,
  "ExamCutomName": "sample string 11",
  "ExamCreatedDate": "2025-04-04T05:07:29.6961355-07:00",
  "ExamStandardPeriod": 13,
  "InCompliance": true,
  "Step1WaitingPeriod": 1,
  "Step2WaitingPeriod": 1,
  "Step3WaitingPeriod": 1,
  "QuestionnaireWaitingPeriod": 1,
  "QuestionnaireReviewWaitingPeriod": 1,
  "Step4WaitingPeriod": 1,
  "Step5WaitingPeriod": 1,
  "IsCustomName": true,
  "CompanyName": "sample string 16",
  "StandardAuthorizeText": "sample string 17",
  "ISQuestionnaireOnlyExam": true,
  "IsQuestionnaireOptional": true,
  "ExamIsQuestionnaireOptional": true,
  "StandardSurveyMonkeyId": "sample string 19",
  "CustomSurveyMonkeyId": "sample string 20",
  "IsExamRestriction": true,
  "IsRestriction": true,
  "IsStep1Optional": true,
  "IsStep2Optional": true,
  "IsSendAuthorization": true,
  "IsSendAuthorizationThirdPartyFacility": true,
  "IsSendAuthorizationCOSOnsiteClinic": true,
  "IsStoreCustomDataFromQuestionnaire": true,
  "listCorporationExamquestionnaireMapping": [
    {
      "Id": 1,
      "CaseNo": 2,
      "ExamId": "sample string 3",
      "CorporationCode": "sample string 4",
      "DataField": "sample string 5",
      "SMQuestion": "sample string 6",
      "Data": "sample string 7",
      "ValidFlag": true,
      "DateCreated": "2025-04-04T05:07:29.6961355-07:00",
      "DateUpdated": "2025-04-04T05:07:29.6961355-07:00",
      "UserIDCreated": 11,
      "UserIDUpdated": 12,
      "CompanyCode": "sample string 13",
      "IsExcludeDiscount": true
    },
    {
      "Id": 1,
      "CaseNo": 2,
      "ExamId": "sample string 3",
      "CorporationCode": "sample string 4",
      "DataField": "sample string 5",
      "SMQuestion": "sample string 6",
      "Data": "sample string 7",
      "ValidFlag": true,
      "DateCreated": "2025-04-04T05:07:29.6961355-07:00",
      "DateUpdated": "2025-04-04T05:07:29.6961355-07:00",
      "UserIDCreated": 11,
      "UserIDUpdated": 12,
      "CompanyCode": "sample string 13",
      "IsExcludeDiscount": true
    }
  ],
  "Detail": "sample string 29",
  "UserName": "sample string 30",
  "CorporationCode": "sample string 31",
  "ISCosStandard": true,
  "ValidFlag": true,
  "DateCreated": "2025-04-04T05:07:29.6961355-07:00",
  "DateUpdated": "2025-04-04T05:07:29.6961355-07:00",
  "UserIDCreated": 36,
  "UserIDUpdated": 37,
  "CompanyCode": "sample string 38",
  "IsExcludeDiscount": true
}

application/xml, text/xml

Sample:
<CompanyExamDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
  <CompanyCode>sample string 38</CompanyCode>
  <DateCreated>2025-04-04T05:07:29.6961355-07:00</DateCreated>
  <DateUpdated>2025-04-04T05:07:29.6961355-07:00</DateUpdated>
  <IsExcludeDiscount>true</IsExcludeDiscount>
  <UserIDCreated>36</UserIDCreated>
  <UserIDUpdated>37</UserIDUpdated>
  <ValidFlag>true</ValidFlag>
  <CompanyName>sample string 16</CompanyName>
  <CorporationCode>sample string 31</CorporationCode>
  <CustomSurveyMonkeyId>sample string 20</CustomSurveyMonkeyId>
  <Detail>sample string 29</Detail>
  <ExamCreatedDate>2025-04-04T05:07:29.6961355-07:00</ExamCreatedDate>
  <ExamCutomName>sample string 11</ExamCutomName>
  <ExamId>sample string 2</ExamId>
  <ExamIsQuestionnaireOptional>true</ExamIsQuestionnaireOptional>
  <ExamName>sample string 9</ExamName>
  <ExamStandardPeriod>13</ExamStandardPeriod>
  <ISCosStandard>true</ISCosStandard>
  <ISQuestionnaireOnlyExam>true</ISQuestionnaireOnlyExam>
  <Id>1</Id>
  <InCompliance>true</InCompliance>
  <IsCustomName>true</IsCustomName>
  <IsExamByState>true</IsExamByState>
  <IsExamRestriction>true</IsExamRestriction>
  <IsQuestionnaireOptional>true</IsQuestionnaireOptional>
  <IsRestriction>true</IsRestriction>
  <IsSendAuthorization>true</IsSendAuthorization>
  <IsSendAuthorizationCOSOnsiteClinic>true</IsSendAuthorizationCOSOnsiteClinic>
  <IsSendAuthorizationThirdPartyFacility>true</IsSendAuthorizationThirdPartyFacility>
  <IsStep1Optional>true</IsStep1Optional>
  <IsStep2Optional>true</IsStep2Optional>
  <IsStoreCustomDataFromQuestionnaire>true</IsStoreCustomDataFromQuestionnaire>
  <QuestionStatus>true</QuestionStatus>
  <QuestionnaireReviewWaitingPeriod>1</QuestionnaireReviewWaitingPeriod>
  <QuestionnaireWaitingPeriod>1</QuestionnaireWaitingPeriod>
  <ShortName>sample string 3</ShortName>
  <StandardAuthorizeText>sample string 17</StandardAuthorizeText>
  <StandardSurveyMonkeyId>sample string 19</StandardSurveyMonkeyId>
  <Status>true</Status>
  <Step1WaitingPeriod>1</Step1WaitingPeriod>
  <Step2WaitingPeriod>1</Step2WaitingPeriod>
  <Step3WaitingPeriod>1</Step3WaitingPeriod>
  <Step4WaitingPeriod>1</Step4WaitingPeriod>
  <Step5WaitingPeriod>1</Step5WaitingPeriod>
  <UserName>sample string 30</UserName>
  <ValidPeriod>7</ValidPeriod>
  <ValidPeriodBy>6</ValidPeriodBy>
  <isState>true</isState>
  <listCorporationExamquestionnaireMapping xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.MedicalExam">
    <d2p1:CorporationExamquestionnaireMappingDTO>
      <CompanyCode>sample string 13</CompanyCode>
      <DateCreated>2025-04-04T05:07:29.6961355-07:00</DateCreated>
      <DateUpdated>2025-04-04T05:07:29.6961355-07:00</DateUpdated>
      <IsExcludeDiscount>true</IsExcludeDiscount>
      <UserIDCreated>11</UserIDCreated>
      <UserIDUpdated>12</UserIDUpdated>
      <ValidFlag>true</ValidFlag>
      <d2p1:CaseNo>2</d2p1:CaseNo>
      <d2p1:CorporationCode>sample string 4</d2p1:CorporationCode>
      <d2p1:Data>sample string 7</d2p1:Data>
      <d2p1:DataField>sample string 5</d2p1:DataField>
      <d2p1:ExamId>sample string 3</d2p1:ExamId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:SMQuestion>sample string 6</d2p1:SMQuestion>
    </d2p1:CorporationExamquestionnaireMappingDTO>
    <d2p1:CorporationExamquestionnaireMappingDTO>
      <CompanyCode>sample string 13</CompanyCode>
      <DateCreated>2025-04-04T05:07:29.6961355-07:00</DateCreated>
      <DateUpdated>2025-04-04T05:07:29.6961355-07:00</DateUpdated>
      <IsExcludeDiscount>true</IsExcludeDiscount>
      <UserIDCreated>11</UserIDCreated>
      <UserIDUpdated>12</UserIDUpdated>
      <ValidFlag>true</ValidFlag>
      <d2p1:CaseNo>2</d2p1:CaseNo>
      <d2p1:CorporationCode>sample string 4</d2p1:CorporationCode>
      <d2p1:Data>sample string 7</d2p1:Data>
      <d2p1:DataField>sample string 5</d2p1:DataField>
      <d2p1:ExamId>sample string 3</d2p1:ExamId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:SMQuestion>sample string 6</d2p1:SMQuestion>
    </d2p1:CorporationExamquestionnaireMappingDTO>
  </listCorporationExamquestionnaireMapping>
</CompanyExamDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfCompanyExamDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

CompanyExamDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": {
    "Id": 1,
    "ExamId": "sample string 2",
    "ShortName": "sample string 3",
    "Status": true,
    "IsExamByState": true,
    "ValidPeriodBy": 6,
    "ValidPeriod": 7,
    "QuestionStatus": true,
    "ExamName": "sample string 9",
    "isState": true,
    "ExamCutomName": "sample string 11",
    "ExamCreatedDate": "2025-04-04T05:07:29.9559036-07:00",
    "ExamStandardPeriod": 13,
    "InCompliance": true,
    "Step1WaitingPeriod": 1,
    "Step2WaitingPeriod": 1,
    "Step3WaitingPeriod": 1,
    "QuestionnaireWaitingPeriod": 1,
    "QuestionnaireReviewWaitingPeriod": 1,
    "Step4WaitingPeriod": 1,
    "Step5WaitingPeriod": 1,
    "IsCustomName": true,
    "CompanyName": "sample string 16",
    "StandardAuthorizeText": "sample string 17",
    "ISQuestionnaireOnlyExam": true,
    "IsQuestionnaireOptional": true,
    "ExamIsQuestionnaireOptional": true,
    "StandardSurveyMonkeyId": "sample string 19",
    "CustomSurveyMonkeyId": "sample string 20",
    "IsExamRestriction": true,
    "IsRestriction": true,
    "IsStep1Optional": true,
    "IsStep2Optional": true,
    "IsSendAuthorization": true,
    "IsSendAuthorizationThirdPartyFacility": true,
    "IsSendAuthorizationCOSOnsiteClinic": true,
    "IsStoreCustomDataFromQuestionnaire": true,
    "listCorporationExamquestionnaireMapping": [
      {
        "Id": 1,
        "CaseNo": 2,
        "ExamId": "sample string 3",
        "CorporationCode": "sample string 4",
        "DataField": "sample string 5",
        "SMQuestion": "sample string 6",
        "Data": "sample string 7",
        "ValidFlag": true,
        "DateCreated": "2025-04-04T05:07:29.9559036-07:00",
        "DateUpdated": "2025-04-04T05:07:29.9559036-07:00",
        "UserIDCreated": 11,
        "UserIDUpdated": 12,
        "CompanyCode": "sample string 13",
        "IsExcludeDiscount": true
      },
      {
        "Id": 1,
        "CaseNo": 2,
        "ExamId": "sample string 3",
        "CorporationCode": "sample string 4",
        "DataField": "sample string 5",
        "SMQuestion": "sample string 6",
        "Data": "sample string 7",
        "ValidFlag": true,
        "DateCreated": "2025-04-04T05:07:29.9559036-07:00",
        "DateUpdated": "2025-04-04T05:07:29.9559036-07:00",
        "UserIDCreated": 11,
        "UserIDUpdated": 12,
        "CompanyCode": "sample string 13",
        "IsExcludeDiscount": true
      }
    ],
    "Detail": "sample string 29",
    "UserName": "sample string 30",
    "CorporationCode": "sample string 31",
    "ISCosStandard": true,
    "ValidFlag": true,
    "DateCreated": "2025-04-04T05:07:29.9559036-07:00",
    "DateUpdated": "2025-04-04T05:07:29.9559036-07:00",
    "UserIDCreated": 36,
    "UserIDUpdated": 37,
    "CompanyCode": "sample string 38",
    "IsExcludeDiscount": true
  },
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfCompanyExamDTO3NYuOdgi 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 38</d2p1:CompanyCode>
    <d2p1:DateCreated>2025-04-04T05:07:29.9559036-07:00</d2p1:DateCreated>
    <d2p1:DateUpdated>2025-04-04T05:07:29.9559036-07:00</d2p1:DateUpdated>
    <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
    <d2p1:UserIDCreated>36</d2p1:UserIDCreated>
    <d2p1:UserIDUpdated>37</d2p1:UserIDUpdated>
    <d2p1:ValidFlag>true</d2p1:ValidFlag>
    <d2p1:CompanyName>sample string 16</d2p1:CompanyName>
    <d2p1:CorporationCode>sample string 31</d2p1:CorporationCode>
    <d2p1:CustomSurveyMonkeyId>sample string 20</d2p1:CustomSurveyMonkeyId>
    <d2p1:Detail>sample string 29</d2p1:Detail>
    <d2p1:ExamCreatedDate>2025-04-04T05:07:29.9559036-07:00</d2p1:ExamCreatedDate>
    <d2p1:ExamCutomName>sample string 11</d2p1:ExamCutomName>
    <d2p1:ExamId>sample string 2</d2p1:ExamId>
    <d2p1:ExamIsQuestionnaireOptional>true</d2p1:ExamIsQuestionnaireOptional>
    <d2p1:ExamName>sample string 9</d2p1:ExamName>
    <d2p1:ExamStandardPeriod>13</d2p1:ExamStandardPeriod>
    <d2p1:ISCosStandard>true</d2p1:ISCosStandard>
    <d2p1:ISQuestionnaireOnlyExam>true</d2p1:ISQuestionnaireOnlyExam>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:InCompliance>true</d2p1:InCompliance>
    <d2p1:IsCustomName>true</d2p1:IsCustomName>
    <d2p1:IsExamByState>true</d2p1:IsExamByState>
    <d2p1:IsExamRestriction>true</d2p1:IsExamRestriction>
    <d2p1:IsQuestionnaireOptional>true</d2p1:IsQuestionnaireOptional>
    <d2p1:IsRestriction>true</d2p1:IsRestriction>
    <d2p1:IsSendAuthorization>true</d2p1:IsSendAuthorization>
    <d2p1:IsSendAuthorizationCOSOnsiteClinic>true</d2p1:IsSendAuthorizationCOSOnsiteClinic>
    <d2p1:IsSendAuthorizationThirdPartyFacility>true</d2p1:IsSendAuthorizationThirdPartyFacility>
    <d2p1:IsStep1Optional>true</d2p1:IsStep1Optional>
    <d2p1:IsStep2Optional>true</d2p1:IsStep2Optional>
    <d2p1:IsStoreCustomDataFromQuestionnaire>true</d2p1:IsStoreCustomDataFromQuestionnaire>
    <d2p1:QuestionStatus>true</d2p1:QuestionStatus>
    <d2p1:QuestionnaireReviewWaitingPeriod>1</d2p1:QuestionnaireReviewWaitingPeriod>
    <d2p1:QuestionnaireWaitingPeriod>1</d2p1:QuestionnaireWaitingPeriod>
    <d2p1:ShortName>sample string 3</d2p1:ShortName>
    <d2p1:StandardAuthorizeText>sample string 17</d2p1:StandardAuthorizeText>
    <d2p1:StandardSurveyMonkeyId>sample string 19</d2p1:StandardSurveyMonkeyId>
    <d2p1:Status>true</d2p1:Status>
    <d2p1:Step1WaitingPeriod>1</d2p1:Step1WaitingPeriod>
    <d2p1:Step2WaitingPeriod>1</d2p1:Step2WaitingPeriod>
    <d2p1:Step3WaitingPeriod>1</d2p1:Step3WaitingPeriod>
    <d2p1:Step4WaitingPeriod>1</d2p1:Step4WaitingPeriod>
    <d2p1:Step5WaitingPeriod>1</d2p1:Step5WaitingPeriod>
    <d2p1:UserName>sample string 30</d2p1:UserName>
    <d2p1:ValidPeriod>7</d2p1:ValidPeriod>
    <d2p1:ValidPeriodBy>6</d2p1:ValidPeriodBy>
    <d2p1:isState>true</d2p1:isState>
    <d2p1:listCorporationExamquestionnaireMapping xmlns:d3p1="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.MedicalExam">
      <d3p1:CorporationExamquestionnaireMappingDTO>
        <d2p1:CompanyCode>sample string 13</d2p1:CompanyCode>
        <d2p1:DateCreated>2025-04-04T05:07:29.9559036-07:00</d2p1:DateCreated>
        <d2p1:DateUpdated>2025-04-04T05:07:29.9559036-07:00</d2p1:DateUpdated>
        <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
        <d2p1:UserIDCreated>11</d2p1:UserIDCreated>
        <d2p1:UserIDUpdated>12</d2p1:UserIDUpdated>
        <d2p1:ValidFlag>true</d2p1:ValidFlag>
        <d3p1:CaseNo>2</d3p1:CaseNo>
        <d3p1:CorporationCode>sample string 4</d3p1:CorporationCode>
        <d3p1:Data>sample string 7</d3p1:Data>
        <d3p1:DataField>sample string 5</d3p1:DataField>
        <d3p1:ExamId>sample string 3</d3p1:ExamId>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:SMQuestion>sample string 6</d3p1:SMQuestion>
      </d3p1:CorporationExamquestionnaireMappingDTO>
      <d3p1:CorporationExamquestionnaireMappingDTO>
        <d2p1:CompanyCode>sample string 13</d2p1:CompanyCode>
        <d2p1:DateCreated>2025-04-04T05:07:29.9559036-07:00</d2p1:DateCreated>
        <d2p1:DateUpdated>2025-04-04T05:07:29.9559036-07:00</d2p1:DateUpdated>
        <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
        <d2p1:UserIDCreated>11</d2p1:UserIDCreated>
        <d2p1:UserIDUpdated>12</d2p1:UserIDUpdated>
        <d2p1:ValidFlag>true</d2p1:ValidFlag>
        <d3p1:CaseNo>2</d3p1:CaseNo>
        <d3p1:CorporationCode>sample string 4</d3p1:CorporationCode>
        <d3p1:Data>sample string 7</d3p1:Data>
        <d3p1:DataField>sample string 5</d3p1:DataField>
        <d3p1:ExamId>sample string 3</d3p1:ExamId>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:SMQuestion>sample string 6</d3p1:SMQuestion>
      </d3p1:CorporationExamquestionnaireMappingDTO>
    </d2p1:listCorporationExamquestionnaireMapping>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfCompanyExamDTO3NYuOdgi>