PUT api/Collectibles?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

Body Parameters

viewCollectible
NameDescriptionTypeAdditional information
paymentId

integer

None.

purpose

string

None.

paymentTypeId

integer

None.

paymentType

string

None.

salesId

integer

None.

code

string

None.

transactionDate

date

None.

amount

decimal number

None.

customerId

integer

None.

customer_name

string

None.

checkNumber

string

None.

bankName

string

None.

paymentDate

date

None.

dateCreated

date

None.

createdBy

integer

None.

isPaid

boolean

None.

isCancelled

boolean

None.

isDeleted

boolean

None.

markedPaidBy

integer

None.

cancelledBy

integer

None.

storeId

integer

None.

dueDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "paymentId": 1,
  "purpose": "sample string 2",
  "paymentTypeId": 3,
  "paymentType": "sample string 4",
  "salesId": 5,
  "code": "sample string 6",
  "transactionDate": "2025-12-11T22:10:56.9488755+08:00",
  "amount": 1.0,
  "customerId": 1,
  "customer_name": "sample string 7",
  "checkNumber": "sample string 8",
  "bankName": "sample string 9",
  "paymentDate": "2025-12-11T22:10:56.9488755+08:00",
  "dateCreated": "2025-12-11T22:10:56.9488755+08:00",
  "createdBy": 11,
  "isPaid": true,
  "isCancelled": true,
  "isDeleted": true,
  "markedPaidBy": 1,
  "cancelledBy": 1,
  "storeId": 1,
  "dueDate": "2025-12-11T22:10:56.9488755+08:00"
}

application/xml, text/xml

Sample:
<viewCollectible xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/prjHardwareConstruction.Models">
  <amount>1</amount>
  <bankName>sample string 9</bankName>
  <cancelledBy>1</cancelledBy>
  <checkNumber>sample string 8</checkNumber>
  <code>sample string 6</code>
  <createdBy>11</createdBy>
  <customerId>1</customerId>
  <customer_name>sample string 7</customer_name>
  <dateCreated>2025-12-11T22:10:56.9488755+08:00</dateCreated>
  <dueDate>2025-12-11T22:10:56.9488755+08:00</dueDate>
  <isCancelled>true</isCancelled>
  <isDeleted>true</isDeleted>
  <isPaid>true</isPaid>
  <markedPaidBy>1</markedPaidBy>
  <paymentDate>2025-12-11T22:10:56.9488755+08:00</paymentDate>
  <paymentId>1</paymentId>
  <paymentType>sample string 4</paymentType>
  <paymentTypeId>3</paymentTypeId>
  <purpose>sample string 2</purpose>
  <salesId>5</salesId>
  <storeId>1</storeId>
  <transactionDate>2025-12-11T22:10:56.9488755+08:00</transactionDate>
</viewCollectible>

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.