POST api/Receipt/InsertOrUpdateTakePayment
Insert/Update receipt payment
Request Information
URI Parameters
None.
Body Parameters
ReceiptForTakePaymentInsertModel properties.
ReceiptForTakePaymentInsertModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Description | string |
None. |
|
InvoiceNumber | string |
None. |
|
LocationId | string |
None. |
|
LocationBusinessName | string |
None. |
|
TransactionDate | date |
None. |
|
DueDate | date |
None. |
|
Number | string |
None. |
|
PaymentReceiptDate | date |
None. |
|
InsuredCommercialName | string |
None. |
|
InsuredDatabaseId | globally unique identifier |
None. |
|
InsuredEmail | string |
None. |
|
InsuredFirstName | string |
None. |
|
InsuredLastName | string |
None. |
|
Fees | Collection of ReceiptInsertModelFee |
None. |
|
PaymentMethodAndPaidAmount | PaymentMethodAndPaidAmount |
None. |
|
PolicyId | globally unique identifier |
None. |
|
PolicyNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "c93f376e-fefa-41cc-9c56-8779a45ffc7b", "description": "sample string 2", "invoiceNumber": "sample string 3", "locationId": "sample string 4", "locationBusinessName": "sample string 5", "transactionDate": "2024-11-21T02:25:23.6158241-06:00", "dueDate": "2024-11-21T02:25:23.6158241-06:00", "number": "sample string 8", "paymentReceiptDate": "2024-11-21T02:25:23.6158241-06:00", "insuredCommercialName": "sample string 10", "insuredDatabaseId": "0589633a-a1fe-4528-848b-271820bf6dd1", "insuredEmail": "sample string 11", "insuredFirstName": "sample string 12", "insuredLastName": "sample string 13", "fees": [ { "feeName": "sample string 1", "dueAmount": 1.0, "paidAmount": 1.0 }, { "feeName": "sample string 1", "dueAmount": 1.0, "paidAmount": 1.0 } ], "paymentMethodAndPaidAmount": { "paymentMethod": "sample string 1", "paidAmount": 2.1, "confirmationRefNum": "sample string 3", "paymentNotes": "sample string 4" }, "policyId": "5c3ae5fc-b4f4-4a60-bff8-3378cc58d9a0", "policyNumber": "sample string 15" }
application/xml, text/xml
Sample:
<ReceiptForTakePaymentInsertModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum"> <Description>sample string 2</Description> <DueDate>2024-11-21T02:25:23.6158241-06:00</DueDate> <Fees> <ReceiptInsertModelFee> <DueAmount>1</DueAmount> <FeeName>sample string 1</FeeName> <PaidAmount>1</PaidAmount> </ReceiptInsertModelFee> <ReceiptInsertModelFee> <DueAmount>1</DueAmount> <FeeName>sample string 1</FeeName> <PaidAmount>1</PaidAmount> </ReceiptInsertModelFee> </Fees> <Id>c93f376e-fefa-41cc-9c56-8779a45ffc7b</Id> <InsuredCommercialName>sample string 10</InsuredCommercialName> <InsuredDatabaseId>0589633a-a1fe-4528-848b-271820bf6dd1</InsuredDatabaseId> <InsuredEmail>sample string 11</InsuredEmail> <InsuredFirstName>sample string 12</InsuredFirstName> <InsuredLastName>sample string 13</InsuredLastName> <InvoiceNumber>sample string 3</InvoiceNumber> <LocationBusinessName>sample string 5</LocationBusinessName> <LocationId>sample string 4</LocationId> <Number>sample string 8</Number> <PaymentMethodAndPaidAmount> <ConfirmationRefNum>sample string 3</ConfirmationRefNum> <PaidAmount>2.1</PaidAmount> <PaymentMethod>sample string 1</PaymentMethod> <PaymentNotes>sample string 4</PaymentNotes> </PaymentMethodAndPaidAmount> <PaymentReceiptDate>2024-11-21T02:25:23.6158241-06:00</PaymentReceiptDate> <PolicyId>5c3ae5fc-b4f4-4a60-bff8-3378cc58d9a0</PolicyId> <PolicyNumber>sample string 15</PolicyNumber> <TransactionDate>2024-11-21T02:25:23.6158241-06:00</TransactionDate> </ReceiptForTakePaymentInsertModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NowCertsApiResultOfReceiptForTakePaymentInsertModelName | Description | Type | Additional information |
---|---|---|---|
Status | ApiStatus |
None. |
|
Data | ReceiptForTakePaymentInsertModel |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": 0, "data": { "id": "0cf248f4-73be-4085-81f9-18838e9aef5a", "description": "sample string 2", "invoiceNumber": "sample string 3", "locationId": "sample string 4", "locationBusinessName": "sample string 5", "transactionDate": "2024-11-21T02:25:23.6314487-06:00", "dueDate": "2024-11-21T02:25:23.6314487-06:00", "number": "sample string 8", "paymentReceiptDate": "2024-11-21T02:25:23.6314487-06:00", "insuredCommercialName": "sample string 10", "insuredDatabaseId": "3ff19984-6c31-4787-9aeb-ab858c32af54", "insuredEmail": "sample string 11", "insuredFirstName": "sample string 12", "insuredLastName": "sample string 13", "fees": [ { "feeName": "sample string 1", "dueAmount": 1.0, "paidAmount": 1.0 }, { "feeName": "sample string 1", "dueAmount": 1.0, "paidAmount": 1.0 } ], "paymentMethodAndPaidAmount": { "paymentMethod": "sample string 1", "paidAmount": 2.1, "confirmationRefNum": "sample string 3", "paymentNotes": "sample string 4" }, "policyId": "e754252f-1b1a-4bf0-ae7d-77ff65ecd884", "policyNumber": "sample string 15" }, "message": "sample string 1" }
application/xml, text/xml
Sample:
<NowCertsApiResultOfReceiptForTakePaymentInsertModelodPQ2rGR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum"> <Data> <Description>sample string 2</Description> <DueDate>2024-11-21T02:25:23.6314487-06:00</DueDate> <Fees> <ReceiptInsertModelFee> <DueAmount>1</DueAmount> <FeeName>sample string 1</FeeName> <PaidAmount>1</PaidAmount> </ReceiptInsertModelFee> <ReceiptInsertModelFee> <DueAmount>1</DueAmount> <FeeName>sample string 1</FeeName> <PaidAmount>1</PaidAmount> </ReceiptInsertModelFee> </Fees> <Id>0cf248f4-73be-4085-81f9-18838e9aef5a</Id> <InsuredCommercialName>sample string 10</InsuredCommercialName> <InsuredDatabaseId>3ff19984-6c31-4787-9aeb-ab858c32af54</InsuredDatabaseId> <InsuredEmail>sample string 11</InsuredEmail> <InsuredFirstName>sample string 12</InsuredFirstName> <InsuredLastName>sample string 13</InsuredLastName> <InvoiceNumber>sample string 3</InvoiceNumber> <LocationBusinessName>sample string 5</LocationBusinessName> <LocationId>sample string 4</LocationId> <Number>sample string 8</Number> <PaymentMethodAndPaidAmount> <ConfirmationRefNum>sample string 3</ConfirmationRefNum> <PaidAmount>2.1</PaidAmount> <PaymentMethod>sample string 1</PaymentMethod> <PaymentNotes>sample string 4</PaymentNotes> </PaymentMethodAndPaidAmount> <PaymentReceiptDate>2024-11-21T02:25:23.6314487-06:00</PaymentReceiptDate> <PolicyId>e754252f-1b1a-4bf0-ae7d-77ff65ecd884</PolicyId> <PolicyNumber>sample string 15</PolicyNumber> <TransactionDate>2024-11-21T02:25:23.6314487-06:00</TransactionDate> </Data> <Message>sample string 1</Message> <Status>Error</Status> </NowCertsApiResultOfReceiptForTakePaymentInsertModelodPQ2rGR>