POST api/CovidRTWFormDownload/PostActivateCovidForm

Request Information

URI Parameters

None.

Body Parameters

ActivateCovidFormDTO
NameDescriptionTypeAdditional information
Id

integer

None.

CovidFormId

integer

None.

IsActivated

boolean

None.

IsCompleted

boolean

None.

Note

string

String length: inclusive between 0 and 300

ValidFlag

boolean

None.

DateCreated

date

None.

DateUpdated

date

None.

UserIDCreated

integer

None.

UserIDUpdated

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CovidFormId": 2,
  "IsActivated": true,
  "IsCompleted": true,
  "Note": "sample string 3",
  "ValidFlag": true,
  "DateCreated": "2025-04-04T05:40:01.8661572-07:00",
  "DateUpdated": "2025-04-04T05:40:01.8661572-07:00",
  "UserIDCreated": 7,
  "UserIDUpdated": 8
}

application/xml, text/xml

Sample:
<ActivateCovidFormDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
  <DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Model">2025-04-04T05:40:01.8661572-07:00</DateCreated>
  <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Model">2025-04-04T05:40:01.8661572-07:00</DateUpdated>
  <UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Model">7</UserIDCreated>
  <UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Model">8</UserIDUpdated>
  <ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Model">true</ValidFlag>
  <CovidFormId>2</CovidFormId>
  <Id>1</Id>
  <IsActivated>true</IsActivated>
  <IsCompleted>true</IsCompleted>
  <Note>sample string 3</Note>
</ActivateCovidFormDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfActivateCovidFormDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

ActivateCovidFormDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": {
    "Id": 1,
    "CovidFormId": 2,
    "IsActivated": true,
    "IsCompleted": true,
    "Note": "sample string 3",
    "ValidFlag": true,
    "DateCreated": "2025-04-04T05:40:01.8817828-07:00",
    "DateUpdated": "2025-04-04T05:40:01.8817828-07:00",
    "UserIDCreated": 7,
    "UserIDUpdated": 8
  },
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfActivateCovidFormDTO3NYuOdgi 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">
    <DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Model">2025-04-04T05:40:01.8817828-07:00</DateCreated>
    <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Model">2025-04-04T05:40:01.8817828-07:00</DateUpdated>
    <UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Model">7</UserIDCreated>
    <UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Model">8</UserIDUpdated>
    <ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Model">true</ValidFlag>
    <d2p1:CovidFormId>2</d2p1:CovidFormId>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:IsActivated>true</d2p1:IsActivated>
    <d2p1:IsCompleted>true</d2p1:IsCompleted>
    <d2p1:Note>sample string 3</d2p1:Note>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfActivateCovidFormDTO3NYuOdgi>