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": "9efd5fe4-e40e-47fc-8c39-69d153cb39fd",
    "DoctorID": "bfb9297e-a66b-408a-aac2-fa9d19e789b2",
    "LaboratoryData": [
      {
        "CategoryID": "9d7bd611-6a9b-4082-92e0-5d60299df580",
        "CategoryName": "sample string 2",
        "ServiceList": [
          {
            "ServiceID": "4b4e6f31-1dd3-407f-a8cf-97d759c08eac",
            "ServiceName": "sample string 2"
          },
          {
            "ServiceID": "4b4e6f31-1dd3-407f-a8cf-97d759c08eac",
            "ServiceName": "sample string 2"
          }
        ]
      },
      {
        "CategoryID": "9d7bd611-6a9b-4082-92e0-5d60299df580",
        "CategoryName": "sample string 2",
        "ServiceList": [
          {
            "ServiceID": "4b4e6f31-1dd3-407f-a8cf-97d759c08eac",
            "ServiceName": "sample string 2"
          },
          {
            "ServiceID": "4b4e6f31-1dd3-407f-a8cf-97d759c08eac",
            "ServiceName": "sample string 2"
          }
        ]
      }
    ],
    "RadiologyData": [
      {
        "TypeID": "6d7da4aa-dac7-4bd2-aed2-896f882c3ba5",
        "TypeName": "sample string 2",
        "CategoryList": [
          {
            "CategoryID": "9d2b24a8-4518-4dc9-9ab8-beae7b7ae375",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "4a711dc5-dcf3-40ef-83fa-bc96f93d0f27",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "4a711dc5-dcf3-40ef-83fa-bc96f93d0f27",
                "ServiceName": "sample string 2"
              }
            ]
          },
          {
            "CategoryID": "9d2b24a8-4518-4dc9-9ab8-beae7b7ae375",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "4a711dc5-dcf3-40ef-83fa-bc96f93d0f27",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "4a711dc5-dcf3-40ef-83fa-bc96f93d0f27",
                "ServiceName": "sample string 2"
              }
            ]
          }
        ]
      },
      {
        "TypeID": "6d7da4aa-dac7-4bd2-aed2-896f882c3ba5",
        "TypeName": "sample string 2",
        "CategoryList": [
          {
            "CategoryID": "9d2b24a8-4518-4dc9-9ab8-beae7b7ae375",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "4a711dc5-dcf3-40ef-83fa-bc96f93d0f27",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "4a711dc5-dcf3-40ef-83fa-bc96f93d0f27",
                "ServiceName": "sample string 2"
              }
            ]
          },
          {
            "CategoryID": "9d2b24a8-4518-4dc9-9ab8-beae7b7ae375",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "4a711dc5-dcf3-40ef-83fa-bc96f93d0f27",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "4a711dc5-dcf3-40ef-83fa-bc96f93d0f27",
                "ServiceName": "sample string 2"
              }
            ]
          }
        ]
      }
    ]
  },
  "PatientID": "44868b52-62d3-4cda-a3f6-95170f2daa6c",
  "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>44868b52-62d3-4cda-a3f6-95170f2daa6c</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientRequestAdd>
    <DoctorID>bfb9297e-a66b-408a-aac2-fa9d19e789b2</DoctorID>
    <LaboratoryData>
      <LaboratoryCategoryLookup>
        <CategoryID>9d7bd611-6a9b-4082-92e0-5d60299df580</CategoryID>
        <CategoryName>sample string 2</CategoryName>
        <ServiceList>
          <LaboratoryServiceLookup>
            <ServiceID>4b4e6f31-1dd3-407f-a8cf-97d759c08eac</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
          <LaboratoryServiceLookup>
            <ServiceID>4b4e6f31-1dd3-407f-a8cf-97d759c08eac</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
        </ServiceList>
      </LaboratoryCategoryLookup>
      <LaboratoryCategoryLookup>
        <CategoryID>9d7bd611-6a9b-4082-92e0-5d60299df580</CategoryID>
        <CategoryName>sample string 2</CategoryName>
        <ServiceList>
          <LaboratoryServiceLookup>
            <ServiceID>4b4e6f31-1dd3-407f-a8cf-97d759c08eac</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
          <LaboratoryServiceLookup>
            <ServiceID>4b4e6f31-1dd3-407f-a8cf-97d759c08eac</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
        </ServiceList>
      </LaboratoryCategoryLookup>
    </LaboratoryData>
    <RadiologyData>
      <RadiologyTypeLookup>
        <CategoryList>
          <RadiologyCategoryLookup>
            <CategoryID>9d2b24a8-4518-4dc9-9ab8-beae7b7ae375</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>4a711dc5-dcf3-40ef-83fa-bc96f93d0f27</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>4a711dc5-dcf3-40ef-83fa-bc96f93d0f27</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
          <RadiologyCategoryLookup>
            <CategoryID>9d2b24a8-4518-4dc9-9ab8-beae7b7ae375</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>4a711dc5-dcf3-40ef-83fa-bc96f93d0f27</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>4a711dc5-dcf3-40ef-83fa-bc96f93d0f27</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
        </CategoryList>
        <TypeID>6d7da4aa-dac7-4bd2-aed2-896f882c3ba5</TypeID>
        <TypeName>sample string 2</TypeName>
      </RadiologyTypeLookup>
      <RadiologyTypeLookup>
        <CategoryList>
          <RadiologyCategoryLookup>
            <CategoryID>9d2b24a8-4518-4dc9-9ab8-beae7b7ae375</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>4a711dc5-dcf3-40ef-83fa-bc96f93d0f27</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>4a711dc5-dcf3-40ef-83fa-bc96f93d0f27</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
          <RadiologyCategoryLookup>
            <CategoryID>9d2b24a8-4518-4dc9-9ab8-beae7b7ae375</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>4a711dc5-dcf3-40ef-83fa-bc96f93d0f27</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>4a711dc5-dcf3-40ef-83fa-bc96f93d0f27</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
        </CategoryList>
        <TypeID>6d7da4aa-dac7-4bd2-aed2-896f882c3ba5</TypeID>
        <TypeName>sample string 2</TypeName>
      </RadiologyTypeLookup>
    </RadiologyData>
    <RequestTypeID>9efd5fe4-e40e-47fc-8c39-69d153cb39fd</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": "64c17b1f-14ec-4f4e-81dd-bb392c90b90b",
    "RequestTypeID": "df531f43-6ba7-4ce6-a3e6-2ac36ad6dc7c",
    "DoctorID": "3e58d60b-4ee1-4dc6-84b9-cf74fee4bde6",
    "RequestTitle": "sample string 4",
    "LaboratoryData": [
      {
        "CategoryID": "a2b3d6c4-2594-454d-ba87-bd16a4f09f66",
        "CategoryName": "sample string 2",
        "ServiceList": [
          {
            "ServiceID": "824342bb-fd2a-4db9-8783-9d7c84b2486a",
            "ServiceName": "sample string 2"
          },
          {
            "ServiceID": "824342bb-fd2a-4db9-8783-9d7c84b2486a",
            "ServiceName": "sample string 2"
          }
        ]
      },
      {
        "CategoryID": "a2b3d6c4-2594-454d-ba87-bd16a4f09f66",
        "CategoryName": "sample string 2",
        "ServiceList": [
          {
            "ServiceID": "824342bb-fd2a-4db9-8783-9d7c84b2486a",
            "ServiceName": "sample string 2"
          },
          {
            "ServiceID": "824342bb-fd2a-4db9-8783-9d7c84b2486a",
            "ServiceName": "sample string 2"
          }
        ]
      }
    ],
    "RadiologyData": [
      {
        "TypeID": "777f0f3e-076a-426c-b0f4-b96d5d06c0ad",
        "TypeName": "sample string 2",
        "CategoryList": [
          {
            "CategoryID": "bd382270-d451-4da2-b0e9-9214f4ac511c",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "0eb44f07-72e7-44ff-a18d-83b7473bdce5",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "0eb44f07-72e7-44ff-a18d-83b7473bdce5",
                "ServiceName": "sample string 2"
              }
            ]
          },
          {
            "CategoryID": "bd382270-d451-4da2-b0e9-9214f4ac511c",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "0eb44f07-72e7-44ff-a18d-83b7473bdce5",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "0eb44f07-72e7-44ff-a18d-83b7473bdce5",
                "ServiceName": "sample string 2"
              }
            ]
          }
        ]
      },
      {
        "TypeID": "777f0f3e-076a-426c-b0f4-b96d5d06c0ad",
        "TypeName": "sample string 2",
        "CategoryList": [
          {
            "CategoryID": "bd382270-d451-4da2-b0e9-9214f4ac511c",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "0eb44f07-72e7-44ff-a18d-83b7473bdce5",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "0eb44f07-72e7-44ff-a18d-83b7473bdce5",
                "ServiceName": "sample string 2"
              }
            ]
          },
          {
            "CategoryID": "bd382270-d451-4da2-b0e9-9214f4ac511c",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "0eb44f07-72e7-44ff-a18d-83b7473bdce5",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "0eb44f07-72e7-44ff-a18d-83b7473bdce5",
                "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>3e58d60b-4ee1-4dc6-84b9-cf74fee4bde6</DoctorID>
    <LaboratoryData>
      <LaboratoryCategoryLookup>
        <CategoryID>a2b3d6c4-2594-454d-ba87-bd16a4f09f66</CategoryID>
        <CategoryName>sample string 2</CategoryName>
        <ServiceList>
          <LaboratoryServiceLookup>
            <ServiceID>824342bb-fd2a-4db9-8783-9d7c84b2486a</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
          <LaboratoryServiceLookup>
            <ServiceID>824342bb-fd2a-4db9-8783-9d7c84b2486a</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
        </ServiceList>
      </LaboratoryCategoryLookup>
      <LaboratoryCategoryLookup>
        <CategoryID>a2b3d6c4-2594-454d-ba87-bd16a4f09f66</CategoryID>
        <CategoryName>sample string 2</CategoryName>
        <ServiceList>
          <LaboratoryServiceLookup>
            <ServiceID>824342bb-fd2a-4db9-8783-9d7c84b2486a</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
          <LaboratoryServiceLookup>
            <ServiceID>824342bb-fd2a-4db9-8783-9d7c84b2486a</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
        </ServiceList>
      </LaboratoryCategoryLookup>
    </LaboratoryData>
    <PatientRequestID>64c17b1f-14ec-4f4e-81dd-bb392c90b90b</PatientRequestID>
    <RadiologyData>
      <RadiologyTypeLookup>
        <CategoryList>
          <RadiologyCategoryLookup>
            <CategoryID>bd382270-d451-4da2-b0e9-9214f4ac511c</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>0eb44f07-72e7-44ff-a18d-83b7473bdce5</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>0eb44f07-72e7-44ff-a18d-83b7473bdce5</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
          <RadiologyCategoryLookup>
            <CategoryID>bd382270-d451-4da2-b0e9-9214f4ac511c</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>0eb44f07-72e7-44ff-a18d-83b7473bdce5</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>0eb44f07-72e7-44ff-a18d-83b7473bdce5</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
        </CategoryList>
        <TypeID>777f0f3e-076a-426c-b0f4-b96d5d06c0ad</TypeID>
        <TypeName>sample string 2</TypeName>
      </RadiologyTypeLookup>
      <RadiologyTypeLookup>
        <CategoryList>
          <RadiologyCategoryLookup>
            <CategoryID>bd382270-d451-4da2-b0e9-9214f4ac511c</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>0eb44f07-72e7-44ff-a18d-83b7473bdce5</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>0eb44f07-72e7-44ff-a18d-83b7473bdce5</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
          <RadiologyCategoryLookup>
            <CategoryID>bd382270-d451-4da2-b0e9-9214f4ac511c</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>0eb44f07-72e7-44ff-a18d-83b7473bdce5</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>0eb44f07-72e7-44ff-a18d-83b7473bdce5</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
        </CategoryList>
        <TypeID>777f0f3e-076a-426c-b0f4-b96d5d06c0ad</TypeID>
        <TypeName>sample string 2</TypeName>
      </RadiologyTypeLookup>
    </RadiologyData>
    <RequestTitle>sample string 4</RequestTitle>
    <RequestTypeID>df531f43-6ba7-4ce6-a3e6-2ac36ad6dc7c</RequestTypeID>
  </PatientRequest>
</PatientRequestResponse>