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": "684128ee-e1f6-4564-a1bb-3698ec607408",
    "PatientId": "1e90c11b-fba8-417d-9456-d97fee52c913",
    "HistoryGroupId": 1,
    "Note": "sample string 2",
    "StatusId": 1,
    "HistoryTransactionDetails": [
      {
        "Id": "eeb04029-48ef-4624-bd60-c2a1cb978418",
        "HistoryTransactionId": "2c0ba32e-f479-4c02-beb6-620545636ea4",
        "HistoryId": 1,
        "Value": "sample string 1"
      },
      {
        "Id": "eeb04029-48ef-4624-bd60-c2a1cb978418",
        "HistoryTransactionId": "2c0ba32e-f479-4c02-beb6-620545636ea4",
        "HistoryId": 1,
        "Value": "sample string 1"
      }
    ]
  },
  {
    "Id": "684128ee-e1f6-4564-a1bb-3698ec607408",
    "PatientId": "1e90c11b-fba8-417d-9456-d97fee52c913",
    "HistoryGroupId": 1,
    "Note": "sample string 2",
    "StatusId": 1,
    "HistoryTransactionDetails": [
      {
        "Id": "eeb04029-48ef-4624-bd60-c2a1cb978418",
        "HistoryTransactionId": "2c0ba32e-f479-4c02-beb6-620545636ea4",
        "HistoryId": 1,
        "Value": "sample string 1"
      },
      {
        "Id": "eeb04029-48ef-4624-bd60-c2a1cb978418",
        "HistoryTransactionId": "2c0ba32e-f479-4c02-beb6-620545636ea4",
        "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.