Designer Associate Properties

A Designer Associate has access to edit a Designer's games and receive a percentage share of a Designer's earnings. Complete details in DesignerAssociateProperties.

id

The unique id for this designer associate. It will never change.

wing_object_type

designerassociate

user_id

A User id. The unique id of the associate user.

designer_id

A Designer id. The unique id of the designer to which this associate is a member.

profit_share

The percentage of profit (expressed as a decimal) that this associate is entitled to.

Relationships

designer

A Designer.

Related Objects

user

A User.

Designer Associate Methods

The methods used to fetch and manipulate designer associates.

Create Designer Associate

 POST /api/designerassociate
session_id

Required. The unique session id provided by a Session method.

user_id

Required.

designer_id

Required.

share_percent

Optional.

Returns:

 {
   "id" : "xxx",
   "share_percent" : "0.10",
   ...
 }

Update Designer Associate

 PUT /api/designerassociate/xxx

See Create Designer Associate for details.

Delete Designer Associate

 DELETE /api/designer/xxx
session_id

Required. The unique session id provided by a Session method.

Returns:

 {
   "success" : 1
 }

Fetch Designer Associate

 GET /api/designerassociate/xxx
session_id

Optional. The unique session id provided by a Session method.

_include_relationships

Optional. See "Relationships" in Intro and Designer Associate Relationships above for details.

Returns:

 {
   "id" : "xxx",
   "share_percent" : "0.10",
   ...
 }
^ Back to Top ^