v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Unapproved Invoices

Executes the Replace action for the Unapproved Invoices data object.

Replaces an Unapproved Invoice with a new unapproved invoice record.

post/direct/subscribers/{subscriber_code}/vista/ap/2/data/unapproved_invoices/actions/replace

Path parameters

subscriber_codestring required

The code of the subscriber that you are making this request for.

Headers

X-Application-Keystring required

Used to authorize access to the Direct API.

Request body

VendorGroupinteger
Vendorinteger nullable
APRefstring nullable
Descriptionstring nullable
InvDatestring nullable
DiscDatestring nullable
DueDatestring nullable
InvTotalstring
InUseMthstring nullable
InUseBatchIdinteger nullable
DocNamestring nullable
Notesstring nullable
ReviewerGroupstring nullable
SLKeyIDinteger nullable
InvStatusinteger
__custom_fieldsobject

This property will be added if there are any custom fields defined for this object in Vista. Each custom field will be a property of this object.

Response

Success

idstring
operationstring
statusstring