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": "83df4a8c-ec64-49b3-b6be-8673eb3a6080",
    "PatientId": "05448e19-4bcd-4500-9544-d00cc33037a2",
    "HistoryGroupId": 1,
    "Note": "sample string 2",
    "StatusId": 1,
    "HistoryTransactionDetails": [
      {
        "Id": "f7b0c731-5414-48c9-a702-ab0074042cae",
        "HistoryTransactionId": "e4f8e0de-dc88-4534-a1c0-4d37bcf244b3",
        "HistoryId": 1,
        "Value": "sample string 1"
      },
      {
        "Id": "f7b0c731-5414-48c9-a702-ab0074042cae",
        "HistoryTransactionId": "e4f8e0de-dc88-4534-a1c0-4d37bcf244b3",
        "HistoryId": 1,
        "Value": "sample string 1"
      }
    ]
  },
  {
    "Id": "83df4a8c-ec64-49b3-b6be-8673eb3a6080",
    "PatientId": "05448e19-4bcd-4500-9544-d00cc33037a2",
    "HistoryGroupId": 1,
    "Note": "sample string 2",
    "StatusId": 1,
    "HistoryTransactionDetails": [
      {
        "Id": "f7b0c731-5414-48c9-a702-ab0074042cae",
        "HistoryTransactionId": "e4f8e0de-dc88-4534-a1c0-4d37bcf244b3",
        "HistoryId": 1,
        "Value": "sample string 1"
      },
      {
        "Id": "f7b0c731-5414-48c9-a702-ab0074042cae",
        "HistoryTransactionId": "e4f8e0de-dc88-4534-a1c0-4d37bcf244b3",
        "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.