v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Vendor Compliances

Executes the Add action for the Vendor Compliances data object.

Adds a Compliance record to a Vendor

post/direct/subscribers/{subscriber_code}/vista/ap/2/data/vendor_compliances/actions/add

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

APCointeger required

The AP Company you are working with.

Vendorinteger required

Vendor Id. Key to ap/vendors(VendorGroup, Vendor). VendorGroup defaulted based on APCo.

CompCodestring required

Compliance Code. Key to hq/compliance_codes(CompCode)

Verify'Y' | 'N'

Provide Y if you want this Compliance verified. Optional. If omitted, Y will be defaulted.

ExpDatestring date nullable

Expiration Date for Date type CompCode values. Optional. If omitted, null will be defaulted. Format YYYY-MM-DD.

Complied'Y' | 'N' | 'null' nullable

Vendor has Complied. Optional. If omitted, null will be defaulted.

Memostring nullable

Optional. If omitted, null will be defaulted.

__updatePO'Y' | 'N' | 'null' nullable

Optional. If set to Y will invoke the Vendor Compliance replication.

__updateSL'Y' | 'N' | 'null' nullable

Optional. If set to Y will invoke the Vendor Compliance replication.

__custom_fieldsobject

Add a property for each user defined values that should be set on the header form as part of this action.

Response

Success

idstring
operationstring
statusstring