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": "b3fb1910-2cb6-4f01-bb5f-327aff7b425e",
    "PatientId": "2eae5ec1-1306-400e-bebf-cff028b47c05",
    "HistoryGroupId": 1,
    "Note": "sample string 2",
    "StatusId": 1,
    "HistoryTransactionDetails": [
      {
        "Id": "3c533be5-9f47-4437-8445-17ebd72c4b7f",
        "HistoryTransactionId": "9edb66ea-07c9-47fb-bb22-bd362c73d49a",
        "HistoryId": 1,
        "Value": "sample string 1"
      },
      {
        "Id": "3c533be5-9f47-4437-8445-17ebd72c4b7f",
        "HistoryTransactionId": "9edb66ea-07c9-47fb-bb22-bd362c73d49a",
        "HistoryId": 1,
        "Value": "sample string 1"
      }
    ]
  },
  {
    "Id": "b3fb1910-2cb6-4f01-bb5f-327aff7b425e",
    "PatientId": "2eae5ec1-1306-400e-bebf-cff028b47c05",
    "HistoryGroupId": 1,
    "Note": "sample string 2",
    "StatusId": 1,
    "HistoryTransactionDetails": [
      {
        "Id": "3c533be5-9f47-4437-8445-17ebd72c4b7f",
        "HistoryTransactionId": "9edb66ea-07c9-47fb-bb22-bd362c73d49a",
        "HistoryId": 1,
        "Value": "sample string 1"
      },
      {
        "Id": "3c533be5-9f47-4437-8445-17ebd72c4b7f",
        "HistoryTransactionId": "9edb66ea-07c9-47fb-bb22-bd362c73d49a",
        "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.