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": "2640eb41-efc1-4eaa-a926-088585c09eb5",
    "PatientId": "11c95623-93cd-4300-b784-4f75059e6587",
    "HistoryGroupId": 1,
    "Note": "sample string 2",
    "StatusId": 1,
    "HistoryTransactionDetails": [
      {
        "Id": "17628b3c-9e2d-4732-a5e6-6434ab7e2ca5",
        "HistoryTransactionId": "31685251-61b1-4869-b0e1-4b849e6bf5f1",
        "HistoryId": 1,
        "Value": "sample string 1"
      },
      {
        "Id": "17628b3c-9e2d-4732-a5e6-6434ab7e2ca5",
        "HistoryTransactionId": "31685251-61b1-4869-b0e1-4b849e6bf5f1",
        "HistoryId": 1,
        "Value": "sample string 1"
      }
    ]
  },
  {
    "Id": "2640eb41-efc1-4eaa-a926-088585c09eb5",
    "PatientId": "11c95623-93cd-4300-b784-4f75059e6587",
    "HistoryGroupId": 1,
    "Note": "sample string 2",
    "StatusId": 1,
    "HistoryTransactionDetails": [
      {
        "Id": "17628b3c-9e2d-4732-a5e6-6434ab7e2ca5",
        "HistoryTransactionId": "31685251-61b1-4869-b0e1-4b849e6bf5f1",
        "HistoryId": 1,
        "Value": "sample string 1"
      },
      {
        "Id": "17628b3c-9e2d-4732-a5e6-6434ab7e2ca5",
        "HistoryTransactionId": "31685251-61b1-4869-b0e1-4b849e6bf5f1",
        "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.