POST api/Patient/PatientRequestAdd

Request Information

URI Parameters

None.

Body Parameters

PatientRequestAddRequest
NameDescriptionTypeAdditional information
PatientRequestAdd

PatientRequestAdd

None.

PatientID

globally unique identifier

None.

WebApiVersion

integer

None.

Language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientRequestAdd": {
    "RequestTypeID": "c45d85ba-1a3b-46ed-be69-e0a9bffc65eb",
    "DoctorID": "f694c3e6-d5e4-488f-b489-526abdbdeb53",
    "LaboratoryData": [
      {
        "CategoryID": "50267274-7eb9-446f-80e2-382ffb886338",
        "CategoryName": "sample string 2",
        "ServiceList": [
          {
            "ServiceID": "6b72712d-6cf6-4121-a22f-5ddde366590b",
            "ServiceName": "sample string 2"
          },
          {
            "ServiceID": "6b72712d-6cf6-4121-a22f-5ddde366590b",
            "ServiceName": "sample string 2"
          }
        ]
      },
      {
        "CategoryID": "50267274-7eb9-446f-80e2-382ffb886338",
        "CategoryName": "sample string 2",
        "ServiceList": [
          {
            "ServiceID": "6b72712d-6cf6-4121-a22f-5ddde366590b",
            "ServiceName": "sample string 2"
          },
          {
            "ServiceID": "6b72712d-6cf6-4121-a22f-5ddde366590b",
            "ServiceName": "sample string 2"
          }
        ]
      }
    ],
    "RadiologyData": [
      {
        "TypeID": "c19a7524-76fd-46c4-b8fb-32eb4f77d5cf",
        "TypeName": "sample string 2",
        "CategoryList": [
          {
            "CategoryID": "d2c354ba-9d48-4f41-99a2-70af74d3b994",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "25face29-4d86-4be2-a1ac-121d76bfbfea",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "25face29-4d86-4be2-a1ac-121d76bfbfea",
                "ServiceName": "sample string 2"
              }
            ]
          },
          {
            "CategoryID": "d2c354ba-9d48-4f41-99a2-70af74d3b994",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "25face29-4d86-4be2-a1ac-121d76bfbfea",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "25face29-4d86-4be2-a1ac-121d76bfbfea",
                "ServiceName": "sample string 2"
              }
            ]
          }
        ]
      },
      {
        "TypeID": "c19a7524-76fd-46c4-b8fb-32eb4f77d5cf",
        "TypeName": "sample string 2",
        "CategoryList": [
          {
            "CategoryID": "d2c354ba-9d48-4f41-99a2-70af74d3b994",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "25face29-4d86-4be2-a1ac-121d76bfbfea",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "25face29-4d86-4be2-a1ac-121d76bfbfea",
                "ServiceName": "sample string 2"
              }
            ]
          },
          {
            "CategoryID": "d2c354ba-9d48-4f41-99a2-70af74d3b994",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "25face29-4d86-4be2-a1ac-121d76bfbfea",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "25face29-4d86-4be2-a1ac-121d76bfbfea",
                "ServiceName": "sample string 2"
              }
            ]
          }
        ]
      }
    ]
  },
  "PatientID": "b0997b57-34da-4cdc-83e8-0f0a50f5d690",
  "WebApiVersion": 2,
  "Language": "sample string 3"
}

application/xml, text/xml

Sample:
<PatientRequestAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <Language>sample string 3</Language>
  <PatientID>b0997b57-34da-4cdc-83e8-0f0a50f5d690</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientRequestAdd>
    <DoctorID>f694c3e6-d5e4-488f-b489-526abdbdeb53</DoctorID>
    <LaboratoryData>
      <LaboratoryCategoryLookup>
        <CategoryID>50267274-7eb9-446f-80e2-382ffb886338</CategoryID>
        <CategoryName>sample string 2</CategoryName>
        <ServiceList>
          <LaboratoryServiceLookup>
            <ServiceID>6b72712d-6cf6-4121-a22f-5ddde366590b</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
          <LaboratoryServiceLookup>
            <ServiceID>6b72712d-6cf6-4121-a22f-5ddde366590b</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
        </ServiceList>
      </LaboratoryCategoryLookup>
      <LaboratoryCategoryLookup>
        <CategoryID>50267274-7eb9-446f-80e2-382ffb886338</CategoryID>
        <CategoryName>sample string 2</CategoryName>
        <ServiceList>
          <LaboratoryServiceLookup>
            <ServiceID>6b72712d-6cf6-4121-a22f-5ddde366590b</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
          <LaboratoryServiceLookup>
            <ServiceID>6b72712d-6cf6-4121-a22f-5ddde366590b</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
        </ServiceList>
      </LaboratoryCategoryLookup>
    </LaboratoryData>
    <RadiologyData>
      <RadiologyTypeLookup>
        <CategoryList>
          <RadiologyCategoryLookup>
            <CategoryID>d2c354ba-9d48-4f41-99a2-70af74d3b994</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>25face29-4d86-4be2-a1ac-121d76bfbfea</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>25face29-4d86-4be2-a1ac-121d76bfbfea</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
          <RadiologyCategoryLookup>
            <CategoryID>d2c354ba-9d48-4f41-99a2-70af74d3b994</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>25face29-4d86-4be2-a1ac-121d76bfbfea</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>25face29-4d86-4be2-a1ac-121d76bfbfea</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
        </CategoryList>
        <TypeID>c19a7524-76fd-46c4-b8fb-32eb4f77d5cf</TypeID>
        <TypeName>sample string 2</TypeName>
      </RadiologyTypeLookup>
      <RadiologyTypeLookup>
        <CategoryList>
          <RadiologyCategoryLookup>
            <CategoryID>d2c354ba-9d48-4f41-99a2-70af74d3b994</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>25face29-4d86-4be2-a1ac-121d76bfbfea</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>25face29-4d86-4be2-a1ac-121d76bfbfea</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
          <RadiologyCategoryLookup>
            <CategoryID>d2c354ba-9d48-4f41-99a2-70af74d3b994</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>25face29-4d86-4be2-a1ac-121d76bfbfea</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>25face29-4d86-4be2-a1ac-121d76bfbfea</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
        </CategoryList>
        <TypeID>c19a7524-76fd-46c4-b8fb-32eb4f77d5cf</TypeID>
        <TypeName>sample string 2</TypeName>
      </RadiologyTypeLookup>
    </RadiologyData>
    <RequestTypeID>c45d85ba-1a3b-46ed-be69-e0a9bffc65eb</RequestTypeID>
  </PatientRequestAdd>
</PatientRequestAddRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PatientRequestResponse
NameDescriptionTypeAdditional information
PatientRequest

PatientRequest

None.

WebApiVersion

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "PatientRequest": {
    "PatientRequestID": "65fd5ea5-06f5-4707-9593-22524577fdee",
    "RequestTypeID": "af26bb19-0c68-407e-89ae-77e12afdf021",
    "DoctorID": "dc96a63a-adc8-4199-a1b1-937be431159a",
    "RequestTitle": "sample string 4",
    "LaboratoryData": [
      {
        "CategoryID": "37e6ad14-0712-4819-b166-e5c1b894dd33",
        "CategoryName": "sample string 2",
        "ServiceList": [
          {
            "ServiceID": "d87bc08b-cc08-49ff-8d3f-c88a97bf5470",
            "ServiceName": "sample string 2"
          },
          {
            "ServiceID": "d87bc08b-cc08-49ff-8d3f-c88a97bf5470",
            "ServiceName": "sample string 2"
          }
        ]
      },
      {
        "CategoryID": "37e6ad14-0712-4819-b166-e5c1b894dd33",
        "CategoryName": "sample string 2",
        "ServiceList": [
          {
            "ServiceID": "d87bc08b-cc08-49ff-8d3f-c88a97bf5470",
            "ServiceName": "sample string 2"
          },
          {
            "ServiceID": "d87bc08b-cc08-49ff-8d3f-c88a97bf5470",
            "ServiceName": "sample string 2"
          }
        ]
      }
    ],
    "RadiologyData": [
      {
        "TypeID": "ab2fa542-b007-466a-b2b9-1e72687bd741",
        "TypeName": "sample string 2",
        "CategoryList": [
          {
            "CategoryID": "6d103a9b-8335-4389-8bee-d44c79e03b4d",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "a900bee0-fa69-4503-ba29-e6083fb962bf",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "a900bee0-fa69-4503-ba29-e6083fb962bf",
                "ServiceName": "sample string 2"
              }
            ]
          },
          {
            "CategoryID": "6d103a9b-8335-4389-8bee-d44c79e03b4d",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "a900bee0-fa69-4503-ba29-e6083fb962bf",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "a900bee0-fa69-4503-ba29-e6083fb962bf",
                "ServiceName": "sample string 2"
              }
            ]
          }
        ]
      },
      {
        "TypeID": "ab2fa542-b007-466a-b2b9-1e72687bd741",
        "TypeName": "sample string 2",
        "CategoryList": [
          {
            "CategoryID": "6d103a9b-8335-4389-8bee-d44c79e03b4d",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "a900bee0-fa69-4503-ba29-e6083fb962bf",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "a900bee0-fa69-4503-ba29-e6083fb962bf",
                "ServiceName": "sample string 2"
              }
            ]
          },
          {
            "CategoryID": "6d103a9b-8335-4389-8bee-d44c79e03b4d",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "a900bee0-fa69-4503-ba29-e6083fb962bf",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "a900bee0-fa69-4503-ba29-e6083fb962bf",
                "ServiceName": "sample string 2"
              }
            ]
          }
        ]
      }
    ]
  },
  "WebApiVersion": 1
}

application/xml, text/xml

Sample:
<PatientRequestResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <WebApiVersion>1</WebApiVersion>
  <PatientRequest>
    <DoctorID>dc96a63a-adc8-4199-a1b1-937be431159a</DoctorID>
    <LaboratoryData>
      <LaboratoryCategoryLookup>
        <CategoryID>37e6ad14-0712-4819-b166-e5c1b894dd33</CategoryID>
        <CategoryName>sample string 2</CategoryName>
        <ServiceList>
          <LaboratoryServiceLookup>
            <ServiceID>d87bc08b-cc08-49ff-8d3f-c88a97bf5470</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
          <LaboratoryServiceLookup>
            <ServiceID>d87bc08b-cc08-49ff-8d3f-c88a97bf5470</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
        </ServiceList>
      </LaboratoryCategoryLookup>
      <LaboratoryCategoryLookup>
        <CategoryID>37e6ad14-0712-4819-b166-e5c1b894dd33</CategoryID>
        <CategoryName>sample string 2</CategoryName>
        <ServiceList>
          <LaboratoryServiceLookup>
            <ServiceID>d87bc08b-cc08-49ff-8d3f-c88a97bf5470</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
          <LaboratoryServiceLookup>
            <ServiceID>d87bc08b-cc08-49ff-8d3f-c88a97bf5470</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
        </ServiceList>
      </LaboratoryCategoryLookup>
    </LaboratoryData>
    <PatientRequestID>65fd5ea5-06f5-4707-9593-22524577fdee</PatientRequestID>
    <RadiologyData>
      <RadiologyTypeLookup>
        <CategoryList>
          <RadiologyCategoryLookup>
            <CategoryID>6d103a9b-8335-4389-8bee-d44c79e03b4d</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>a900bee0-fa69-4503-ba29-e6083fb962bf</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>a900bee0-fa69-4503-ba29-e6083fb962bf</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
          <RadiologyCategoryLookup>
            <CategoryID>6d103a9b-8335-4389-8bee-d44c79e03b4d</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>a900bee0-fa69-4503-ba29-e6083fb962bf</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>a900bee0-fa69-4503-ba29-e6083fb962bf</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
        </CategoryList>
        <TypeID>ab2fa542-b007-466a-b2b9-1e72687bd741</TypeID>
        <TypeName>sample string 2</TypeName>
      </RadiologyTypeLookup>
      <RadiologyTypeLookup>
        <CategoryList>
          <RadiologyCategoryLookup>
            <CategoryID>6d103a9b-8335-4389-8bee-d44c79e03b4d</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>a900bee0-fa69-4503-ba29-e6083fb962bf</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>a900bee0-fa69-4503-ba29-e6083fb962bf</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
          <RadiologyCategoryLookup>
            <CategoryID>6d103a9b-8335-4389-8bee-d44c79e03b4d</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>a900bee0-fa69-4503-ba29-e6083fb962bf</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>a900bee0-fa69-4503-ba29-e6083fb962bf</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
        </CategoryList>
        <TypeID>ab2fa542-b007-466a-b2b9-1e72687bd741</TypeID>
        <TypeName>sample string 2</TypeName>
      </RadiologyTypeLookup>
    </RadiologyData>
    <RequestTitle>sample string 4</RequestTitle>
    <RequestTypeID>af26bb19-0c68-407e-89ae-77e12afdf021</RequestTypeID>
  </PatientRequest>
</PatientRequestResponse>