Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

CardSync JAX-RS API

{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}

Higgins logo 76Wx100H.jpg

Resources

User profile - "/UserProfile"

Create new UserProfile

HTTP Method: POST
Return: UserProfileTO
Parameter: UserProfileTO
Request example:

POST /cardsync/rs/UserProfile HTTP/1.1
Content-Type: application/xml
User-Agent: Java/1.5.0_17
Host: localhost:7780
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 571
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
	<ns2:userProfileTO xmlns:ns2="http://www.eclipse.org/higgins/cardsync/2009/">
		<authCredentialTO xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="usernamePasswordAuthCredentialTO">
			<password>password</password>
			<username>testUserLogin</username>
		</authCredentialTO>
		<email>test@example.com</email>
		<firstName>test</firstName>
		<lastName>lastName</lastName>
		<loginName>testUserLogin</loginName>
		<mobile>380501234567</mobile>
		<referralTracking>REF</referralTracking>
		<sendMeNews>true</sendMeNews>
	</ns2:userProfileTO>

Response example:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/xml
Content-Length: 552
Date: Tue, 24 Feb 2009 19:01:34 GMT
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
	<ns2:userProfileTO xmlns:ns2="http://www.eclipse.org/higgins/cardsync/2009/">
		<id>urn:testUserLogin</id>
		<revision>
			<modifiedTime>2009-02-25T10:52:49.260+02:00</modifiedTime>
			<number>2</number>
		</revision>
		<createdTime>2009-02-25T10:52:49.240+02:00</createdTime>
		<email>test@example.com</email>
		<firstName>test</firstName>
		<lastName>lastName</lastName>
		<loginName>testUserLogin</loginName>
		<mobile>380501234567</mobile>
		<referralTracking>REF</referralTracking>
		<sendMeNews>true</sendMeNews>
	</ns2:userProfileTO>

Get UserProfile

HTTP Method: GET
Return: UserProfileTO
Parameter:accessTokenId
Request example:

GET /cardsync/rs/UserProfile HTTP/1.1
Content-Type: application/xml
access_token: urn:uuid:9AC1F51608593826791235557440845
User-Agent: Java/1.5.0_17
Host: localhost:7780
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection:
keep-alive

Response example:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/xml
Content-Length: 544
Date: Wed, 25 Feb 2009
10:24:03 GMT
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:userProfileTO xmlns:ns2="http://www.eclipse.org/higgins/cardsync/2009/">
	<id>urn:testUserLogin</id>
	<revision>
		<modifiedTime>2009-02-25T00:00:00+02:00</modifiedTime>
		<number>2</number>
	</revision>
	<createdTime>2009-02-25T12:24:00+02:00</createdTime>
	<email>test@example.com</email>
	<firstName>test</firstName>
	<lastName>lastName</lastName>
	<loginName>testUserLogin</loginName>
	<mobile>380501234567</mobile>
	<referralTracking>REF</referralTracking>
	<sendMeNews>true</sendMeNews>
</ns2:userProfileTO>

Update UserProfile

HTTP Method: PUT
Return: UserProfileTO
Parameter:accessTokenId, UserProfileTO
Request example:

PUT /cardsync/rs/UserProfile HTTP/1.1
Content-Type: application/xml
access_token: urn:uuid:9AC1F51608593826791235557440845
User-Agent: Java/1.5.0_17
Host: localhost:7780
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection:
keep-alive
Content-Length: 549
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:userProfileTO xmlns:ns2="http://www.eclipse.org/higgins/cardsync/2009/">
	<id>urn:testUserLogin</id>
	<revision>
		<modifiedTime>2009-02-25T00:00:00+02:00</modifiedTime>
		<number>2</number>
	</revision>
	<createdTime>2009-02-25T12:24:00+02:00</createdTime>
	<email>new_email@example.com</email>
	<firstName>test</firstName>
	<lastName>lastName</lastName>
	<loginName>testUserLogin</loginName>
	<mobile>380501234567</mobile>
	<referralTracking>REF</referralTracking>
	<sendMeNews>true</sendMeNews>
</ns2:userProfileTO>

Response example:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/xml
Content-Length: 553
Date: Wed, 25 Feb 2009 10:24:03
GMT
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:userProfileTO xmlns:ns2="http://www.eclipse.org/higgins/cardsync/2009/">
	<id>urn:testUserLogin</id>
	<revision>
		<modifiedTime>2009-02-25T12:24:03.809+02:00</modifiedTime>
		<number>6</number>
	</revision>
	<createdTime>2009-02-25T12:24:00+02:00</createdTime>
	<email>new_email@example.com</email>
	<firstName>test</firstName>
	<lastName>lastName</lastName>
	<loginName>testUserLogin</loginName>
	<mobile>380501234567</mobile>
	<referralTracking>REF</referralTracking>
	<sendMeNews>true</sendMeNews>
</ns2:userProfileTO>

Delete UserProfile

HTTP Method: DELETE
Return: void
Parameter:accessTokenId
Request example:

DELETE /cardsync/rs/UserProfile HTTP/1.1
Content-Type: application/xml
access_token:
urn:uuid:9AC1F51608593826791235557440845
User-Agent: Java/1.5.0_17
Host: localhost:7780
Accept: text/html, image/gif,
image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive

Response example:

HTTP/1.1 204 No Content
Server: Apache-Coyote/1.1
Date: Wed, 25 Feb
2009 10:24:03 GMT

AuthCredential - "/AuthCredential"

Signon

HTTP Method: POST
Return: AccessTokenTO
Parameter:AuthCredentialTO
Request example:

POST /cardsync/rs/AuthCredential HTTP/1.1
Content-Type: application/xml
User-Agent: Java/1.5.0_17
Host: localhost:7780
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 253
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:usernamePasswordAuthCredentialTO xmlns:ns2="http://www.eclipse.org/higgins/cardsync/2009/">
	<password>password</password>
	<username>testUserLogin</username>
</ns2:usernamePasswordAuthCredentialTO>

Response example:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/xml
Content-Length: 255
Date: Wed, 25 Feb 2009 10:23:59
GMT
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:accessTokenTO xmlns:ns2="http://www.eclipse.org/higgins/cardsync/2009/">
	<id>urn:uuid:9AC1F51608593826791235557440845</id>
	<issuedTime>2009-02-25T12:24:00.843+02:00</issuedTime>
</ns2:accessTokenTO>


Logout

HTTP Method: DELETE
Return: void
Parameter:accessTokenId
Request example:

DELETE /cardsync/rs/AuthCredential HTTP/1.1
Content-Type: application/xml
access_token:
urn:uuid:9AC1F51608593826791235557440845
User-Agent: Java/1.5.0_17
Host: localhost:7780
Accept: text/html, image/gif,
image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive

Response example:

HTTP/1.1 204 No Content
Server: Apache-Coyote/1.1
Date: Wed, 25 Feb
2009 10:24:03 GMT


Root revision - "/RootRevision"

Get Root revision

HTTP Method: GET
Return: JAXBElement<RevisionTO>
Parameter:accessTokenId
Request example:

GET /cardsync/rs/RootRevision HTTP/1.1
Content-Type: application/xml
access_token:
urn:uuid:9AC1F51608593826791235557440845
User-Agent: Java/1.5.0_17
Host: localhost:7780
Accept: text/html, image/gif,
image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive

Response example:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type:
application/xml
Content-Length: 218
Date: Wed, 25 Feb 2009 10:24:01 GMT
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<RootRevisionTO xmlns:ns2="http://www.eclipse.org/higgins/cardsync/2009/">
	<modifiedTime>2009-02-25T00:00:00+02:00</modifiedTime>
	<number>2</number>
</RootRevisionTO>


I-Cards - "/Cards"

Get all of the user's I-Cards

HTTP Method: GET
Return: CardsTO
Parameter:accessTokenId
Request example:

GET /cardsync/rs/Cards HTTP/1.1
Content-Type: application/xml
access_token: urn:uuid:9AC1F51608593826791235557440845
User-Agent: Java/1.5.0_17
Host: localhost:7780
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive

Response example:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Wed, 25
Feb 2009 10:24:02 GMT
 
2000
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:cardsTO xmlns:ns2="http://www.eclipse.org/higgins/cardsync/2009/">
	<cards xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="pCardTO">
		<id>
			org.eclipse.higgins.icard.provider.cardspace.personal.db#http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/self#urn:urn:uuid:80A266C66BEA02EA1112085199159911
		</id>
		<revision>
			<modifiedTime>2009-02-25T00:00:00+02:00</modifiedTime>
			<number>4</number>
		</revision>
		<cardId>urn:urn:uuid:80A266C66BEA02EA1112085199159911</cardId>
		<claims>
			<claimType>
				<description>First Name</description>
				<displayName>First Name</displayName>
				<isSimple>true</isSimple>
				<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname
				</type>
			</claimType>
			<values>Alex1</values>
		</claims>
		<claims>
			<claimType>
				<description>Last Name</description>
				<displayName>Last Name</displayName>
				<isSimple>true</isSimple>
				<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname
				</type>
			</claimType>
			<values>Yuhimenko</values>
		</claims>
		<claims>
			<claimType>
				<description>Email Address</description>
				<displayName>Email Address</displayName>
				<isSimple>true</isSimple>
				<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
				</type>
			</claimType>
			<values>AYuhimenko@aquasoft.dp.ua</values>
		</claims>
		<claims>
			<claimType>
				<description>Street</description>
				<displayName>Street</displayName>
				<isSimple>true</isSimple>
				<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress
				</type>
			</claimType>
			<values>........</values>
		</claims>
		<claims>
			<claimType>
				<description>City</description>
				<displayName>City</displayName>
				<isSimple>true</isSimple>
				<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality
				</type>
			</claimType>
			<values>.................................</values>
		</claims>
		<claims>
			<claimType>
				<description>State</description>
				<displayName>State</displayName>
				<isSimple>true</isSimple>
				<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince
				</type>
			</claimType>
			<values></values>
		</claims>
		<claims>
			<claimType>
				<description>Postal Code</description>
				<displayName>Postal Code</displayName>
				<isSimple>true</isSimple>
				<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode
				</type>
			</claimType>
			<values></values>
		</claims>
		<claims>
			<claimType>
				<description>Country/Region</description>
				<displayName>Country/Region</displayName>
				<isSimple>true</isSimple>
				<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country
				</type>
			</claimType>
			<values></values>
		</claims>
		<claims>
			<claimType>
				<description>Home Phone Number</description>
				<displayName>Home Phone</displayName>
				<isSimple>true</isSimple>
				<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone
				</type>
			</claimType>
			<values></values>
		</claims>
		<claims>
			<claimType>
				<description>Other Phone Number</description>
				<displayName>Other Phone</displayName>
				<isSimple>true</isSimple>
				<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone
				</type>
			</claimType>
			<values></values>
		</claims>
		<claims>
			<claimType>
				<description>Mobile Phone Number</description>
				<displayName>Mobile Phone</displayName>
				<isSimple>true</isSimple>
				<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone
				</type>
			</claimType>
			<values></values>
		</claims>
		<claims>
			<claimType>
				<description>Date of Birth</description>
				<displayName>Date of Birth</displayName>
				<isSimple>true</isSimple>
				<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth
				</type>
			</claimType>
			<values>1980-10-04</values>
		</claims>
		<claims>
			<claimType>
				<description>Gender</description>
				<displayName>Gender</displayName>
				<isSimple>true</isSimple>
				<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender
				</type>
			</claimType>
			<values></values>
		</claims>
		<claims>
			<claimType>
				<description>Web Page</description>
				<displayName>Web Page</displayName>
				<isSimple>true</isSimple>
				<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage
				</type>
			</claimType>
			<values></values>
		</claims>
		<claims>
			<claimType>
				<description>Site Specific Card ID</description>
				<displayName>Site Specific Card ID</displayName>
				<isSimple>true</isSimple>
				<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier
				</type>
			</claimType>
			<values></values>
		</claims>
		<hashSalt>EPsoyPcgGdcfdg43VQMWrVPu3KpwtirZhJ6nixgrZWk=</hashSalt>
		<image>
			iVBORw...
		</image>
		<imageType>image/jpeg</imageType>
		<issuedTime>2008-04-18T00:00:00+03:00</issuedTime>
		<issuer>http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/self
		</issuer>
		<issuerName>Self</issuerName>
		<lastUpdatedTime>2009-02-25T00:00:00+02:00</lastUpdatedTime>
		<masterKey>zEu07YNPDTXD+I0NRfFDzNFPtChDIL89IjoYjT/l8H8=</masterKey>
		<name>newCardName</name>
		<selfIssued>true</selfIssued>
		<supportedClaimTypes>
			<description>First Name</description>
			<displayName>First Name</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname
			</type>
		</supportedClaimTypes>
		<supportedClaimTypes>
			<description>Last Name</description>
			<displayName>Last Name</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname
			</type>
		</supportedClaimTypes>
		<supportedClaimTypes>
			<description>Email Address</description>
			<displayName>Email Address</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
			</type>
		</supportedClaimTypes>
		<supportedClaimTypes>
			<description>Street</description>
			<displayName>Street</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress
			</type>
		</supportedClaimTypes>
		<supportedClaimTypes>
			<description>City</description>
			<displayName>City</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality
			</type>
		</supportedClaimTypes>
		<supportedClaimTypes>
			<description>State</description>
			<displayName>State</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince
			</type>
		</supportedClaimTypes>
		<supportedClaimTypes>
			<description>Postal Code</description>
			<displayName>Postal Code</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode
			</type>
		</supportedClaimTypes>
		<supportedClaimTypes>
			<description>Country/Region</description>
			<displayName>Country/Region</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country
			</type>
		</supportedClaimTypes>
		<supportedClaimTypes>
			<description>Home Phone Number</description>
			<displayName>Home Phone</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone
			</type>
		</supportedClaimTypes>
		<supportedClaimTypes>
			<description>Other Phone Number</description>
			<displayName>Other Phone</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone
			</type>
		</supportedClaimTypes>
		<supportedClaimTypes>
			<description>Mobile Phone Number</description>
			<displayName>Mobile Phone</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone
			</type>
		</supportedClaimTypes>
		<supportedClaimTypes>
			<description>Date of Birth</description>
			<displayName>Date of Birth</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth
			</type>
		</supportedClaimTypes>
		<supportedClaimTypes>
			<description>Gender</description>
			<displayName>Gender</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender
			</type>
		</supportedClaimTypes>
		<supportedClaimTypes>
			<description>Web Page</description>
			<displayName>Web Page</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage
			</type>
		</supportedClaimTypes>
		<supportedClaimTypes>
			<description>Site Specific Card ID</description>
			<displayName>Site Specific Card ID</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier
			</type>
		</supportedClaimTypes>
		<supportedTokenTypes>urn:oasis:names:tc:SAML:1.0:assertion</supportedTokenTypes>
		<supportedTokenTypes>http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1
		</supportedTokenTypes>
		<version>1</version>
	</cards>
</ns2:cardsTO>

Create I-Card(s) from CRD(s) file

HTTP Method: POST
Return: CardsTO
Parameter:accessTokenId, FileTO
Request example (crd):

POST /cardsync/rs/Cards HTTP/1.1
Content-Type: application/xml
access_token: urn:uuid:E56EC5767E6DDC7EC51236087838490
User-Agent: Java/1.5.0_17
Host: localhost:7780
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection:
keep-alive
Content-Length: 92548
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:crdsFileTO xmlns:ns2="http://www.eclipse.org/higgins/cardsync/2009/">
	<fileData>
		77u/PD94...JlPg==
	</fileData>
	<passwordPhrase>password</passwordPhrase>
</ns2:crdsFileTO>

Request example(crds):

POST /cardsync/rs/Cards HTTP/1.1
Content-Type: application/xml
access_token: urn:uuid:E56EC5767E6DDC7EC51236087838490
User-Agent: Java/1.5.0_17
Host: localhost:7780
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection:
keep-alive
Content-Length: 92548
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:crdsFileTO xmlns:ns2="http://www.eclipse.org/higgins/cardsync/2009/">
	<fileData>
		77u/PD94...JlPg==
	</fileData>
	<passwordPhrase>password</passwordPhrase>
</ns2:crdsFileTO>

I-Card - "/Cards/card"

Create I-Card

HTTP Method: POST
Return: CardTO
Parameter:accessTokenId, CardTO
Request example:

POST /cardsync/rs/Cards/card HTTP/1.1
Content-Type: application/xml
access_token: urn:uuid:9AC1F51608593826791235557440845
User-Agent: Java/1.5.0_17
Host: localhost:7780
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection:
keep-alive
Content-Length: 11417
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:pCardTO xmlns:ns2="http://www.eclipse.org/higgins/cardsync/2009/">
	<id>
		org.eclipse.higgins.icard.provider.cardspace.personal.db#http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/self#urn:urn:uuid:80A266C66BEA02EA1112085199159911
	</id>
	<cardId>urn:urn:uuid:80A266C66BEA02EA1112085199159911</cardId>
	<claims>
		<claimType>
			<description>First Name</description>
			<displayName>First Name</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname
			</type>
		</claimType>
		<values>Alex1</values>
	</claims>
	<claims>
		<claimType>
			<description>Last Name</description>
			<displayName>Last Name</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname
			</type>
		</claimType>
		<values>Yuhimenko</values>
	</claims>
	<claims>
		<claimType>
			<description>Email Address</description>
			<displayName>Email Address</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
			</type>
		</claimType>
		<values>AYuhimenko@aquasoft.dp.ua</values>
	</claims>
	<claims>
		<claimType>
			<description>Street</description>
			<displayName>Street</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress
			</type>
		</claimType>
		<values>........</values>
	</claims>
	<claims>
		<claimType>
			<description>City</description>
			<displayName>City</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality
			</type>
		</claimType>
		<values>.................................</values>
	</claims>
	<claims>
		<claimType>
			<description>State</description>
			<displayName>State</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Postal Code</description>
			<displayName>Postal Code</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Country/Region</description>
			<displayName>Country/Region</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Home Phone Number</description>
			<displayName>Home Phone</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Other Phone Number</description>
			<displayName>Other Phone</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Mobile Phone Number</description>
			<displayName>Mobile Phone</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Date of Birth</description>
			<displayName>Date of Birth</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth
			</type>
		</claimType>
		<values>1980-10-04</values>
	</claims>
	<claims>
		<claimType>
			<description>Gender</description>
			<displayName>Gender</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Web Page</description>
			<displayName>Web Page</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Site Specific Card ID</description>
			<displayName>Site Specific Card ID</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier
			</type>
		</claimType>
		<values></values>
	</claims>
	<hashSalt>EPsoyPcgGdcfdg43VQMWrVPu3KpwtirZhJ6nixgrZWk=</hashSalt>
	<image>
		iVBORw0....
	</image>
	<imageType>image/jpeg</imageType>
	<issuedTime>2008-04-18T00:00:00+03:00</issuedTime>
	<issuer>http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/self
	</issuer>
	<issuerName>Self</issuerName>
	<lastUpdatedTime>2009-02-11T00:00:00+02:00</lastUpdatedTime>
	<masterKey>zEu07YNPDTXD+I0NRfFDzNFPtChDIL89IjoYjT/l8H8=</masterKey>
	<name>Parity CardEEE</name>
	<selfIssued>true</selfIssued>
	<supportedClaimTypes>
		<description>First Name</description>
		<displayName>First Name</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Last Name</description>
		<displayName>Last Name</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Email Address</description>
		<displayName>Email Address</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Street</description>
		<displayName>Street</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>City</description>
		<displayName>City</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>State</description>
		<displayName>State</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Postal Code</description>
		<displayName>Postal Code</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Country/Region</description>
		<displayName>Country/Region</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Home Phone Number</description>
		<displayName>Home Phone</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Other Phone Number</description>
		<displayName>Other Phone</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Mobile Phone Number</description>
		<displayName>Mobile Phone</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Date of Birth</description>
		<displayName>Date of Birth</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Gender</description>
		<displayName>Gender</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Web Page</description>
		<displayName>Web Page</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Site Specific Card ID</description>
		<displayName>Site Specific Card ID</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier
		</type>
	</supportedClaimTypes>
	<supportedTokenTypes>urn:oasis:names:tc:SAML:1.0:assertion</supportedTokenTypes>
	<supportedTokenTypes>http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1
	</supportedTokenTypes>
	<version>1</version>
</ns2:pCardTO>

Response example:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Wed, 25 Feb 2009
10:24:01 GMT
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:pCardTO xmlns:ns2="http://www.eclipse.org/higgins/cardsync/2009/">
	<id>
		org.eclipse.higgins.icard.provider.cardspace.personal.db#http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/self#urn:urn:uuid:80A266C66BEA02EA1112085199159911
	</id>
	<revision>
		<modifiedTime>2009-02-25T12:24:01.747+02:00</modifiedTime>
		<number>3</number>
	</revision>
	<cardId>urn:urn:uuid:80A266C66BEA02EA1112085199159911</cardId>
	<claims>
		<claimType>
			<description>First Name</description>
			<displayName>First Name</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname
			</type>
		</claimType>
		<values>Alex1</values>
	</claims>
	<claims>
		<claimType>
			<description>Last Name</description>
			<displayName>Last Name</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname
			</type>
		</claimType>
		<values>Yuhimenko</values>
	</claims>
	<claims>
		<claimType>
			<description>Email Address</description>
			<displayName>Email Address</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
			</type>
		</claimType>
		<values>AYuhimenko@aquasoft.dp.ua</values>
	</claims>
	<claims>
		<claimType>
			<description>Street</description>
			<displayName>Street</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress
			</type>
		</claimType>
		<values>........</values>
	</claims>
	<claims>
		<claimType>
			<description>City</description>
			<displayName>City</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality
			</type>
		</claimType>
		<values>.................................</values>
	</claims>
	<claims>
		<claimType>
			<description>State</description>
			<displayName>State</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Postal Code</description>
			<displayName>Postal Code</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Country/Region</description>
			<displayName>Country/Region</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Home Phone Number</description>
			<displayName>Home Phone</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Other Phone Number</description>
			<displayName>Other Phone</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Mobile Phone Number</description>
			<displayName>Mobile Phone</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Date of Birth</description>
			<displayName>Date of Birth</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth
			</type>
		</claimType>
		<values>1980-10-04</values>
	</claims>
	<claims>
		<claimType>
			<description>Gender</description>
			<displayName>Gender</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Web Page</description>
			<displayName>Web Page</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Site Specific Card ID</description>
			<displayName>Site Specific Card ID</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier
			</type>
		</claimType>
		<values xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
	</claims>
	<hashSalt>EPsoyPcgGdcfdg43VQMWrVPu3KpwtirZhJ6nixgrZWk=</hashSalt>
	<image>
		iVBORwCC
	</image>
	<imageType>image/jpeg</imageType>
	<issuedTime>2008-04-18T00:00:00+03:00</issuedTime>
	<issuer>http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/self
	</issuer>
	<issuerName>Self</issuerName>
	<lastUpdatedTime>2009-02-25T12:24:01.711+02:00</lastUpdatedTime>
	<masterKey>zEu07YNPDTXD+I0NRfFDzNFPtChDIL89IjoYjT/l8H8=</masterKey>
	<name>Parity CardEEE</name>
	<selfIssued>true</selfIssued>
	<supportedClaimTypes>
		<description>First Name</description>
		<displayName>First Name</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Last Name</description>
		<displayName>Last Name</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Email Address</description>
		<displayName>Email Address</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Street</description>
		<displayName>Street</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>City</description>
		<displayName>City</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>State</description>
		<displayName>State</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Postal Code</description>
		<displayName>Postal Code</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Country/Region</description>
		<displayName>Country/Region</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Home Phone Number</description>
		<displayName>Home Phone</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Other Phone Number</description>
		<displayName>Other Phone</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Mobile Phone Number</description>
		<displayName>Mobile Phone</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Date of Birth</description>
		<displayName>Date of Birth</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Gender</description>
		<displayName>Gender</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Web Page</description>
		<displayName>Web Page</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Private Personal Identifier</description>
		<displayName>Private Personal Identifier</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier
		</type>
	</supportedClaimTypes>
	<supportedTokenTypes>urn:oasis:names:tc:SAML:1.0:assertion</supportedTokenTypes>
	<supportedTokenTypes>http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1
	</supportedTokenTypes>
	<version>1</version>
</ns2:pCardTO>


Get ICard

HTTP Method: GET
Return: CardTO
Parameter:accessTokenId, cardId
Request example:

GET /cardsync/rs/Cards/card?id=org.eclipse.higgins.icard.provider.cardspace.personal.db%23http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/self%23urn:urn:uuid:80A266C66BEA02EA1112085199159911 HTTP/1.1
Content-Type: application/xml
access_token: urn:uuid:9AC1F51608593826791235565159052
User-Agent: Java/1.5.0_17
Host: localhost:7780
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive

Response example:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Wed, 25 Feb 2009
12:32:39 GMT
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:pCardTO xmlns:ns2="http://www.eclipse.org/higgins/cardsync/2009/">
	<id>
		org.eclipse.higgins.icard.provider.cardspace.personal.db#http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/self#urn:urn:uuid:80A266C66BEA02EA1112085199159911
	</id>
	<revision>
		<modifiedTime>2009-02-25T00:00:00+02:00</modifiedTime>
		<number>4</number>
	</revision>
	<cardId>urn:urn:uuid:80A266C66BEA02EA1112085199159911</cardId>
	<claims>
		<claimType>
			<description>First Name</description>
			<displayName>First Name</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname
			</type>
		</claimType>
		<values>Alex1</values>
	</claims>
	<claims>
		<claimType>
			<description>Last Name</description>
			<displayName>Last Name</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname
			</type>
		</claimType>
		<values>Yuhimenko</values>
	</claims>
	<claims>
		<claimType>
			<description>Email Address</description>
			<displayName>Email Address</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
			</type>
		</claimType>
		<values>AYuhimenko@aquasoft.dp.ua</values>
	</claims>
	<claims>
		<claimType>
			<description>Street</description>
			<displayName>Street</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress
			</type>
		</claimType>
		<values>........</values>
	</claims>
	<claims>
		<claimType>
			<description>City</description>
			<displayName>City</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality
			</type>
		</claimType>
		<values>.................................</values>
	</claims>
	<claims>
		<claimType>
			<description>State</description>
			<displayName>State</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Postal Code</description>
			<displayName>Postal Code</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Country/Region</description>
			<displayName>Country/Region</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Home Phone Number</description>
			<displayName>Home Phone</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Other Phone Number</description>
			<displayName>Other Phone</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Mobile Phone Number</description>
			<displayName>Mobile Phone</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Date of Birth</description>
			<displayName>Date of Birth</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth
			</type>
		</claimType>
		<values>1980-10-04</values>
	</claims>
	<claims>
		<claimType>
			<description>Gender</description>
			<displayName>Gender</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Web Page</description>
			<displayName>Web Page</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Site Specific Card ID</description>
			<displayName>Site Specific Card ID</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier
			</type>
		</claimType>
		<values></values>
	</claims>
	<hashSalt>EPsoyPcgGdcfdg43VQMWrVPu3KpwtirZhJ6nixgrZWk=</hashSalt>
	<image>
		iVBORw0...
	</image>
	<imageType>image/jpeg</imageType>
	<issuedTime>2008-04-18T00:00:00+03:00</issuedTime>
	<issuer>http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/self
	</issuer>
	<issuerName>Self</issuerName>
	<lastUpdatedTime>2009-02-25T00:00:00+02:00</lastUpdatedTime>
	<masterKey>zEu07YNPDTXD+I0NRfFDzNFPtChDIL89IjoYjT/l8H8=</masterKey>
	<name>newCardName</name>
	<selfIssued>true</selfIssued>
	<supportedClaimTypes>
		<description>First Name</description>
		<displayName>First Name</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Last Name</description>
		<displayName>Last Name</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Email Address</description>
		<displayName>Email Address</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Street</description>
		<displayName>Street</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>City</description>
		<displayName>City</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>State</description>
		<displayName>State</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Postal Code</description>
		<displayName>Postal Code</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Country/Region</description>
		<displayName>Country/Region</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Home Phone Number</description>
		<displayName>Home Phone</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Other Phone Number</description>
		<displayName>Other Phone</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Mobile Phone Number</description>
		<displayName>Mobile Phone</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Date of Birth</description>
		<displayName>Date of Birth</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Gender</description>
		<displayName>Gender</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Web Page</description>
		<displayName>Web Page</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Site Specific Card ID</description>
		<displayName>Site Specific Card ID</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier
		</type>
	</supportedClaimTypes>
	<supportedTokenTypes>urn:oasis:names:tc:SAML:1.0:assertion</supportedTokenTypes>
	<supportedTokenTypes>http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1
	</supportedTokenTypes>
	<version>1</version>
</ns2:pCardTO>

Update ICard

HTTP Method: PUT
Return: CardTO
Parameter:accessTokenId, CardTO
Request example:

PUT /cardsync/rs/Cards/card HTTP/1.1
Content-Type: application/xml
access_token: urn:uuid:9AC1F51608593826791235565159052
User-Agent: Java/1.5.0_17
Host: localhost:7780
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection:
keep-alive
Content-Length: 11414
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:pCardTO xmlns:ns2="http://www.eclipse.org/higgins/cardsync/2009/">
	<id>
		org.eclipse.higgins.icard.provider.cardspace.personal.db#http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/self#urn:urn:uuid:80A266C66BEA02EA1112085199159911
	</id>
	<cardId>urn:urn:uuid:80A266C66BEA02EA1112085199159911</cardId>
	<claims>
		<claimType>
			<description>First Name</description>
			<displayName>First Name</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname
			</type>
		</claimType>
		<values>Alex1</values>
	</claims>
	<claims>
		<claimType>
			<description>Last Name</description>
			<displayName>Last Name</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname
			</type>
		</claimType>
		<values>Yuhimenko</values>
	</claims>
	<claims>
		<claimType>
			<description>Email Address</description>
			<displayName>Email Address</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
			</type>
		</claimType>
		<values>AYuhimenko@aquasoft.dp.ua</values>
	</claims>
	<claims>
		<claimType>
			<description>Street</description>
			<displayName>Street</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress
			</type>
		</claimType>
		<values>........</values>
	</claims>
	<claims>
		<claimType>
			<description>City</description>
			<displayName>City</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality
			</type>
		</claimType>
		<values>.................................</values>
	</claims>
	<claims>
		<claimType>
			<description>State</description>
			<displayName>State</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Postal Code</description>
			<displayName>Postal Code</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Country/Region</description>
			<displayName>Country/Region</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Home Phone Number</description>
			<displayName>Home Phone</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Other Phone Number</description>
			<displayName>Other Phone</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Mobile Phone Number</description>
			<displayName>Mobile Phone</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Date of Birth</description>
			<displayName>Date of Birth</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth
			</type>
		</claimType>
		<values>1980-10-04</values>
	</claims>
	<claims>
		<claimType>
			<description>Gender</description>
			<displayName>Gender</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Web Page</description>
			<displayName>Web Page</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Site Specific Card ID</description>
			<displayName>Site Specific Card ID</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier
			</type>
		</claimType>
		<values></values>
	</claims>
	<hashSalt>EPsoyPcgGdcfdg43VQMWrVPu3KpwtirZhJ6nixgrZWk=</hashSalt>
	<image>
		iVBOR....
	</image>
	<imageType>image/jpeg</imageType>
	<issuedTime>2008-04-18T00:00:00+03:00</issuedTime>
	<issuer>http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/self
	</issuer>
	<issuerName>Self</issuerName>
	<lastUpdatedTime>2009-02-11T00:00:00+02:00</lastUpdatedTime>
	<masterKey>zEu07YNPDTXD+I0NRfFDzNFPtChDIL89IjoYjT/l8H8=</masterKey>
	<name>newCardName</name>
	<selfIssued>true</selfIssued>
	<supportedClaimTypes>
		<description>First Name</description>
		<displayName>First Name</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Last Name</description>
		<displayName>Last Name</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Email Address</description>
		<displayName>Email Address</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Street</description>
		<displayName>Street</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>City</description>
		<displayName>City</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>State</description>
		<displayName>State</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Postal Code</description>
		<displayName>Postal Code</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Country/Region</description>
		<displayName>Country/Region</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Home Phone Number</description>
		<displayName>Home Phone</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Other Phone Number</description>
		<displayName>Other Phone</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Mobile Phone Number</description>
		<displayName>Mobile Phone</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Date of Birth</description>
		<displayName>Date of Birth</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Gender</description>
		<displayName>Gender</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Web Page</description>
		<displayName>Web Page</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Site Specific Card ID</description>
		<displayName>Site Specific Card ID</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier
		</type>
	</supportedClaimTypes>
	<supportedTokenTypes>urn:oasis:names:tc:SAML:1.0:assertion</supportedTokenTypes>
	<supportedTokenTypes>http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1
	</supportedTokenTypes>
	<version>1</version>
</ns2:pCardTO>

Response example:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Wed, 25 Feb 2009
12:32:39 GMT
 
2000
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:pCardTO xmlns:ns2="http://www.eclipse.org/higgins/cardsync/2009/">
	<id>
		org.eclipse.higgins.icard.provider.cardspace.personal.db#http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/self#urn:urn:uuid:80A266C66BEA02EA1112085199159911
	</id>
	<revision>
		<modifiedTime>2009-02-25T14:32:39.851+02:00</modifiedTime>
		<number>4</number>
	</revision>
	<cardId>urn:urn:uuid:80A266C66BEA02EA1112085199159911</cardId>
	<claims>
		<claimType>
			<description>First Name</description>
			<displayName>First Name</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname
			</type>
		</claimType>
		<values>Alex1</values>
	</claims>
	<claims>
		<claimType>
			<description>Last Name</description>
			<displayName>Last Name</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname
			</type>
		</claimType>
		<values>Yuhimenko</values>
	</claims>
	<claims>
		<claimType>
			<description>Email Address</description>
			<displayName>Email Address</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
			</type>
		</claimType>
		<values>AYuhimenko@aquasoft.dp.ua</values>
	</claims>
	<claims>
		<claimType>
			<description>Street</description>
			<displayName>Street</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress
			</type>
		</claimType>
		<values>........</values>
	</claims>
	<claims>
		<claimType>
			<description>City</description>
			<displayName>City</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality
			</type>
		</claimType>
		<values>.................................</values>
	</claims>
	<claims>
		<claimType>
			<description>State</description>
			<displayName>State</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Postal Code</description>
			<displayName>Postal Code</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Country/Region</description>
			<displayName>Country/Region</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Home Phone Number</description>
			<displayName>Home Phone</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Other Phone Number</description>
			<displayName>Other Phone</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Mobile Phone Number</description>
			<displayName>Mobile Phone</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Date of Birth</description>
			<displayName>Date of Birth</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth
			</type>
		</claimType>
		<values>1980-10-04</values>
	</claims>
	<claims>
		<claimType>
			<description>Gender</description>
			<displayName>Gender</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Web Page</description>
			<displayName>Web Page</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage
			</type>
		</claimType>
		<values></values>
	</claims>
	<claims>
		<claimType>
			<description>Site Specific Card ID</description>
			<displayName>Site Specific Card ID</displayName>
			<isSimple>true</isSimple>
			<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier
			</type>
		</claimType>
		<values xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
	</claims>
	<hashSalt>EPsoyPcgGdcfdg43VQMWrVPu3KpwtirZhJ6nixgrZWk=</hashSalt>
	<image>
		iVBORw0KGg...
	</image>
	<imageType>image/jpeg</imageType>
	<issuedTime>2008-04-18T00:00:00+03:00</issuedTime>
	<issuer>http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/self
	</issuer>
	<issuerName>Self</issuerName>
	<lastUpdatedTime>2009-02-25T14:32:39.832+02:00</lastUpdatedTime>
	<masterKey>zEu07YNPDTXD+I0NRfFDzNFPtChDIL89IjoYjT/l8H8=</masterKey>
	<name>newCardName</name>
	<selfIssued>true</selfIssued>
	<supportedClaimTypes>
		<description>First Name</description>
		<displayName>First Name</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/ide
			d44
			ntity/claims/givenname</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Last Name</description>
		<displayName>Last Name</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Email Address</description>
		<displayName>Email Address</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Street</description>
		<displayName>Street</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>City</description>
		<displayName>City</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>State</description>
		<displayName>State</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Postal Code</description>
		<displayName>Postal Code</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Country/Region</description>
		<displayName>Country/Region</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Home Phone Number</description>
		<displayName>Home Phone</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Other Phone Number</description>
		<displayName>Other Phone</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Mobile Phone Number</description>
		<displayName>Mobile Phone</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Date of Birth</description>
		<displayName>Date of Birth</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Gender</description>
		<displayName>Gender</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Web Page</description>
		<displayName>Web Page</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage
		</type>
	</supportedClaimTypes>
	<supportedClaimTypes>
		<description>Private Personal Identifier</description>
		<displayName>Private Personal Identifier</displayName>
		<isSimple>true</isSimple>
		<type>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier
		</type>
	</supportedClaimTypes>
	<supportedTokenTypes>urn:oasis:names:tc:SAML:1.0:assertion</supportedTokenTypes>
	<supportedTokenTypes>http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1
	</supportedTokenTypes>
	<version>1</version>
</ns2:pCardTO>



Delete ICard

HTTP Method: PUT
Return: void
Parameter:accessTokenId, cardId
Request example:

DELETE /cardsync/rs/Cards/card?id=org.eclipse.higgins.icard.provider.cardspace.personal.db%23http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/self%23urn:urn:uuid:80A266C66BEA02EA1112085199159911 HTTP/1.1
Content-Type: application/xml
access_token: urn:uuid:9AC1F51608593826791235565159052
User-Agent: Java/1.5.0_17
Host: localhost:7780
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive

Response example:

HTTP/1.1 204 No Content
Server: Apache-Coyote/1.1
Date: Wed, 25 Feb 2009 12:32:40 GMT

CardHistory

Get

HTTP Method: GET
Return:
Parameter:accessTokenId
Request example:

 

Response example:

 


CardCategory

CardCredential

UseAlways

WADL

Serializable formats

XML(application/xml)

JSON(application/json)

Google protobuf (application/x-protobuf)

http://code.google.com/p/protobuf/

X3 (application/x3)

Back to the top