Contracts

Update Contract

put/api/v1.0/contracts/{id}

Path parameters

idstring required

id

Request body

campaign_idnumber

The ID of the Campaign the Contract is from

created_atnumber

The date/time the Contract was created at represented as an integer

idstring

The ID of the Contract

level'white' | 'green' | 'gold' | 'previous_gold'

The level of Wingmate Pro the user has acheived

points_remaining_to_pronumber

The number of points remaining for the user to acheive Wingmate Pro on this Campaign

progressnumber

The % progress the user is to Wingmate Pro on this Campaign, represented as a decimal

user_idnumber

The ID of the User who the Contract is for

Response

Success

Changes