POST api/rejectedinvoices

Insert a new RejectedInvoice

Request Information

URI Parameters

None.

Body Parameters

RejectedInvoiceViewModel>ViewModel

RejectedInvoiceViewModel
NameDescriptionTypeAdditional information
RejectedInvoiceId

RejectedInvoiceId

integer

None.

GlDate

GlDate

date

None.

VendorId

VendorId

integer

None.

VendorInvoiceNumber

VendorInvoiceNumber

string

None.

VendorInvoiceDate

VendorInvoiceDate

date

None.

InvoiceAmount

InvoiceAmount

decimal number

None.

Description

Description

string

None.

Hold

Hold

integer

None.

SeparateCheck

SeparateCheck

integer

None.

DueDate

DueDate

date

None.

BankCodeId

BankCodeId

integer

None.

SuperEntityId

SuperEntityId

integer

None.

Status

Status

integer

None.

InvoiceTypeId

InvoiceTypeId

integer

None.

HoldNote

HoldNote

string

None.

CreatedDate

CreatedDate

date

None.

GeneralNote

GeneralNote

string

None.

DocumentIdentifier

DocumentIdentifier

string

None.

InvoiceId

InvoiceId

integer

None.

OverrideBoardApproval

OverrideBoardApproval

integer

None.

FileName

FileName

string

None.

CheckStubComments

CheckStubComments

string

None.

InvoiceCodedOn

InvoiceCodedOn

date

None.

InvoiceCodedBy

InvoiceCodedBy

string

None.

RejectedBy

RejectedBy

string

None.

RejectedOn

RejectedOn

date

None.

RejectedNotes

RejectedNotes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "rejectedInvoiceId": 1,
  "glDate": "2024-10-14T08:22:20.3195877-04:00",
  "vendorId": 3,
  "vendorInvoiceNumber": "sample string 4",
  "vendorInvoiceDate": "2024-10-14T08:22:20.3195877-04:00",
  "invoiceAmount": 1.0,
  "description": "sample string 5",
  "hold": 6,
  "separateCheck": 7,
  "dueDate": "2024-10-14T08:22:20.3195877-04:00",
  "bankCodeId": 1,
  "superEntityId": 1,
  "status": 1,
  "invoiceTypeId": 1,
  "holdNote": "sample string 8",
  "createdDate": "2024-10-14T08:22:20.3195877-04:00",
  "generalNote": "sample string 10",
  "documentIdentifier": "sample string 11",
  "invoiceId": 1,
  "overrideBoardApproval": 1,
  "fileName": "sample string 12",
  "checkStubComments": "sample string 13",
  "invoiceCodedOn": "2024-10-14T08:22:20.3195877-04:00",
  "invoiceCodedBy": "sample string 14",
  "rejectedBy": "sample string 15",
  "rejectedOn": "2024-10-14T08:22:20.3195877-04:00",
  "rejectedNotes": "sample string 17"
}

application/xml, text/xml

Sample:
<RejectedInvoiceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
  <BankCodeId>1</BankCodeId>
  <CheckStubComments>sample string 13</CheckStubComments>
  <CreatedDate>2024-10-14T08:22:20.3195877-04:00</CreatedDate>
  <Description>sample string 5</Description>
  <DocumentIdentifier>sample string 11</DocumentIdentifier>
  <DueDate>2024-10-14T08:22:20.3195877-04:00</DueDate>
  <FileName>sample string 12</FileName>
  <GeneralNote>sample string 10</GeneralNote>
  <GlDate>2024-10-14T08:22:20.3195877-04:00</GlDate>
  <Hold>6</Hold>
  <HoldNote>sample string 8</HoldNote>
  <InvoiceAmount>1</InvoiceAmount>
  <InvoiceCodedBy>sample string 14</InvoiceCodedBy>
  <InvoiceCodedOn>2024-10-14T08:22:20.3195877-04:00</InvoiceCodedOn>
  <InvoiceId>1</InvoiceId>
  <InvoiceTypeId>1</InvoiceTypeId>
  <OverrideBoardApproval>1</OverrideBoardApproval>
  <RejectedBy>sample string 15</RejectedBy>
  <RejectedInvoiceId>1</RejectedInvoiceId>
  <RejectedNotes>sample string 17</RejectedNotes>
  <RejectedOn>2024-10-14T08:22:20.3195877-04:00</RejectedOn>
  <SeparateCheck>7</SeparateCheck>
  <Status>1</Status>
  <SuperEntityId>1</SuperEntityId>
  <VendorId>3</VendorId>
  <VendorInvoiceDate>2024-10-14T08:22:20.3195877-04:00</VendorInvoiceDate>
  <VendorInvoiceNumber>sample string 4</VendorInvoiceNumber>
</RejectedInvoiceViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RejectedInvoiceViewModel'.

Response Information

Resource Description

RejectedInvoiceViewModel&gt;ViewModel

RejectedInvoiceViewModel
NameDescriptionTypeAdditional information
RejectedInvoiceId

RejectedInvoiceId

integer

None.

GlDate

GlDate

date

None.

VendorId

VendorId

integer

None.

VendorInvoiceNumber

VendorInvoiceNumber

string

None.

VendorInvoiceDate

VendorInvoiceDate

date

None.

InvoiceAmount

InvoiceAmount

decimal number

None.

Description

Description

string

None.

Hold

Hold

integer

None.

SeparateCheck

SeparateCheck

integer

None.

DueDate

DueDate

date

None.

BankCodeId

BankCodeId

integer

None.

SuperEntityId

SuperEntityId

integer

None.

Status

Status

integer

None.

InvoiceTypeId

InvoiceTypeId

integer

None.

HoldNote

HoldNote

string

None.

CreatedDate

CreatedDate

date

None.

GeneralNote

GeneralNote

string

None.

DocumentIdentifier

DocumentIdentifier

string

None.

InvoiceId

InvoiceId

integer

None.

OverrideBoardApproval

OverrideBoardApproval

integer

None.

FileName

FileName

string

None.

CheckStubComments

CheckStubComments

string

None.

InvoiceCodedOn

InvoiceCodedOn

date

None.

InvoiceCodedBy

InvoiceCodedBy

string

None.

RejectedBy

RejectedBy

string

None.

RejectedOn

RejectedOn

date

None.

RejectedNotes

RejectedNotes

string

None.

Response Formats

application/json, text/json

Sample:
{
  "rejectedInvoiceId": 1,
  "glDate": "2024-10-14T08:22:20.3509273-04:00",
  "vendorId": 3,
  "vendorInvoiceNumber": "sample string 4",
  "vendorInvoiceDate": "2024-10-14T08:22:20.3509273-04:00",
  "invoiceAmount": 1.0,
  "description": "sample string 5",
  "hold": 6,
  "separateCheck": 7,
  "dueDate": "2024-10-14T08:22:20.3509273-04:00",
  "bankCodeId": 1,
  "superEntityId": 1,
  "status": 1,
  "invoiceTypeId": 1,
  "holdNote": "sample string 8",
  "createdDate": "2024-10-14T08:22:20.3509273-04:00",
  "generalNote": "sample string 10",
  "documentIdentifier": "sample string 11",
  "invoiceId": 1,
  "overrideBoardApproval": 1,
  "fileName": "sample string 12",
  "checkStubComments": "sample string 13",
  "invoiceCodedOn": "2024-10-14T08:22:20.3509273-04:00",
  "invoiceCodedBy": "sample string 14",
  "rejectedBy": "sample string 15",
  "rejectedOn": "2024-10-14T08:22:20.3509273-04:00",
  "rejectedNotes": "sample string 17"
}

application/xml, text/xml

Sample:
<RejectedInvoiceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
  <BankCodeId>1</BankCodeId>
  <CheckStubComments>sample string 13</CheckStubComments>
  <CreatedDate>2024-10-14T08:22:20.3509273-04:00</CreatedDate>
  <Description>sample string 5</Description>
  <DocumentIdentifier>sample string 11</DocumentIdentifier>
  <DueDate>2024-10-14T08:22:20.3509273-04:00</DueDate>
  <FileName>sample string 12</FileName>
  <GeneralNote>sample string 10</GeneralNote>
  <GlDate>2024-10-14T08:22:20.3509273-04:00</GlDate>
  <Hold>6</Hold>
  <HoldNote>sample string 8</HoldNote>
  <InvoiceAmount>1</InvoiceAmount>
  <InvoiceCodedBy>sample string 14</InvoiceCodedBy>
  <InvoiceCodedOn>2024-10-14T08:22:20.3509273-04:00</InvoiceCodedOn>
  <InvoiceId>1</InvoiceId>
  <InvoiceTypeId>1</InvoiceTypeId>
  <OverrideBoardApproval>1</OverrideBoardApproval>
  <RejectedBy>sample string 15</RejectedBy>
  <RejectedInvoiceId>1</RejectedInvoiceId>
  <RejectedNotes>sample string 17</RejectedNotes>
  <RejectedOn>2024-10-14T08:22:20.3509273-04:00</RejectedOn>
  <SeparateCheck>7</SeparateCheck>
  <Status>1</Status>
  <SuperEntityId>1</SuperEntityId>
  <VendorId>3</VendorId>
  <VendorInvoiceDate>2024-10-14T08:22:20.3509273-04:00</VendorInvoiceDate>
  <VendorInvoiceNumber>sample string 4</VendorInvoiceNumber>
</RejectedInvoiceViewModel>