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": "0b153856-39df-47a7-bed6-dd2bf258ce22",
    "DoctorID": "2c815a37-1635-47a3-8c01-e52446fbb987",
    "LaboratoryData": [
      {
        "CategoryID": "551d88c1-11ae-41f8-9756-3491cbbe0e83",
        "CategoryName": "sample string 2",
        "ServiceList": [
          {
            "ServiceID": "ae6c374f-914e-4741-a49f-40c372ec18b1",
            "ServiceName": "sample string 2"
          },
          {
            "ServiceID": "ae6c374f-914e-4741-a49f-40c372ec18b1",
            "ServiceName": "sample string 2"
          }
        ]
      },
      {
        "CategoryID": "551d88c1-11ae-41f8-9756-3491cbbe0e83",
        "CategoryName": "sample string 2",
        "ServiceList": [
          {
            "ServiceID": "ae6c374f-914e-4741-a49f-40c372ec18b1",
            "ServiceName": "sample string 2"
          },
          {
            "ServiceID": "ae6c374f-914e-4741-a49f-40c372ec18b1",
            "ServiceName": "sample string 2"
          }
        ]
      }
    ],
    "RadiologyData": [
      {
        "TypeID": "deb7a7c1-20a8-43e2-b314-f18467b540b3",
        "TypeName": "sample string 2",
        "CategoryList": [
          {
            "CategoryID": "9e7f0322-d283-4be1-a23f-07333c681296",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "cec57a49-5165-4e2f-ab9c-6bd4dba9b994",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "cec57a49-5165-4e2f-ab9c-6bd4dba9b994",
                "ServiceName": "sample string 2"
              }
            ]
          },
          {
            "CategoryID": "9e7f0322-d283-4be1-a23f-07333c681296",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "cec57a49-5165-4e2f-ab9c-6bd4dba9b994",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "cec57a49-5165-4e2f-ab9c-6bd4dba9b994",
                "ServiceName": "sample string 2"
              }
            ]
          }
        ]
      },
      {
        "TypeID": "deb7a7c1-20a8-43e2-b314-f18467b540b3",
        "TypeName": "sample string 2",
        "CategoryList": [
          {
            "CategoryID": "9e7f0322-d283-4be1-a23f-07333c681296",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "cec57a49-5165-4e2f-ab9c-6bd4dba9b994",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "cec57a49-5165-4e2f-ab9c-6bd4dba9b994",
                "ServiceName": "sample string 2"
              }
            ]
          },
          {
            "CategoryID": "9e7f0322-d283-4be1-a23f-07333c681296",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "cec57a49-5165-4e2f-ab9c-6bd4dba9b994",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "cec57a49-5165-4e2f-ab9c-6bd4dba9b994",
                "ServiceName": "sample string 2"
              }
            ]
          }
        ]
      }
    ]
  },
  "PatientID": "77f0da9a-eeea-4df9-a067-f995127ac7bf",
  "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>77f0da9a-eeea-4df9-a067-f995127ac7bf</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientRequestAdd>
    <DoctorID>2c815a37-1635-47a3-8c01-e52446fbb987</DoctorID>
    <LaboratoryData>
      <LaboratoryCategoryLookup>
        <CategoryID>551d88c1-11ae-41f8-9756-3491cbbe0e83</CategoryID>
        <CategoryName>sample string 2</CategoryName>
        <ServiceList>
          <LaboratoryServiceLookup>
            <ServiceID>ae6c374f-914e-4741-a49f-40c372ec18b1</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
          <LaboratoryServiceLookup>
            <ServiceID>ae6c374f-914e-4741-a49f-40c372ec18b1</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
        </ServiceList>
      </LaboratoryCategoryLookup>
      <LaboratoryCategoryLookup>
        <CategoryID>551d88c1-11ae-41f8-9756-3491cbbe0e83</CategoryID>
        <CategoryName>sample string 2</CategoryName>
        <ServiceList>
          <LaboratoryServiceLookup>
            <ServiceID>ae6c374f-914e-4741-a49f-40c372ec18b1</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
          <LaboratoryServiceLookup>
            <ServiceID>ae6c374f-914e-4741-a49f-40c372ec18b1</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
        </ServiceList>
      </LaboratoryCategoryLookup>
    </LaboratoryData>
    <RadiologyData>
      <RadiologyTypeLookup>
        <CategoryList>
          <RadiologyCategoryLookup>
            <CategoryID>9e7f0322-d283-4be1-a23f-07333c681296</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>cec57a49-5165-4e2f-ab9c-6bd4dba9b994</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>cec57a49-5165-4e2f-ab9c-6bd4dba9b994</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
          <RadiologyCategoryLookup>
            <CategoryID>9e7f0322-d283-4be1-a23f-07333c681296</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>cec57a49-5165-4e2f-ab9c-6bd4dba9b994</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>cec57a49-5165-4e2f-ab9c-6bd4dba9b994</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
        </CategoryList>
        <TypeID>deb7a7c1-20a8-43e2-b314-f18467b540b3</TypeID>
        <TypeName>sample string 2</TypeName>
      </RadiologyTypeLookup>
      <RadiologyTypeLookup>
        <CategoryList>
          <RadiologyCategoryLookup>
            <CategoryID>9e7f0322-d283-4be1-a23f-07333c681296</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>cec57a49-5165-4e2f-ab9c-6bd4dba9b994</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>cec57a49-5165-4e2f-ab9c-6bd4dba9b994</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
          <RadiologyCategoryLookup>
            <CategoryID>9e7f0322-d283-4be1-a23f-07333c681296</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>cec57a49-5165-4e2f-ab9c-6bd4dba9b994</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>cec57a49-5165-4e2f-ab9c-6bd4dba9b994</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
        </CategoryList>
        <TypeID>deb7a7c1-20a8-43e2-b314-f18467b540b3</TypeID>
        <TypeName>sample string 2</TypeName>
      </RadiologyTypeLookup>
    </RadiologyData>
    <RequestTypeID>0b153856-39df-47a7-bed6-dd2bf258ce22</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": "56fea695-2ced-433c-bf36-6cd7cf43dbc4",
    "RequestTypeID": "ecdab4a3-a030-4166-a5dc-9a22ef9d8064",
    "DoctorID": "2ec1b3ce-3b78-4cf2-84f2-3dabc6b7d2b7",
    "RequestTitle": "sample string 4",
    "LaboratoryData": [
      {
        "CategoryID": "87c766ea-3cda-4d51-9264-3f32d23a0c7a",
        "CategoryName": "sample string 2",
        "ServiceList": [
          {
            "ServiceID": "4a84ea71-68da-4ef8-802f-62a1d9c0ec50",
            "ServiceName": "sample string 2"
          },
          {
            "ServiceID": "4a84ea71-68da-4ef8-802f-62a1d9c0ec50",
            "ServiceName": "sample string 2"
          }
        ]
      },
      {
        "CategoryID": "87c766ea-3cda-4d51-9264-3f32d23a0c7a",
        "CategoryName": "sample string 2",
        "ServiceList": [
          {
            "ServiceID": "4a84ea71-68da-4ef8-802f-62a1d9c0ec50",
            "ServiceName": "sample string 2"
          },
          {
            "ServiceID": "4a84ea71-68da-4ef8-802f-62a1d9c0ec50",
            "ServiceName": "sample string 2"
          }
        ]
      }
    ],
    "RadiologyData": [
      {
        "TypeID": "198dcfcd-fc15-49f2-ba7f-11c526353391",
        "TypeName": "sample string 2",
        "CategoryList": [
          {
            "CategoryID": "a956c26a-a0f7-49ee-846d-8aecaacdaafb",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "f9c7f432-056b-43fd-adfe-5f70f33881c3",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "f9c7f432-056b-43fd-adfe-5f70f33881c3",
                "ServiceName": "sample string 2"
              }
            ]
          },
          {
            "CategoryID": "a956c26a-a0f7-49ee-846d-8aecaacdaafb",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "f9c7f432-056b-43fd-adfe-5f70f33881c3",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "f9c7f432-056b-43fd-adfe-5f70f33881c3",
                "ServiceName": "sample string 2"
              }
            ]
          }
        ]
      },
      {
        "TypeID": "198dcfcd-fc15-49f2-ba7f-11c526353391",
        "TypeName": "sample string 2",
        "CategoryList": [
          {
            "CategoryID": "a956c26a-a0f7-49ee-846d-8aecaacdaafb",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "f9c7f432-056b-43fd-adfe-5f70f33881c3",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "f9c7f432-056b-43fd-adfe-5f70f33881c3",
                "ServiceName": "sample string 2"
              }
            ]
          },
          {
            "CategoryID": "a956c26a-a0f7-49ee-846d-8aecaacdaafb",
            "CategoryName": "sample string 2",
            "ServiceList": [
              {
                "ServiceID": "f9c7f432-056b-43fd-adfe-5f70f33881c3",
                "ServiceName": "sample string 2"
              },
              {
                "ServiceID": "f9c7f432-056b-43fd-adfe-5f70f33881c3",
                "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>2ec1b3ce-3b78-4cf2-84f2-3dabc6b7d2b7</DoctorID>
    <LaboratoryData>
      <LaboratoryCategoryLookup>
        <CategoryID>87c766ea-3cda-4d51-9264-3f32d23a0c7a</CategoryID>
        <CategoryName>sample string 2</CategoryName>
        <ServiceList>
          <LaboratoryServiceLookup>
            <ServiceID>4a84ea71-68da-4ef8-802f-62a1d9c0ec50</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
          <LaboratoryServiceLookup>
            <ServiceID>4a84ea71-68da-4ef8-802f-62a1d9c0ec50</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
        </ServiceList>
      </LaboratoryCategoryLookup>
      <LaboratoryCategoryLookup>
        <CategoryID>87c766ea-3cda-4d51-9264-3f32d23a0c7a</CategoryID>
        <CategoryName>sample string 2</CategoryName>
        <ServiceList>
          <LaboratoryServiceLookup>
            <ServiceID>4a84ea71-68da-4ef8-802f-62a1d9c0ec50</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
          <LaboratoryServiceLookup>
            <ServiceID>4a84ea71-68da-4ef8-802f-62a1d9c0ec50</ServiceID>
            <ServiceName>sample string 2</ServiceName>
          </LaboratoryServiceLookup>
        </ServiceList>
      </LaboratoryCategoryLookup>
    </LaboratoryData>
    <PatientRequestID>56fea695-2ced-433c-bf36-6cd7cf43dbc4</PatientRequestID>
    <RadiologyData>
      <RadiologyTypeLookup>
        <CategoryList>
          <RadiologyCategoryLookup>
            <CategoryID>a956c26a-a0f7-49ee-846d-8aecaacdaafb</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>f9c7f432-056b-43fd-adfe-5f70f33881c3</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>f9c7f432-056b-43fd-adfe-5f70f33881c3</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
          <RadiologyCategoryLookup>
            <CategoryID>a956c26a-a0f7-49ee-846d-8aecaacdaafb</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>f9c7f432-056b-43fd-adfe-5f70f33881c3</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>f9c7f432-056b-43fd-adfe-5f70f33881c3</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
        </CategoryList>
        <TypeID>198dcfcd-fc15-49f2-ba7f-11c526353391</TypeID>
        <TypeName>sample string 2</TypeName>
      </RadiologyTypeLookup>
      <RadiologyTypeLookup>
        <CategoryList>
          <RadiologyCategoryLookup>
            <CategoryID>a956c26a-a0f7-49ee-846d-8aecaacdaafb</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>f9c7f432-056b-43fd-adfe-5f70f33881c3</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>f9c7f432-056b-43fd-adfe-5f70f33881c3</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
          <RadiologyCategoryLookup>
            <CategoryID>a956c26a-a0f7-49ee-846d-8aecaacdaafb</CategoryID>
            <CategoryName>sample string 2</CategoryName>
            <ServiceList>
              <RadiologyServiceLookup>
                <ServiceID>f9c7f432-056b-43fd-adfe-5f70f33881c3</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
              <RadiologyServiceLookup>
                <ServiceID>f9c7f432-056b-43fd-adfe-5f70f33881c3</ServiceID>
                <ServiceName>sample string 2</ServiceName>
              </RadiologyServiceLookup>
            </ServiceList>
          </RadiologyCategoryLookup>
        </CategoryList>
        <TypeID>198dcfcd-fc15-49f2-ba7f-11c526353391</TypeID>
        <TypeName>sample string 2</TypeName>
      </RadiologyTypeLookup>
    </RadiologyData>
    <RequestTitle>sample string 4</RequestTitle>
    <RequestTypeID>ecdab4a3-a030-4166-a5dc-9a22ef9d8064</RequestTypeID>
  </PatientRequest>
</PatientRequestResponse>