@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api MarketplaceOrdering.Agreements
@base https://management.azure.com
@version 2015-06-01
@auth OAuth2
@common_fields {api-version: any}
@endpoints 7
@toc subscriptions(6), providers(1)

@group subscriptions
@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current
@required {subscriptionId: any, offerType: any, publisherId: any, offerId: any, planId: any}
@returns(200)
@errors {415}

@endpoint PUT /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current
@required {offerType: any, subscriptionId: any, publisherId: any, offerId: any, planId: any, parameters: map}
@returns(200)
@errors {415}

@endgroup

@group providers
@endpoint GET /providers/Microsoft.MarketplaceOrdering/operations
@returns(200)
@errors {415}

@endgroup

@group subscriptions
@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}/sign
@required {subscriptionId: any, publisherId: any, offerId: any, planId: any}
@returns(200)
@errors {415}

@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}/cancel
@required {subscriptionId: any, publisherId: any, offerId: any, planId: any}
@returns(200)
@errors {415}

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}
@required {subscriptionId: any, publisherId: any, offerId: any, planId: any}
@returns(200)
@errors {415}

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements
@required {subscriptionId: any}
@returns(200)
@errors {415}

@endgroup

@end
