{
  "name": "Application",
  "id": "http://com.ingrammicro/pricemanager/1.1",
  "apsVersion": "2.0",
  "implements": [
    "http://aps-standard.org/types/core/application/1.0",
    "http://ingrammicro.com/cb/types/astrum/client/1.0"
  ],
  "access": {
    "public": true
  },
  "properties": {
    "uiState": {
      "type": "string",
      "default": "disabled",
      "enum": [
        "enabled",
        "disabled",
        "global_enabled"
      ]
    }
  },
  "operations": {
    "products": {
      "path": "products",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        }
      }
    },
    "getPrices": {
      "path": "api/prices",
      "verb": "POST",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": true
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "mode": {
          "kind": "query",
          "type": "PriceManagerMode"
        },
        "request": {
          "kind": "body",
          "type": "PricesRequest"
        }
      }
    },
    "getMode": {
      "path": "api/mode",
      "verb": "GET",
      "response": {
        "type": "string"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        }
      }
    },
    "setMode": {
      "path": "api/mode",
      "verb": "PUT",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "mode": {
          "kind": "body",
          "type": "string"
        }
      }
    },
    "importPrices": {
      "path": "import/{vendorId}",
      "verb": "POST",
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "vendorId": {
          "kind": "path",
          "type": "string"
        }
      }
    },
    "importUploadPriceFile": {
      "path": "management/import/upload",
      "verb": "POST",
      "response": {
        "type": "ImportUploadResult"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "priceFileInfo": {
          "kind": "body",
          "type": "ImportUploadInfo"
        }
      }
    },
    "parse": {
      "path": "parse/{dataId}",
      "verb": "POST",
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "dataId": {
          "kind": "path",
          "type": "string"
        }
      }
    },
    "prepareProposals": {
      "path": "prepare-proposals/{dataId}",
      "verb": "POST",
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "dataId": {
          "kind": "path",
          "type": "string"
        }
      }
    },
    "importGetPriceDiffs": {
      "path": "management/import/diff",
      "verb": "POST",
      "response": {
        "type": "ImportDiffResult"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "diffsInfo": {
          "kind": "body",
          "type": "ImportDiffInfo"
        }
      }
    },
    "getProductDiffs": {
      "path": "product-diffs/{dataId}",
      "verb": "GET",
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "dataId": {
          "kind": "path",
          "type": "string"
        }
      }
    },
    "getVendors": {
      "path": "vendors",
      "verb": "GET",
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      }
    },
    "setPrices": {
      "path": "set-prices/{dataId}",
      "verb": "POST",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "dataId": {
          "kind": "path",
          "type": "string"
        }
      }
    },
    "importSavePrices": {
      "path": "management/import/save",
      "verb": "POST",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "saveInfo": {
          "kind": "body",
          "type": "ImportSaveInfo"
        }
      }
    },
    "exportProductXlsx": {
      "path": "export/products-xlsx",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        }
      }
    },
    "newExportProductXlsx": {
      "path": "management/export",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "serviceTemplateId": {
          "kind": "query",
          "type": "integer"
        },
        "effectiveDate": {
          "kind": "query",
          "type": "string"
        },
        "segmentId": {
          "kind": "query",
          "type": "integer"
        }
      }
    },
    "migrate": {
      "path": "migrate",
      "verb": "POST",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "batchSize": {
          "kind": "query",
          "type": "integer"
        },
        "batchAmount": {
          "kind": "query",
          "type": "integer"
        },
        "microBatchAmount": {
          "kind": "query",
          "type": "integer"
        }
      }
    },
    "transferPriceOwnership": {
      "path": "management/transfer-ownership/{planId}",
      "verb": "POST",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "planId": {
          "kind": "path",
          "type": "integer"
        }
      }
    },
    "transferPriceOwnershipMass": {
      "path": "management/transfer-ownership",
      "verb": "POST",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "request": {
          "kind": "body",
          "type": "TransferOwnershipRequest"
        }
      }
    },
    "writeNotifications": {
      "path": "write-notifications",
      "verb": "POST",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "batchSize": {
          "kind": "query",
          "type": "integer"
        },
        "notificationData": {
          "kind": "body",
          "type": "NotificationData"
        }
      }
    },
    "addPrices": {
      "path": "management/plans/add-prices",
      "verb": "POST",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "request": {
          "kind": "body",
          "type": "AddPricesRequest"
        }
      }
    },
    "managementPlans": {
      "path": "management/plans",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "limit": {
          "kind": "query",
          "type": "integer"
        },
        "offset": {
          "kind": "query",
          "type": "integer"
        },
        "effectiveDate": {
          "kind": "query",
          "type": "string"
        },
        "planId": {
          "kind": "query",
          "type": "integer"
        },
        "planName": {
          "kind": "query",
          "type": "string"
        },
        "resourceId": {
          "kind": "query",
          "type": "integer"
        },
        "resourceName": {
          "kind": "query",
          "type": "string"
        },
        "serviceTemplateId": {
          "kind": "query",
          "type": "integer"
        },
        "serviceTemplateName": {
          "kind": "query",
          "type": "string"
        },
        "published": {
          "kind": "query",
          "type": "boolean"
        },
        "mpn": {
          "kind": "query",
          "type": "string"
        },
        "sortBy": {
          "kind": "query",
          "type": "string"
        },
        "sortType": {
          "kind": "query",
          "type": "string"
        },
        "segmentId": {
          "kind": "query",
          "type": "integer"
        },
        "extendWith": {
          "kind": "query",
          "type": "array"
        }
      }
    },
    "historyPrices": {
      "path": "management/plans/history",
      "verb": "POST",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "request": {
          "kind": "body",
          "type": "PricePointHistoryRequest"
        }
      }
    },
    "serviceTemplates": {
      "path": "management/serviceTemplates",
      "verb": "GET",
      "response": {
        "type": "array",
        "items": {
          "type": "ServiceTemplateInfo"
        }
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      }
    },
    "getPricingGroups": {
      "path": "pricing-groups",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "searchText": {
          "kind": "query",
          "type": "string"
        },
        "type": {
          "kind": "query",
          "type": "array"
        },
        "status": {
          "kind": "query",
          "type": "PricingGroupStatus"
        },
        "offset": {
          "kind": "query",
          "type": "integer"
        },
        "limit": {
          "kind": "query",
          "type": "integer"
        },
        "sort": {
          "kind": "query",
          "type": "array"
        }
      }
    },
    "getPricingGroupHeader": {
      "path": "pricing-groups/{groupId}",
      "verb": "GET",
      "response": {
        "type": "PricingGroupInfo"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "groupId": {
          "kind": "path",
          "type": "integer"
        }
      }
    },
    "createPricingGroup": {
      "path": "pricing-groups",
      "verb": "POST",
      "response": {
        "type": "PricingGroupResponse"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "pricingGroupRequest": {
          "kind": "body",
          "type": "PricingGroupRequest"
        }
      }
    },
    "syncSystemPricingGroups": {
      "path": "pricing-groups/sync",
      "verb": "POST",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "systemPricingGroupsRequest": {
          "kind": "body",
          "type": "SystemPricingGroupsRequest"
        }
      }
    },
    "updatePricingGroup": {
      "path": "pricing-groups/{groupId}",
      "verb": "PUT",
      "response": {
        "type": "PricingGroupResponse"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "groupId": {
          "kind": "path",
          "type": "integer"
        },
        "pricingGroupRequest": {
          "kind": "body",
          "type": "PricingGroupRequest"
        }
      }
    },
    "deletePricingGroup": {
      "path": "pricing-groups/{groupId}",
      "verb": "DELETE",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "groupId": {
          "kind": "path",
          "type": "integer"
        }
      }
    },
    "getServiceTemplates": {
      "path": "pricing-groups/serviceTemplates",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "searchText": {
          "kind": "query",
          "type": "string"
        },
        "available": {
          "kind": "query",
          "type": "boolean"
        },
        "offset": {
          "kind": "query",
          "type": "integer"
        },
        "limit": {
          "kind": "query",
          "type": "integer"
        },
        "sort": {
          "kind": "query",
          "type": "array"
        }
      }
    },
    "getAllServiceTemplateOrGroupResources": {
      "path": "pricing-groups/content",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "serviceTemplateId": {
          "kind": "query",
          "type": "integer"
        },
        "groupId": {
          "kind": "query",
          "type": "integer"
        },
        "searchText": {
          "kind": "query",
          "type": "string"
        },
        "vendorName": {
          "kind": "query",
          "type": "string"
        },
        "available": {
          "kind": "query",
          "type": "boolean"
        },
        "status": {
          "kind": "query",
          "type": "PricingGroupContentStatus"
        },
        "offset": {
          "kind": "query",
          "type": "integer"
        },
        "limit": {
          "kind": "query",
          "type": "integer"
        },
        "sort": {
          "kind": "query",
          "type": "array"
        }
      }
    },
    "changePricingGroupContent": {
      "path": "pricing-groups/content",
      "verb": "POST",
      "response": {
        "type": "PricingGroupResponse"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "pricingGroupContentRequest": {
          "kind": "body",
          "type": "PricingGroupContentRequest"
        }
      }
    },
    "updateSystemPricingGroup": {
      "path": "pricing-groups/sync-group-settings",
      "verb": "PUT",
      "response": {
        "type": "SystemPricingGroupStatusResponse"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "request": {
          "kind": "body",
          "type": "SystemPricingGroupStatusRequest"
        }
      }
    },
    "getSystemPricingGroup": {
      "path": "pricing-groups/sync-group-settings",
      "verb": "GET",
      "response": {
        "type": "SystemPricingGroupStatusResponse"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "accountId": {
          "kind": "query",
          "type": "integer"
        }
      }
    },
    "getPriceBooks": {
      "path": "price-books",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "searchText": {
          "kind": "query",
          "type": "string"
        },
        "offset": {
          "kind": "query",
          "type": "integer"
        },
        "limit": {
          "kind": "query",
          "type": "integer"
        },
        "sort": {
          "kind": "query",
          "type": "array"
        }
      }
    },
    "getPriceBookById": {
      "path": "price-books/{priceBookId}",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "priceBookId": {
          "kind": "path",
          "type": "integer"
        }
      }
    },
    "priceBookApply": {
      "path": "price-books/{priceBookId}/apply",
      "verb": "POST",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "priceBookId": {
          "kind": "path",
          "type": "integer"
        },
        "applyRequest": {
          "kind": "body",
          "type": "ApplyRequest"
        }
      }
    },
    "getPriceBookAvailableAccounts": {
      "path": "price-books/{priceBookId}/available-accounts",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "priceBookId": {
          "kind": "path",
          "type": "integer"
        },
        "searchText": {
          "kind": "query",
          "type": "string"
        },
        "status": {
          "kind": "query",
          "type": "AccountStatus"
        },
        "offset": {
          "kind": "query",
          "type": "integer"
        },
        "limit": {
          "kind": "query",
          "type": "integer"
        },
        "sort": {
          "kind": "query",
          "type": "array"
        }
      }
    },
    "createPriceBook": {
      "path": "price-books",
      "verb": "POST",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "priceBookRequest": {
          "kind": "body",
          "type": "PriceBookRequest"
        }
      }
    },
    "clonePriceBook": {
      "path": "price-books/{priceBookId}/clone",
      "verb": "POST",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "priceBookId": {
          "kind": "path",
          "type": "integer"
        },
        "priceBookRequest": {
          "kind": "body",
          "type": "PriceBookRequest"
        }
      }
    },
    "updatePriceBook": {
      "path": "price-books/{priceBookId}",
      "verb": "PUT",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "priceBookId": {
          "kind": "path",
          "type": "integer"
        },
        "priceBookRequest": {
          "kind": "body",
          "type": "PriceBookRequest"
        }
      }
    },
    "deletePriceBook": {
      "path": "price-books/{priceBookId}",
      "verb": "DELETE",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "priceBookId": {
          "kind": "path",
          "type": "integer"
        }
      }
    },
    "getPriceBookContent": {
      "path": "price-books/{priceBookId}/content",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "priceBookId": {
          "kind": "path",
          "type": "integer"
        },
        "sort": {
          "kind": "query",
          "type": "string"
        }
      }
    },
    "updatePriceBookContent": {
      "path": "price-books/{priceBookId}/content",
      "verb": "PUT",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "priceBookId": {
          "kind": "path",
          "type": "integer"
        },
        "request": {
          "kind": "body",
          "type": "ContentRequest"
        }
      }
    },
    "getPriceBookContentAssignments": {
      "path": "price-books/{priceBookId}/assignments",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "priceBookId": {
          "kind": "path",
          "type": "integer"
        },
        "sort": {
          "kind": "query",
          "type": "string"
        }
      }
    },
    "updatePriceBookAssignments": {
      "path": "price-books/{priceBookId}/assignments",
      "verb": "PUT",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "priceBookId": {
          "kind": "path",
          "type": "integer"
        },
        "request": {
          "kind": "body",
          "type": "AssignmentsRequest"
        }
      }
    },
    "getPriceBookAvailableSegments": {
      "path": "price-books/{priceBookId}/available-segments",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "priceBookId": {
          "kind": "path",
          "type": "integer"
        },
        "searchText": {
          "kind": "query",
          "type": "string"
        },
        "type": {
          "kind": "query",
          "type": "PricingSegmentType"
        },
        "offset": {
          "kind": "query",
          "type": "integer"
        },
        "limit": {
          "kind": "query",
          "type": "integer"
        },
        "sort": {
          "kind": "query",
          "type": "array"
        }
      }
    },
    "getPriceBookSegment": {
      "path": "price-books/{priceBookId}/segment",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "priceBookId": {
          "kind": "path",
          "type": "integer"
        }
      }
    },
    "assignSegmentToPriceBook": {
      "path": "price-books/{priceBookId}/segment",
      "verb": "PUT",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "priceBookId": {
          "kind": "path",
          "type": "integer"
        },
        "request": {
          "kind": "body",
          "type": "PriceBookSegmentRequest"
        }
      }
    },
    "getPricingSegments": {
      "path": "pricing-segments",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "searchText": {
          "kind": "query",
          "type": "string"
        },
        "type": {
          "kind": "query",
          "type": "PricingSegmentType"
        },
        "offset": {
          "kind": "query",
          "type": "integer"
        },
        "limit": {
          "kind": "query",
          "type": "integer"
        },
        "sort": {
          "kind": "query",
          "type": "array"
        }
      }
    },
    "getPricingSegment": {
      "path": "pricing-segments/{segmentId}",
      "verb": "GET",
      "response": {
        "type": "PricingSegmentInfo"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "segmentId": {
          "kind": "path",
          "type": "integer"
        }
      }
    },
    "createPricingSegment": {
      "path": "pricing-segments",
      "verb": "POST",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "pricingSegmentRequest": {
          "kind": "body",
          "type": "PricingSegmentRequest"
        }
      }
    },
    "updatePricingSegment": {
      "path": "pricing-segments/{segmentId}",
      "verb": "PUT",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "segmentId": {
          "kind": "path",
          "type": "integer"
        },
        "pricingSegmentRequest": {
          "kind": "body",
          "type": "PricingSegmentUpdateRequest"
        }
      }
    },
    "deletePricingSegment": {
      "path": "pricing-segments/{segmentId}",
      "verb": "DELETE",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "segmentId": {
          "kind": "path",
          "type": "integer"
        }
      }
    },
    "updatePricingSegmentPriority": {
      "path": "pricing-segments/{segmentId}/priority",
      "verb": "PUT",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "segmentId": {
          "kind": "path",
          "type": "integer"
        },
        "priorityRequest": {
          "kind": "body",
          "type": "PricingSegmentPriorityRequest"
        }
      }
    },
    "getPricingSegmentContent": {
      "path": "pricing-segments/{segmentId}/content",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "segmentId": {
          "kind": "path",
          "type": "integer"
        },
        "searchText": {
          "kind": "query",
          "type": "string"
        },
        "type": {
          "kind": "query",
          "type": "ContentAccountType"
        },
        "offset": {
          "kind": "query",
          "type": "integer"
        },
        "limit": {
          "kind": "query",
          "type": "integer"
        },
        "sort": {
          "kind": "query",
          "type": "array"
        }
      }
    },
    "updatePricingSegmentContent": {
      "path": "pricing-segments/{segmentId}/content",
      "verb": "PUT",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "segmentId": {
          "kind": "path",
          "type": "integer"
        },
        "contentRequest": {
          "kind": "body",
          "type": "PricingSegmentContentRequest"
        }
      }
    },
    "deletePricingSegmentContent": {
      "path": "pricing-segments/{segmentId}/content-remove",
      "verb": "POST",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "segmentId": {
          "kind": "path",
          "type": "integer"
        },
        "contentRequest": {
          "kind": "body",
          "type": "PricingSegmentContentDeleteRequest"
        }
      }
    },
    "getAvailableAccountsForSegment": {
      "path": "pricing-segments/{segmentId}/available-accounts",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "segmentId": {
          "kind": "path",
          "type": "integer"
        },
        "searchText": {
          "kind": "query",
          "type": "string"
        },
        "type": {
          "kind": "query",
          "type": "ContentAccountType"
        },
        "parentAccountId": {
          "kind": "query",
          "type": "integer"
        },
        "offset": {
          "kind": "query",
          "type": "integer"
        },
        "limit": {
          "kind": "query",
          "type": "integer"
        },
        "sort": {
          "kind": "query",
          "type": "array"
        }
      }
    },
    "getAvailableCustomerClassesForSegment": {
      "path": "pricing-segments/{segmentId}/available-classes",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "segmentId": {
          "kind": "path",
          "type": "integer"
        },
        "searchText": {
          "kind": "query",
          "type": "string"
        },
        "parentAccountId": {
          "kind": "query",
          "type": "integer"
        },
        "offset": {
          "kind": "query",
          "type": "integer"
        },
        "limit": {
          "kind": "query",
          "type": "integer"
        },
        "sort": {
          "kind": "query",
          "type": "array"
        }
      }
    },
    "getAppliedPriceBooks": {
      "path": "pricing-segments/{segmentId}/price-books",
      "verb": "GET",
      "response": {
        "type": "object"
      },
      "errorResponse": {
        "type": "object"
      },
      "access": {
        "public": false
      },
      "parameters": {
        "id": {
          "kind": "path",
          "type": "string"
        },
        "segmentId": {
          "kind": "path",
          "type": "integer"
        },
        "offset": {
          "kind": "query",
          "type": "integer"
        },
        "limit": {
          "kind": "query",
          "type": "integer"
        },
        "sort": {
          "kind": "query",
          "type": "array"
        }
      }
    }
  },
  "structures": {
    "UiState": {
      "type": "object"
    },
    "PriceManagerMode": {
      "type": "object"
    },
    "PricesRequest": {
      "type": "object"
    },
    "ImportUploadResult": {
      "type": "object"
    },
    "ImportUploadInfo": {
      "type": "object"
    },
    "ImportDiffResult": {
      "type": "object"
    },
    "ImportDiffInfo": {
      "type": "object"
    },
    "ImportSaveInfo": {
      "type": "object"
    },
    "TransferOwnershipRequest": {
      "type": "object"
    },
    "NotificationData": {
      "type": "object"
    },
    "AddPricesRequest": {
      "type": "object"
    },
    "ManagementExtension": {
      "type": "object"
    },
    "PricePointHistoryRequest": {
      "type": "object"
    },
    "ServiceTemplateInfo": {
      "type": "object"
    },
    "PricingGroupType": {
      "type": "object"
    },
    "PricingGroupStatus": {
      "type": "object"
    },
    "PricingGroupInfo": {
      "type": "object"
    },
    "PricingGroupResponse": {
      "type": "object"
    },
    "PricingGroupRequest": {
      "type": "object"
    },
    "SystemPricingGroupsRequest": {
      "type": "object"
    },
    "PricingGroupContentStatus": {
      "type": "object"
    },
    "PricingGroupContentRequest": {
      "type": "object"
    },
    "SystemPricingGroupStatusResponse": {
      "type": "object"
    },
    "SystemPricingGroupStatusRequest": {
      "type": "object"
    },
    "ApplyRequest": {
      "type": "object"
    },
    "AccountStatus": {
      "type": "object"
    },
    "PriceBookRequest": {
      "type": "object"
    },
    "ContentRequest": {
      "type": "object"
    },
    "AssignmentsRequest": {
      "type": "object"
    },
    "PricingSegmentType": {
      "type": "object"
    },
    "PriceBookSegmentRequest": {
      "type": "object"
    },
    "PricingSegmentInfo": {
      "type": "object"
    },
    "PricingSegmentRequest": {
      "type": "object"
    },
    "PricingSegmentUpdateRequest": {
      "type": "object"
    },
    "PricingSegmentPriorityRequest": {
      "type": "object"
    },
    "ContentAccountType": {
      "type": "object"
    },
    "PricingSegmentContentRequest": {
      "type": "object"
    },
    "PricingSegmentContentDeleteRequest": {
      "type": "object"
    }
  }
}