{"files":{"SKILL.md":"---\nname: marketplaceorderingagreements\ndescription: \"MarketplaceOrdering.Agreements API skill. Use when working with MarketplaceOrdering.Agreements for subscriptions, providers. Covers 7 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# MarketplaceOrdering.Agreements\nAPI version: 2015-06-01\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /providers/Microsoft.MarketplaceOrdering/operations -- lists all of the available microsoft.marketplaceordering rest api operations.\n3. POST /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}/sign -- create first sign\n\n## Endpoints\n7 endpoints across 2 groups. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current | Get marketplace terms. |\n| PUT | /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current | Save marketplace terms. |\n| POST | /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}/sign | Sign marketplace terms. |\n| POST | /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}/cancel | Cancel marketplace terms. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId} | Get marketplace agreement. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements | List marketplace agreements in the subscription. |\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /providers/Microsoft.MarketplaceOrdering/operations | Lists all of the available Microsoft.MarketplaceOrdering REST API operations. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all current?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current\n- \"List all operations?\" -> GET /providers/Microsoft.MarketplaceOrdering/operations\n- \"Create a sign?\" -> POST /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}/sign\n- \"Create a cancel?\" -> POST /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}/cancel\n- \"Get plan details?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}\n- \"List all agreements?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n- Error responses include status codes and descriptions in the spec\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api MarketplaceOrdering.Agreements\n@base https://management.azure.com\n@version 2015-06-01\n@auth OAuth2\n@common_fields {api-version: any # The API version to use for the request.}\n@endpoints 7\n@toc subscriptions(6), providers(1)\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current\n@desc Get marketplace terms.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., offerType: any # Offer Type, currently only virtualmachine type is supported., publisherId: any # Publisher identifier string of image being deployed., offerId: any # Offer identifier string of image being deployed., planId: any # Plan identifier string of image being deployed.}\n@returns(200) Terms returned successfully\n@errors {415: Unsupported Media Type}\n\n@endpoint PUT /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current\n@desc Save marketplace terms.\n@required {offerType: any # Offer Type, currently only virtualmachine type is supported., subscriptionId: any # The subscription ID that identifies an Azure subscription., publisherId: any # Publisher identifier string of image being deployed., offerId: any # Offer identifier string of image being deployed., planId: any # Plan identifier string of image being deployed., parameters: map # Parameters supplied to the Create Marketplace Terms operation.}\n@returns(200) OK. The request was successfully processed and the terms were accepted or acceptance revoked as per the request body.\n@errors {415: Unsupported Media Type}\n\n@endgroup\n\n@group providers\n@endpoint GET /providers/Microsoft.MarketplaceOrdering/operations\n@desc Lists all of the available Microsoft.MarketplaceOrdering REST API operations.\n@returns(200) OK. The request has succeeded.\n@errors {415: Unsupported Media Type}\n\n@endgroup\n\n@group subscriptions\n@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}/sign\n@desc Sign marketplace terms.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., publisherId: any # Publisher identifier string of image being deployed., offerId: any # Offer identifier string of image being deployed., planId: any # Plan identifier string of image being deployed.}\n@returns(200) OK. The request was successfully processed and the terms were accepted.\n@errors {415: Unsupported Media Type}\n\n@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}/cancel\n@desc Cancel marketplace terms.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., publisherId: any # Publisher identifier string of image being deployed., offerId: any # Offer identifier string of image being deployed., planId: any # Plan identifier string of image being deployed.}\n@returns(200) OK. The request was successfully processed and the terms were rejected.\n@errors {415: Unsupported Media Type}\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}\n@desc Get marketplace agreement.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., publisherId: any # Publisher identifier string of image being deployed., offerId: any # Offer identifier string of image being deployed., planId: any # Plan identifier string of image being deployed.}\n@returns(200) Terms returned successfully\n@errors {415: Unsupported Media Type}\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements\n@desc List marketplace agreements in the subscription.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription.}\n@returns(200) Terms returned successfully\n@errors {415: Unsupported Media Type}\n\n@endgroup\n\n@end\n"}}