POST api/ministry-of-health/Set

Request Information

URI Parameters

None.

Body Parameters

MinistryOfHealthFormModel
NameDescriptionTypeAdditional information
Id

integer

None.

TravellerDetails

TravellerDetails

None.

VehicleInformation

VehicleInformation

None.

HealthInformation

HealthInformation

None.

OfficialInfo

OfficialInfo

None.

HealthFacility

HealthFacility

None.

Step

integer

None.

IsCompleted

boolean

None.

Files

Collection of File

None.

SubmitTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "TravellerDetails": {
    "FullName": "sample string 1",
    "Age": 2,
    "Sex": "sample string 3",
    "PassportNumber": "sample string 4",
    "Nationality": "sample string 5",
    "DurationStay": 6,
    "Occupation": "sample string 7",
    "LastvisitedCountries": [
      "sample string 1",
      "sample string 2"
    ],
    "ReasonsVisiting": "sample string 8",
    "ContactNumber": {
      "PhoneCode": "sample string 1",
      "Phone": "sample string 2"
    },
    "EmergencyContactNumber": {
      "PhoneCode": "sample string 1",
      "Phone": "sample string 2"
    },
    "OriginalCountry": "sample string 9",
    "VisitedPlaces": "sample string 10",
    "ScanOfPassport": {
      "FileType": "sample string 1",
      "FileName": "sample string 2",
      "FileSize": 3,
      "Base64": "sample string 4"
    }
  },
  "VehicleInformation": {
    "LicencePlate": "sample string 1",
    "TruckLicencePlate": "sample string 2",
    "TicketNumber": 3,
    "OriginTruck": "sample string 4",
    "FinalDestination": "sample string 5",
    "DestinationTruck": "sample string 6",
    "BorderCross": {
      "Last": "sample string 1",
      "Next": "sample string 2",
      "ContactPhone": {
        "PhoneCode": "sample string 1",
        "Phone": "sample string 2"
      }
    },
    "Employer": {
      "Id": 1,
      "Names": "sample string 1",
      "Country": "sample string 2",
      "ContactNumber": {
        "PhoneCode": "sample string 1",
        "Phone": "sample string 2"
      }
    }
  },
  "HealthInformation": {
    "Fever": true,
    "Cough": true,
    "Diarrhoea": true,
    "SoreThroat": true,
    "AbdominalPain": true,
    "Rash": true,
    "BreathingDifficulties": true,
    "ShortnessBreath": true,
    "Vomiting": true,
    "Headache": true,
    "MusclePain": true,
    "BruisingOrBleeding": true,
    "Jaundice": true,
    "Temperature": 14.1,
    "Temperature2": 1.1,
    "CovidTest": true,
    "CovidTestResult": "sample string 16"
  },
  "OfficialInfo": {
    "Name": "sample string 1",
    "Province": "sample string 2",
    "PointEntry": "sample string 3",
    "Email": "sample string 4",
    "InstitutionPhone": {
      "PhoneCode": "sample string 1",
      "Phone": "sample string 2"
    },
    "MobilePhone": {
      "PhoneCode": "sample string 1",
      "Phone": "sample string 2"
    }
  },
  "HealthFacility": {
    "Name": "sample string 1",
    "Clinic": "sample string 2",
    "PhoneClinic": {
      "PhoneCode": "sample string 1",
      "Phone": "sample string 2"
    },
    "Comments": "sample string 3"
  },
  "Step": 2,
  "IsCompleted": true,
  "Files": [
    {
      "FileType": "sample string 1",
      "FileName": "sample string 2",
      "FileSize": 3,
      "Base64": "sample string 4"
    },
    {
      "FileType": "sample string 1",
      "FileName": "sample string 2",
      "FileSize": 3,
      "Base64": "sample string 4"
    }
  ],
  "SubmitTime": "2020-10-21T09:36:37.8859372+03:00"
}

application/xml, text/xml

Sample:
<MinistryOfHealthFormModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrmcAPI_Public.Models">
  <Files>
    <File>
      <Base64>sample string 4</Base64>
      <FileName>sample string 2</FileName>
      <FileSize>3</FileSize>
      <FileType>sample string 1</FileType>
    </File>
    <File>
      <Base64>sample string 4</Base64>
      <FileName>sample string 2</FileName>
      <FileSize>3</FileSize>
      <FileType>sample string 1</FileType>
    </File>
  </Files>
  <HealthFacility>
    <Clinic>sample string 2</Clinic>
    <Comments>sample string 3</Comments>
    <Name>sample string 1</Name>
    <PhoneClinic>
      <Phone>sample string 2</Phone>
      <PhoneCode>sample string 1</PhoneCode>
    </PhoneClinic>
  </HealthFacility>
  <HealthInformation>
    <AbdominalPain>true</AbdominalPain>
    <BreathingDifficulties>true</BreathingDifficulties>
    <BruisingOrBleeding>true</BruisingOrBleeding>
    <Cough>true</Cough>
    <CovidTest>true</CovidTest>
    <CovidTestResult>sample string 16</CovidTestResult>
    <Diarrhoea>true</Diarrhoea>
    <Fever>true</Fever>
    <Headache>true</Headache>
    <Jaundice>true</Jaundice>
    <MusclePain>true</MusclePain>
    <Rash>true</Rash>
    <ShortnessBreath>true</ShortnessBreath>
    <SoreThroat>true</SoreThroat>
    <Temperature>14.1</Temperature>
    <Temperature2>1.1</Temperature2>
    <Vomiting>true</Vomiting>
  </HealthInformation>
  <Id>1</Id>
  <IsCompleted>true</IsCompleted>
  <OfficialInfo>
    <Email>sample string 4</Email>
    <InstitutionPhone>
      <Phone>sample string 2</Phone>
      <PhoneCode>sample string 1</PhoneCode>
    </InstitutionPhone>
    <MobilePhone>
      <Phone>sample string 2</Phone>
      <PhoneCode>sample string 1</PhoneCode>
    </MobilePhone>
    <Name>sample string 1</Name>
    <PointEntry>sample string 3</PointEntry>
    <Province>sample string 2</Province>
  </OfficialInfo>
  <Step>2</Step>
  <SubmitTime>2020-10-21T09:36:37.8859372+03:00</SubmitTime>
  <TravellerDetails>
    <Age>2</Age>
    <ContactNumber>
      <Phone>sample string 2</Phone>
      <PhoneCode>sample string 1</PhoneCode>
    </ContactNumber>
    <DurationStay>6</DurationStay>
    <EmergencyContactNumber>
      <Phone>sample string 2</Phone>
      <PhoneCode>sample string 1</PhoneCode>
    </EmergencyContactNumber>
    <FullName>sample string 1</FullName>
    <LastvisitedCountries xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </LastvisitedCountries>
    <Nationality>sample string 5</Nationality>
    <Occupation>sample string 7</Occupation>
    <OriginalCountry>sample string 9</OriginalCountry>
    <PassportNumber>sample string 4</PassportNumber>
    <ReasonsVisiting>sample string 8</ReasonsVisiting>
    <ScanOfPassport>
      <Base64>sample string 4</Base64>
      <FileName>sample string 2</FileName>
      <FileSize>3</FileSize>
      <FileType>sample string 1</FileType>
    </ScanOfPassport>
    <Sex>sample string 3</Sex>
    <VisitedPlaces>sample string 10</VisitedPlaces>
  </TravellerDetails>
  <VehicleInformation>
    <BorderCross>
      <ContactPhone>
        <Phone>sample string 2</Phone>
        <PhoneCode>sample string 1</PhoneCode>
      </ContactPhone>
      <Last>sample string 1</Last>
      <Next>sample string 2</Next>
    </BorderCross>
    <DestinationTruck>sample string 6</DestinationTruck>
    <Employer>
      <ContactNumber>
        <Phone>sample string 2</Phone>
        <PhoneCode>sample string 1</PhoneCode>
      </ContactNumber>
      <Country>sample string 2</Country>
      <Id>1</Id>
      <Names>sample string 1</Names>
    </Employer>
    <FinalDestination>sample string 5</FinalDestination>
    <LicencePlate>sample string 1</LicencePlate>
    <OriginTruck>sample string 4</OriginTruck>
    <TicketNumber>3</TicketNumber>
    <TruckLicencePlate>sample string 2</TruckLicencePlate>
  </VehicleInformation>
</MinistryOfHealthFormModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.