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": "a53a9dc3-69d4-461a-b43b-e5fbfffbaa19",
    "DoctorID": "22c08d00-7e4e-4562-9ab8-5fb1c5ab0a58",
    "LaboratoryData": [
      {
        "CategoryID": "9b342c0f-f560-4afc-9f51-7ddb66b0bfef",
        "CategoryName": "sample string 2",
        "ServiceList": [
          {
            "ServiceID": "44029bdc-a616-42e7-91d0-1ea8ad5743fd",
            "ServiceName": "sample string 2"
          },
          {
            "ServiceID": "44029bdc-a616-42e7-91d0-1ea8ad5743fd",
            "ServiceName": "sample string 2"
          }
        ]
      },
      {
        "CategoryID": "9b342c0f-f560-4afc-9f51-7ddb66b0bfef",
        "CategoryName": "sample string 2",
        "ServiceList": [
          {
            "ServiceID": "44029bdc-a616-42e7-91d0-1ea8ad5743fd",
            "ServiceName": "sample string 2"
          },
          {
            "ServiceID": "44029bdc-a616-42e7-91d0-1ea8ad5743fd",
            "ServiceName": "sample string 2"
          }
        ]
      }
    ],
    "RadiologyData": [
      {
        "TypeID": "69fd4081-ac24-4328-8520-37fc12d7c6b2",
        "TypeName": "sample string 2",
        "CategoryList": [
          {
            "CategoryID": "3d4e198d-b552-46c7-8904-1c3dafad2742",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "b806b142-5e5e-46d1-9a3b-51c50d262f7b",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "b806b142-5e5e-46d1-9a3b-51c50d262f7b",
                "ServiceName": "sample string 2"
              }
            ]
          },
          {
            "CategoryID": "3d4e198d-b552-46c7-8904-1c3dafad2742",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "b806b142-5e5e-46d1-9a3b-51c50d262f7b",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "b806b142-5e5e-46d1-9a3b-51c50d262f7b",
                "ServiceName": "sample string 2"
              }
            ]
          }
        ]
      },
      {
        "TypeID": "69fd4081-ac24-4328-8520-37fc12d7c6b2",
        "TypeName": "sample string 2",
        "CategoryList": [
          {
            "CategoryID": "3d4e198d-b552-46c7-8904-1c3dafad2742",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "b806b142-5e5e-46d1-9a3b-51c50d262f7b",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "b806b142-5e5e-46d1-9a3b-51c50d262f7b",
                "ServiceName": "sample string 2"
              }
            ]
          },
          {
            "CategoryID": "3d4e198d-b552-46c7-8904-1c3dafad2742",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "b806b142-5e5e-46d1-9a3b-51c50d262f7b",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "b806b142-5e5e-46d1-9a3b-51c50d262f7b",
                "ServiceName": "sample string 2"
              }
            ]
          }
        ]
      }
    ]
  },
  "PatientID": "daea9fa5-fc02-4c8e-be35-0965c0b64c9f",
  "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>daea9fa5-fc02-4c8e-be35-0965c0b64c9f</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientRequestAdd>
    <DoctorID>22c08d00-7e4e-4562-9ab8-5fb1c5ab0a58</DoctorID>
    <LaboratoryData>
      <LaboratoryCategoryLookup>
        <CategoryID>9b342c0f-f560-4afc-9f51-7ddb66b0bfef</CategoryID>
        <CategoryName>sample string 2</CategoryName>
        <ServiceList>
          <LaboratoryServiceLookup>
            <ServiceID>44029bdc-a616-42e7-91d0-1ea8ad5743fd</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
          <LaboratoryServiceLookup>
            <ServiceID>44029bdc-a616-42e7-91d0-1ea8ad5743fd</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
        </ServiceList>
      </LaboratoryCategoryLookup>
      <LaboratoryCategoryLookup>
        <CategoryID>9b342c0f-f560-4afc-9f51-7ddb66b0bfef</CategoryID>
        <CategoryName>sample string 2</CategoryName>
        <ServiceList>
          <LaboratoryServiceLookup>
            <ServiceID>44029bdc-a616-42e7-91d0-1ea8ad5743fd</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
          <LaboratoryServiceLookup>
            <ServiceID>44029bdc-a616-42e7-91d0-1ea8ad5743fd</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
        </ServiceList>
      </LaboratoryCategoryLookup>
    </LaboratoryData>
    <RadiologyData>
      <RadiologyTypeLookup>
        <CategoryList>
          <RadiologyCategoryLookup>
            <CategoryID>3d4e198d-b552-46c7-8904-1c3dafad2742</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>b806b142-5e5e-46d1-9a3b-51c50d262f7b</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>b806b142-5e5e-46d1-9a3b-51c50d262f7b</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
          <RadiologyCategoryLookup>
            <CategoryID>3d4e198d-b552-46c7-8904-1c3dafad2742</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>b806b142-5e5e-46d1-9a3b-51c50d262f7b</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>b806b142-5e5e-46d1-9a3b-51c50d262f7b</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
        </CategoryList>
        <TypeID>69fd4081-ac24-4328-8520-37fc12d7c6b2</TypeID>
        <TypeName>sample string 2</TypeName>
      </RadiologyTypeLookup>
      <RadiologyTypeLookup>
        <CategoryList>
          <RadiologyCategoryLookup>
            <CategoryID>3d4e198d-b552-46c7-8904-1c3dafad2742</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>b806b142-5e5e-46d1-9a3b-51c50d262f7b</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>b806b142-5e5e-46d1-9a3b-51c50d262f7b</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
          <RadiologyCategoryLookup>
            <CategoryID>3d4e198d-b552-46c7-8904-1c3dafad2742</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>b806b142-5e5e-46d1-9a3b-51c50d262f7b</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>b806b142-5e5e-46d1-9a3b-51c50d262f7b</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
        </CategoryList>
        <TypeID>69fd4081-ac24-4328-8520-37fc12d7c6b2</TypeID>
        <TypeName>sample string 2</TypeName>
      </RadiologyTypeLookup>
    </RadiologyData>
    <RequestTypeID>a53a9dc3-69d4-461a-b43b-e5fbfffbaa19</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": "62cec334-d790-49fd-970f-3c8c21623ac5",
    "RequestTypeID": "bff5674b-c3d2-424e-abe4-c12290351704",
    "DoctorID": "18627a32-ee8b-4b5e-94fe-da48c7706737",
    "RequestTitle": "sample string 4",
    "LaboratoryData": [
      {
        "CategoryID": "cf9d4dc3-3db7-454b-9f0e-c0c3fb6bcf2e",
        "CategoryName": "sample string 2",
        "ServiceList": [
          {
            "ServiceID": "32d4aa5e-5686-4310-8012-390d01bb6303",
            "ServiceName": "sample string 2"
          },
          {
            "ServiceID": "32d4aa5e-5686-4310-8012-390d01bb6303",
            "ServiceName": "sample string 2"
          }
        ]
      },
      {
        "CategoryID": "cf9d4dc3-3db7-454b-9f0e-c0c3fb6bcf2e",
        "CategoryName": "sample string 2",
        "ServiceList": [
          {
            "ServiceID": "32d4aa5e-5686-4310-8012-390d01bb6303",
            "ServiceName": "sample string 2"
          },
          {
            "ServiceID": "32d4aa5e-5686-4310-8012-390d01bb6303",
            "ServiceName": "sample string 2"
          }
        ]
      }
    ],
    "RadiologyData": [
      {
        "TypeID": "42ba98e0-442e-469b-936f-780d7093d5f0",
        "TypeName": "sample string 2",
        "CategoryList": [
          {
            "CategoryID": "45128e30-f0b9-4df3-957f-ed731f5927e4",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "bdb30eda-b973-4179-9cdd-776d0b343906",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "bdb30eda-b973-4179-9cdd-776d0b343906",
                "ServiceName": "sample string 2"
              }
            ]
          },
          {
            "CategoryID": "45128e30-f0b9-4df3-957f-ed731f5927e4",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "bdb30eda-b973-4179-9cdd-776d0b343906",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "bdb30eda-b973-4179-9cdd-776d0b343906",
                "ServiceName": "sample string 2"
              }
            ]
          }
        ]
      },
      {
        "TypeID": "42ba98e0-442e-469b-936f-780d7093d5f0",
        "TypeName": "sample string 2",
        "CategoryList": [
          {
            "CategoryID": "45128e30-f0b9-4df3-957f-ed731f5927e4",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "bdb30eda-b973-4179-9cdd-776d0b343906",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "bdb30eda-b973-4179-9cdd-776d0b343906",
                "ServiceName": "sample string 2"
              }
            ]
          },
          {
            "CategoryID": "45128e30-f0b9-4df3-957f-ed731f5927e4",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "bdb30eda-b973-4179-9cdd-776d0b343906",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "bdb30eda-b973-4179-9cdd-776d0b343906",
                "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>18627a32-ee8b-4b5e-94fe-da48c7706737</DoctorID>
    <LaboratoryData>
      <LaboratoryCategoryLookup>
        <CategoryID>cf9d4dc3-3db7-454b-9f0e-c0c3fb6bcf2e</CategoryID>
        <CategoryName>sample string 2</CategoryName>
        <ServiceList>
          <LaboratoryServiceLookup>
            <ServiceID>32d4aa5e-5686-4310-8012-390d01bb6303</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
          <LaboratoryServiceLookup>
            <ServiceID>32d4aa5e-5686-4310-8012-390d01bb6303</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
        </ServiceList>
      </LaboratoryCategoryLookup>
      <LaboratoryCategoryLookup>
        <CategoryID>cf9d4dc3-3db7-454b-9f0e-c0c3fb6bcf2e</CategoryID>
        <CategoryName>sample string 2</CategoryName>
        <ServiceList>
          <LaboratoryServiceLookup>
            <ServiceID>32d4aa5e-5686-4310-8012-390d01bb6303</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
          <LaboratoryServiceLookup>
            <ServiceID>32d4aa5e-5686-4310-8012-390d01bb6303</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
        </ServiceList>
      </LaboratoryCategoryLookup>
    </LaboratoryData>
    <PatientRequestID>62cec334-d790-49fd-970f-3c8c21623ac5</PatientRequestID>
    <RadiologyData>
      <RadiologyTypeLookup>
        <CategoryList>
          <RadiologyCategoryLookup>
            <CategoryID>45128e30-f0b9-4df3-957f-ed731f5927e4</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>bdb30eda-b973-4179-9cdd-776d0b343906</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>bdb30eda-b973-4179-9cdd-776d0b343906</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
          <RadiologyCategoryLookup>
            <CategoryID>45128e30-f0b9-4df3-957f-ed731f5927e4</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>bdb30eda-b973-4179-9cdd-776d0b343906</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>bdb30eda-b973-4179-9cdd-776d0b343906</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
        </CategoryList>
        <TypeID>42ba98e0-442e-469b-936f-780d7093d5f0</TypeID>
        <TypeName>sample string 2</TypeName>
      </RadiologyTypeLookup>
      <RadiologyTypeLookup>
        <CategoryList>
          <RadiologyCategoryLookup>
            <CategoryID>45128e30-f0b9-4df3-957f-ed731f5927e4</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>bdb30eda-b973-4179-9cdd-776d0b343906</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>bdb30eda-b973-4179-9cdd-776d0b343906</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
          <RadiologyCategoryLookup>
            <CategoryID>45128e30-f0b9-4df3-957f-ed731f5927e4</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>bdb30eda-b973-4179-9cdd-776d0b343906</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>bdb30eda-b973-4179-9cdd-776d0b343906</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
        </CategoryList>
        <TypeID>42ba98e0-442e-469b-936f-780d7093d5f0</TypeID>
        <TypeName>sample string 2</TypeName>
      </RadiologyTypeLookup>
    </RadiologyData>
    <RequestTitle>sample string 4</RequestTitle>
    <RequestTypeID>bff5674b-c3d2-424e-abe4-c12290351704</RequestTypeID>
  </PatientRequest>
</PatientRequestResponse>