Skip to main content
System StatusContact Support
VersionOne Community

New Responses

The response of a new asset query is a payload that can be posted back to the API to be saved.

<Asset href="/VersionOne/rest-1.v1/New/Story">
	<Relation name="Scope" act="set">
		<Asset href="/VersionOne/rest-1.v1/Data/Scope/1000" idref="Scope:1000" /> 
	</Relation>
</Asset>

or

<Asset href="/VersionOne/rest-1.v1/New/Story">
	<Relation name="Scope" act="set">
		<Asset href="/VersionOne/rest-1.v1/Data/Scope/1009" idref="Scope:1009" /> 
	</Relation>
	<Attribute name="Description" act="set"><P>When an item's status is updated, alert the owner of the change in status value.</P></Attribute> 
	<Attribute name="RequestedBy" act="set">Joe Customer</Attribute> 
	<Attribute name="Name" act="set">Integrate with Palm Handheld</Attribute> 
	<Relation name="Requests">
		<Asset href="/VersionOne/rest-1.v1/Data/Request/1684" idref="Request:1684" act="add" /> 
	</Relation>
</Asset>

The response contains an "Asset" node and multiple "Attribute" or "Relation" sub nodes that identify the values that the new asset will contain. Note that these pending attributes and relations are pre-marked with the "act" attribute which is used to mark the pending changes.

  • Was this article helpful?