POST api/THPatientHistory

Request Information

URI Parameters

None.

Body Parameters

Collection of Transaction
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

PatientId

globally unique identifier

Required

HistoryGroupId

integer

None.

Note

string

String length: inclusive between 0 and 1000

StatusId

integer

None.

HistoryTransactionDetails

Collection of HistoryTransactionDetailModel

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": "a0c06c6c-0651-44f2-8cbd-afad7ce9b8fa",
    "PatientId": "c0fcecf3-c294-4d62-bdc3-35de386c2ad6",
    "HistoryGroupId": 1,
    "Note": "sample string 2",
    "StatusId": 1,
    "HistoryTransactionDetails": [
      {
        "Id": "4f2f9364-0364-4b28-a49e-012c30626d09",
        "HistoryTransactionId": "27a63450-88cc-46be-aa26-7b6810de774b",
        "HistoryId": 1,
        "Value": "sample string 1"
      },
      {
        "Id": "4f2f9364-0364-4b28-a49e-012c30626d09",
        "HistoryTransactionId": "27a63450-88cc-46be-aa26-7b6810de774b",
        "HistoryId": 1,
        "Value": "sample string 1"
      }
    ]
  },
  {
    "Id": "a0c06c6c-0651-44f2-8cbd-afad7ce9b8fa",
    "PatientId": "c0fcecf3-c294-4d62-bdc3-35de386c2ad6",
    "HistoryGroupId": 1,
    "Note": "sample string 2",
    "StatusId": 1,
    "HistoryTransactionDetails": [
      {
        "Id": "4f2f9364-0364-4b28-a49e-012c30626d09",
        "HistoryTransactionId": "27a63450-88cc-46be-aa26-7b6810de774b",
        "HistoryId": 1,
        "Value": "sample string 1"
      },
      {
        "Id": "4f2f9364-0364-4b28-a49e-012c30626d09",
        "HistoryTransactionId": "27a63450-88cc-46be-aa26-7b6810de774b",
        "HistoryId": 1,
        "Value": "sample string 1"
      }
    ]
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.