Related Documents
Document Properties
Kbid27764B
Last Modified23-Jun-2020
Added to KB20-Jul-2016
Public AccessEveryone
StatusOnline
Doc TypeReferences
Product
  • ICM 7.7
  • ICM 7.8

REST API - Get order cost objects (until 7.8)

URI

/orders/<order-id>/costobjects

Http Method

GET

Short Description

Returns the cost objects that are assigned to the order

Query Parameters

none

Example Requests

/orders/HJcKDAB_JPoAAAFTu7oFiH5i/costobjects

HTTP Status Codes

200 OK

401 Unauthorized

403 Forbidden

Description

Returns the cost objects that are assigned to the order

Cartridge

app_sf_rest_b2b
ApplicationSMB Responsive Shop

Product Version

7.7

Product To Version

7.8
Status

final

JSON

Request data format

application/json

Request related java object

com.intershop.application.storefront.rest.b2b.capi.order.costobject.resource.OrderCostObjectListResource

Request data example

n/a

Response data format

application/json

Response related java object

com.intershop.component.rest.capi.resourceobject.LinkRO

com.intershop.component.rest.capi.resourceobject.ResourceCollectionRO<LinkRO>

com.intershop.application.storefront.rest.b2b.capi.order.costobject.resource.OrderCostObjectListResource

Response data example

200 OK
{
   "elements":
   [
       {
           "type": "Link",
           "uri": "inSPIRED-inTRONICS_Business-Site/-/orders/HJcKDAB_JPoAAAFTu7oFiH5i/costobjects/49AKDAB_4JYAAAFUARyVxJ9I",
           "title": "Project214"
       },
       {
           "type": "Link",
           "uri": "inSPIRED-inTRONICS_Business-Site/-/orders/HJcKDAB_JPoAAAFTu7oFiH5i/costobjects/DxkKDAB_.wkAAAFUBByVxJ9I",
           "title": "4324"
       }
   ],
   "type": "ResourceCollection"
}

XML

Request data format

text/xml

Request related java object

com.intershop.application.storefront.rest.b2b.capi.order.costobject.resource.OrderCostObjectListResource

Request data example

n/a

Response data format

text/xml

Response related java object

com.intershop.component.rest.capi.resourceobject.LinkRO

com.intershop.component.rest.capi.resourceobject.ResourceCollectionRO<LinkRO>

com.intershop.application.storefront.rest.b2b.capi.order.costobject.resource.OrderCostObjectListResource

Response data example

200 OK
<ResourceCollection name="costobjecttypes" type="ResourceCollection">
  <elements>
    <Link type="Link">
      <title>Project214</title>
      <uri>inSPIRED-inTRONICS_Business-Site/-/orders/HJcKDAB_JPoAAAFTu7oFiH5i/costobjects/49AKDAB_4JYAAAFUARyVxJ9I</uri>
    </Link>
    <Link type="Link">
      <title>4324</title>
      <uri>inSPIRED-inTRONICS_Business-Site/-/orders/HJcKDAB_JPoAAAFTu7oFiH5i/costobjects/DxkKDAB_.wkAAAFUBByVxJ9I</uri>
    </Link>
  </elements>
</ResourceCollection>

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Support Tickets