Table of Contents

AMPC.ASSETS API Changes

Warning

Some API changes are not backward compatible

A more detailed breakdown for the individual changes can be viewed here

==========================================================================
==                            API CHANGE LOG                            ==
==========================================================================
                   On Key AMPC Assets API Specification                   
--------------------------------------------------------------------------
--                            What's Changed                            --
--------------------------------------------------------------------------
- GET    /Modules/AMPC/Assets/Tree/{parentNodeType}/{parentIds}/AssetTaskSpares/Recursive
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entitycollectionpage+json
          Schema: Broken compatibility
          Missing property: items[n].properties.commodityId (integer)
          Missing property: items[n].properties.commodityCode (string)
          Missing property: items[n].properties.commodityDescription (string)
- GET    /Modules/AMPC/AuxiliaryAssetTasks/{id}
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entity+json
          Schema: Backward compatible
- GET    /Modules/AMPC/AuxiliaryAssetTasks/Batch/{ids}
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entitycollection+json
          Schema: Backward compatible
- GET    /Modules/AMPC/AuxiliaryAssetTasks/Spares/{id}
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entity+json
          Schema: Broken compatibility
          Missing property: properties.commodityId (integer)
          Missing property: properties.commodityCode (string)
          Missing property: properties.commodityDescription (string)
- POST   /Modules/AMPC/AuxiliaryAssetTasks/Spares
  Request:
        - Changed application/vnd.onkey.entity+json
          Schema: Backward compatible
- GET    /Modules/AMPC/AuxiliaryAssetTasks/Spares
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entitycollectionpage+json
          Schema: Broken compatibility
          Missing property: items[n].properties.commodityId (integer)
          Missing property: items[n].properties.commodityCode (string)
          Missing property: items[n].properties.commodityDescription (string)
- GET    /Modules/AMPC/AuxiliaryAssetTasks/{id}/Spares
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entitycollectionpage+json
          Schema: Broken compatibility
          Missing property: items[n].properties.commodityId (integer)
          Missing property: items[n].properties.commodityCode (string)
          Missing property: items[n].properties.commodityDescription (string)
- GET    /Modules/AMPC/AuxiliaryAssetTasks/Spares/Lookups/LookupAuxiliaryAssetTaskSpareStockItemForMaterialMaster
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entitycollectionpage+json
          Schema: Broken compatibility
          Missing property: items[n].properties.commodityId (integer)
          Missing property: items[n].properties.commodityCode (string)
          Missing property: items[n].properties.commodityDescription (string)
- GET    /Modules/AMPC/AuxiliaryAssetTasks/Spares/Lookups/LookupAuxiliaryAssetTaskSpareStockItem
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entitycollectionpage+json
          Schema: Broken compatibility
          Missing property: items[n].properties.commodityId (integer)
          Missing property: items[n].properties.commodityCode (string)
          Missing property: items[n].properties.commodityDescription (string)
- GET    /Modules/AMPC/AuxiliaryAssetTasks/Spares/Batch/{ids}
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entitycollection+json
          Schema: Broken compatibility
          Missing property: items[n].properties.commodityId (integer)
          Missing property: items[n].properties.commodityCode (string)
          Missing property: items[n].properties.commodityDescription (string)
- POST   /Modules/AMPC/AuxiliaryAssetTasks/Spares/Batch
  Request:
        - Changed application/vnd.onkey.entitycollection+json
          Schema: Backward compatible
- POST   /Modules/AMPC/InPlaceAssets/Responsibilities
  Request:
        - Changed application/vnd.onkey.entity+json
          Schema: Backward compatible
- POST   /Modules/AMPC/InPlaceAssets/Responsibilities/Batch
  Request:
        - Changed application/vnd.onkey.entitycollection+json
          Schema: Backward compatible
- GET    /Modules/AMPC/InPlaceAssets/Spares/{id}
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entity+json
          Schema: Backward compatible
- GET    /Modules/AMPC/InPlaceAssets/Spares/Batch/{ids}
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entitycollection+json
          Schema: Backward compatible
- GET    /Modules/AMPC/PlaceholderAssetComponents/{id}
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entity+json
          Schema: Backward compatible
- GET    /Modules/AMPC/PlaceholderAssetComponents/Batch/{ids}
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entitycollection+json
          Schema: Backward compatible
- POST   /Modules/AMPC/PlaceholderAssets/Responsibilities
  Request:
        - Changed application/vnd.onkey.entity+json
          Schema: Backward compatible
- POST   /Modules/AMPC/PlaceholderAssets/Responsibilities/Batch
  Request:
        - Changed application/vnd.onkey.entitycollection+json
          Schema: Backward compatible
- GET    /Modules/AMPC/PlaceholderAssets/Spares/{id}
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entity+json
          Schema: Backward compatible
- GET    /Modules/AMPC/PlaceholderAssets/Spares/Batch/{ids}
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entitycollection+json
          Schema: Backward compatible
- GET    /Modules/AMPC/RegularAssetComponents/{id}
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entity+json
          Schema: Backward compatible
- GET    /Modules/AMPC/RegularAssetComponents/Batch/{ids}
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entitycollection+json
          Schema: Backward compatible
- POST   /Modules/AMPC/RegularAssets/Responsibilities
  Request:
        - Changed application/vnd.onkey.entity+json
          Schema: Backward compatible
- POST   /Modules/AMPC/RegularAssets/Responsibilities/Batch
  Request:
        - Changed application/vnd.onkey.entitycollection+json
          Schema: Backward compatible
- GET    /Modules/AMPC/RegularAssets/Spares/{id}
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entity+json
          Schema: Backward compatible
- GET    /Modules/AMPC/RegularAssets/Spares/Batch/{ids}
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entitycollection+json
          Schema: Backward compatible
- GET    /Modules/AMPC/RegularAssetTasks/{id}
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entity+json
          Schema: Backward compatible
- GET    /Modules/AMPC/RegularAssetTasks/Batch/{ids}
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entitycollection+json
          Schema: Backward compatible
- GET    /Modules/AMPC/RegularAssetTasks/Spares/{id}
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entity+json
          Schema: Broken compatibility
          Missing property: properties.commodityId (integer)
          Missing property: properties.commodityCode (string)
          Missing property: properties.commodityDescription (string)
          Missing property: properties.inheritedFromCommodityId (integer)
          Missing property: properties.inheritedFromCommodityCode (string)
          Missing property: properties.inheritedFromCommodityDescription (string)
- POST   /Modules/AMPC/RegularAssetTasks/Spares
  Request:
        - Changed application/vnd.onkey.entity+json
          Schema: Backward compatible
- GET    /Modules/AMPC/RegularAssetTasks/Spares
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entitycollectionpage+json
          Schema: Broken compatibility
          Missing property: items[n].properties.commodityId (integer)
          Missing property: items[n].properties.commodityCode (string)
          Missing property: items[n].properties.commodityDescription (string)
- GET    /Modules/AMPC/RegularAssetTasks/{regularAssetTaskId}/Spares
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entitycollectionpage+json
          Schema: Broken compatibility
          Missing property: items[n].properties.commodityId (integer)
          Missing property: items[n].properties.commodityCode (string)
          Missing property: items[n].properties.commodityDescription (string)
- GET    /Modules/AMPC/RegularAssetTasks/Spares/Lookups/LookupRegularAssetTaskSpareStockItemForMaterialMaster
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entitycollectionpage+json
          Schema: Broken compatibility
          Missing property: items[n].properties.commodityId (integer)
          Missing property: items[n].properties.commodityCode (string)
          Missing property: items[n].properties.commodityDescription (string)
- GET    /Modules/AMPC/RegularAssetTasks/Spares/Lookups/LookupRegularAssetTaskSpareStockItem
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entitycollectionpage+json
          Schema: Broken compatibility
          Missing property: items[n].properties.commodityId (integer)
          Missing property: items[n].properties.commodityCode (string)
          Missing property: items[n].properties.commodityDescription (string)
- GET    /Modules/AMPC/RegularAssetTasks/Spares/Batch/{ids}
  Return Type:
    - Changed 200 OK
      Media types:
        - Changed application/vnd.onkey.entitycollection+json
          Schema: Broken compatibility
          Missing property: items[n].properties.commodityId (integer)
          Missing property: items[n].properties.commodityCode (string)
          Missing property: items[n].properties.commodityDescription (string)
          Missing property: items[n].properties.inheritedFromCommodityId (integer)
          Missing property: items[n].properties.inheritedFromCommodityCode (string)
          Missing property: items[n].properties.inheritedFromCommodityDescription (string)
- POST   /Modules/AMPC/RegularAssetTasks/Spares/Batch
  Request:
        - Changed application/vnd.onkey.entitycollection+json
          Schema: Backward compatible
--------------------------------------------------------------------------
--                                Result                                --
--------------------------------------------------------------------------
                 API changes broke backward compatibility                 
--------------------------------------------------------------------------