Page tree
Contents

Description:

Adds a value to an existing handle. Only the owner of the handle is able to add a value to it and only types of DESC and URL are able to be added.

Service Type:

POST

Parameters:

handle (Mandatory)

The handle to which the value is to be added.

type (Mandatory)

Must be either "DESC" or "URL".

value (Mandatory)

The new value.

index (Mandatory)

A numeric value indicating the index at which to store the value.

Example Request:

URL

https://identifiers.ardc.edu.au/pids/addValueByIndex?handle=10378.2/1234&type=DESC&value=ARDC Home Page&index=2

POST Body

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<request name="mint">
    <properties>
        <property name="appId" value="exampleAppID"/>
        <property name="sharedSecret" value="exampleSharedSecret"/>
        <property name="identifier" value="ExampleUser"/>
        <property name="authDomain" value="ExampleAuthDomain"/>
    </properties>
</request>


Example Response: 

<response type="success">
    <identifier handle="10378.2/12">
        <property index="1" type="URL" value="https://ardc.edu.au" />
        <property index="2" type="DESC" value="ARDC Home Page" />
    </identifier>
    <timestamp>2009-05-15T02:14:45Z</timestamp>
    <message type="user">Successfully updated handle</message>
</response>

This page has no comments.