Record Validate Service - Inputs

Command type

The Command type needs to be set to ‘Validate’ and the entity command qualifier is set to either ‘Add’ or ‘Modify’ – depending on whether a record bundle is being added or modified. Note that the qualifier corresponds to the state of the root record (identified by the first MasterCatalogRecord element within a Command) in a bundle. Therefore, if you edit an existing record and add a new record as child to it, the qualifier will still be ‘Modify’ and not ‘Add’.

<Command type="Validate">
	<MasterCatalogRecord commandqualifier="Add" etype="Entity" >  

Query Directives

None.

Support for Bundles

This web service can work on more than one record as part of a record bundle.

External Keys

Each record in the record bundle must have external keys. The external keys have the following semantics:

Key Meaning Required
MASTERCATALOGNAME
The name of the repository which contains the records. Mandatory
PRODUCTID
PRODUCTID of the record for which the valid values are sought. Mandatory
PRODUCTIDEXT
This is an optional key used to identify a record. Optional

Entity Data

Entity data section contains the attribute values corresponding to a record.

Work Item Reference

When a record is validated in the context of a work item, the request must contain the context variable ‘WORKITEMREFERENCE’ that references the work item.

<Context>
	 <Variable name="WORKITEMREFERENCE" type="string">10001</Variable>
</Context>

Work item reference is usually obtained from the Record Query/ValidValues service.