Go Back

PUT v1/receipts/{id}

Update an existing receipt

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Receipt identifier

string

Required

Body Parameters

Receipt
NameDescriptionTypeAdditional information
Key

string

None.

Id

string

None.

Payments

Collection of ReceiptItem

None.

DateOfPayment

date

None.

InternalNotes

string

None.

ClientNotes

string

None.

PaymentMethodId

byte

None.

ClientId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Key": "sample string 1",
  "Id": "sample string 2",
  "Payments": [
    {
      "PaidInvoiceId": "sample string 1",
      "Amount": 2.0,
      "IssueDate": "2018-12-16T21:36:29.9682232+00:00",
      "Oustanding": 1.0,
      "InvoiceAmount": 1.0
    },
    {
      "PaidInvoiceId": "sample string 1",
      "Amount": 2.0,
      "IssueDate": "2018-12-16T21:36:29.9682232+00:00",
      "Oustanding": 1.0,
      "InvoiceAmount": 1.0
    }
  ],
  "DateOfPayment": "2018-12-16T21:36:29.9682232+00:00",
  "InternalNotes": "sample string 4",
  "ClientNotes": "sample string 5",
  "PaymentMethodId": 64,
  "ClientId": "sample string 6"
}

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.

Go Back