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": "51e53064-147a-47c1-b67e-1bed67f96e1f",
    "PatientId": "831370c6-8cf6-4052-82ac-9f6133873d06",
    "HistoryGroupId": 1,
    "Note": "sample string 2",
    "StatusId": 1,
    "HistoryTransactionDetails": [
      {
        "Id": "0fa5f73a-3c0a-40e1-bdec-dc490d57e2af",
        "HistoryTransactionId": "f5a65da9-cc21-47a3-bf33-74a12e5f2f09",
        "HistoryId": 1,
        "Value": "sample string 1"
      },
      {
        "Id": "0fa5f73a-3c0a-40e1-bdec-dc490d57e2af",
        "HistoryTransactionId": "f5a65da9-cc21-47a3-bf33-74a12e5f2f09",
        "HistoryId": 1,
        "Value": "sample string 1"
      }
    ]
  },
  {
    "Id": "51e53064-147a-47c1-b67e-1bed67f96e1f",
    "PatientId": "831370c6-8cf6-4052-82ac-9f6133873d06",
    "HistoryGroupId": 1,
    "Note": "sample string 2",
    "StatusId": 1,
    "HistoryTransactionDetails": [
      {
        "Id": "0fa5f73a-3c0a-40e1-bdec-dc490d57e2af",
        "HistoryTransactionId": "f5a65da9-cc21-47a3-bf33-74a12e5f2f09",
        "HistoryId": 1,
        "Value": "sample string 1"
      },
      {
        "Id": "0fa5f73a-3c0a-40e1-bdec-dc490d57e2af",
        "HistoryTransactionId": "f5a65da9-cc21-47a3-bf33-74a12e5f2f09",
        "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.