POST api/Receipt/InsertOrUpdateTakePayment

Insert/Update receipt payment

Request Information

URI Parameters

None.

Body Parameters

ReceiptForTakePaymentInsertModel properties.

ReceiptForTakePaymentInsertModel
NameDescriptionTypeAdditional 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": "8f34d265-64cd-4c93-ac94-d4655691420f",
  "description": "sample string 2",
  "invoiceNumber": "sample string 3",
  "locationId": "sample string 4",
  "locationBusinessName": "sample string 5",
  "transactionDate": "2024-12-08T22:59:02.3976094-06:00",
  "dueDate": "2024-12-08T22:59:02.3976094-06:00",
  "number": "sample string 8",
  "paymentReceiptDate": "2024-12-08T22:59:02.3976094-06:00",
  "insuredCommercialName": "sample string 10",
  "insuredDatabaseId": "e5edac25-8305-4c46-aaa4-4b2f2ced9cec",
  "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": "32106dd8-96a2-4e91-8c23-650571003fbc",
  "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-12-08T22:59:02.3976094-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>8f34d265-64cd-4c93-ac94-d4655691420f</Id>
  <InsuredCommercialName>sample string 10</InsuredCommercialName>
  <InsuredDatabaseId>e5edac25-8305-4c46-aaa4-4b2f2ced9cec</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-12-08T22:59:02.3976094-06:00</PaymentReceiptDate>
  <PolicyId>32106dd8-96a2-4e91-8c23-650571003fbc</PolicyId>
  <PolicyNumber>sample string 15</PolicyNumber>
  <TransactionDate>2024-12-08T22:59:02.3976094-06:00</TransactionDate>
</ReceiptForTakePaymentInsertModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NowCertsApiResultOfReceiptForTakePaymentInsertModel
NameDescriptionTypeAdditional information
Status

ApiStatus

None.

Data

ReceiptForTakePaymentInsertModel

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 0,
  "data": {
    "id": "fbeb52e7-59b6-4ed8-8544-feeb61f937bb",
    "description": "sample string 2",
    "invoiceNumber": "sample string 3",
    "locationId": "sample string 4",
    "locationBusinessName": "sample string 5",
    "transactionDate": "2024-12-08T22:59:02.5226024-06:00",
    "dueDate": "2024-12-08T22:59:02.5226024-06:00",
    "number": "sample string 8",
    "paymentReceiptDate": "2024-12-08T22:59:02.5226024-06:00",
    "insuredCommercialName": "sample string 10",
    "insuredDatabaseId": "a73569e5-de2a-46ce-a136-e52a0f0e64f5",
    "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": "c73c8357-b5e9-45f1-b52f-b45407f06504",
    "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-12-08T22:59:02.5226024-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>fbeb52e7-59b6-4ed8-8544-feeb61f937bb</Id>
    <InsuredCommercialName>sample string 10</InsuredCommercialName>
    <InsuredDatabaseId>a73569e5-de2a-46ce-a136-e52a0f0e64f5</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-12-08T22:59:02.5226024-06:00</PaymentReceiptDate>
    <PolicyId>c73c8357-b5e9-45f1-b52f-b45407f06504</PolicyId>
    <PolicyNumber>sample string 15</PolicyNumber>
    <TransactionDate>2024-12-08T22:59:02.5226024-06:00</TransactionDate>
  </Data>
  <Message>sample string 1</Message>
  <Status>Error</Status>
</NowCertsApiResultOfReceiptForTakePaymentInsertModelodPQ2rGR>