POST TCPv1/stock/Asset/AssetIssuance?Token={Token}&UserID={UserID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Token

string

Required

UserID

integer

Required

Body Parameters

AssetIssuance
NameDescriptionTypeAdditional information
PatientID

integer

None.

Address

string

None.

AddressType

integer

None.

ProductID

integer

None.

BatchID

integer

None.

BatchNo

string

None.

SerialNo

integer

None.

BatchExpiry

date

None.

IssueDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientID": 1,
  "Address": "sample string 2",
  "AddressType": 3,
  "ProductID": 4,
  "BatchID": 5,
  "BatchNo": "sample string 6",
  "SerialNo": 7,
  "BatchExpiry": "2026-06-08T00:08:13.6934884+01:00",
  "IssueDate": "2026-06-08T00:08:13.6934884+01:00"
}

application/xml, text/xml

Sample:
<AssetIssuance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.PurchaseOrder">
  <Address>sample string 2</Address>
  <AddressType>3</AddressType>
  <BatchExpiry>2026-06-08T00:08:13.6934884+01:00</BatchExpiry>
  <BatchID>5</BatchID>
  <BatchNo>sample string 6</BatchNo>
  <IssueDate>2026-06-08T00:08:13.6934884+01:00</IssueDate>
  <PatientID>1</PatientID>
  <ProductID>4</ProductID>
  <SerialNo>7</SerialNo>
</AssetIssuance>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.