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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Token

string

Required

UserID

integer

Required

Body Parameters

Assetreturn
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.

NewBatchDate

date

None.

StoreID

integer

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:07:48.5476074+01:00",
  "NewBatchDate": "2026-06-08T00:07:48.5476074+01:00",
  "StoreID": 10
}

application/xml, text/xml

Sample:
<Assetreturn 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:07:48.5476074+01:00</BatchExpiry>
  <BatchID>5</BatchID>
  <BatchNo>sample string 6</BatchNo>
  <NewBatchDate>2026-06-08T00:07:48.5476074+01:00</NewBatchDate>
  <PatientID>1</PatientID>
  <ProductID>4</ProductID>
  <SerialNo>7</SerialNo>
  <StoreID>10</StoreID>
</Assetreturn>

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.