UserCreateUpdate

Description

The UserCreateUpdate operation allows you to create or update a user record. If a UserOGFN is included as part of the UserWS aggregate, then an attempt will be made to update an existing record. If the UserOGFN is not included, an attempt will be made to create a new User record if the username is not already taken. If in this case the username is already taken, then an error will be returned.

History

2008-08-19 Initial version without URL versioning

2009-03-03 Version URL's implemented

/FamilyTree/2009-03-03/User.svc

2009-03-18 Seperate SOAP and REST URL's

SOAP URI:
/Service/2009-03-18

REST URI [PUT]:
/FamilyTree/2009-03-18/User.svc/CreateUpdate

Request Parameters

Name Description Required

User

The User record to be updated or created

Type: UserWS aggregate

Default: None

Constraints: Must be a valid aggregate.

Yes

Response Elements

The only thing returned is the aggregate below:

Name Description

User

This operation returns a UserWS aggregate upon success. If an update was attempted, it will be the same aggreate passed, if a create was attempted it will include the newly created UserOGFN

Type: UserWS