Bundle Component Price
GET /bundle-component-price/master
GET /bundle-component-price/current
GET /bundle-component-price/list
POST /bundle-component-price/entity/<entity_id>
DELETE /bundle-component-price/entity/<entity_id>
POST /bundle-component-price/updateEntitiesWithDependencies
GET /bundle-component-price/document/<_id>
PATCH /bundle-component-price/document/<_id>
DELETE /bundle-component-price/document/<_id>
GET /bundle-component-price/mapping/entity/<entity_id>
POST /bundle-component-price/mapping/entity/<entity_id>
POST /bundle-component-price/mapping
Endpoints
GET /bundle-component-price/master
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier of the company to manage data for |
query |
| int32 | No | The maximum documents to return |
query |
| int32 | No | The documents to skip before returning |
query |
| string | No | A filter expression in OData v4 format |
query |
| string | No | An order by expression in OData v4 format |
query |
| boolean | No | Include the mappings for the document in the response |
query |
| [ csv of string ] | No | Specify |
query |
| boolean | No | Includes th edocuments that are inactive for the current sites |
Response Codes
Response | Description |
|---|---|
200 OK | Success |
400 Bad Request | Bad request, for more information look at body error |
403 Forbidden | Invalid token |
404 Not Found | Not found |
422 Unprocessable Entity | Unprocessable error |
Default | Unexpected error |
GET /bundle-component-price/current
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier of the company to manage data for |
header |
| [ csv of string ] | No | The unique identifiers (UIDs) of the site to manage data for |
query |
| string | No | A filter expression in OData v4 format |
query |
| int32 | No | The maximum documents to return |
query |
| int32 | No | The documents to skip before returning |
query |
| string | No | An order by expression in OData v4 format |
query |
| string | Yes | The date and time to query against |
query |
| [ string ] | No | An array of entity identifiers |
query |
| boolean | No | Hydrates-related nested objects when returning a result (For example, populate a menu with menu categories and menu groups) |
query |
| boolean | No | Include the mappings for a the document in the response |
query |
| [ csv of string ] | No | Specifies entity types for which mappings are presented as a part of the response (For example, |
query |
| [ csv of string ] | No | Specifies |
query |
| boolean | No | Adds audit fields to each document when returning a result ( |
query |
| boolean | No | Includes the documents that are inactive for the current sites |
Response: 200 OK
Success
Schema
Field Name | Type | Description |
|---|---|---|
| integer | |
| [ array, object ] | The Bundle Component Price request creates validation JSON-schema |
| (string, object) | |
| number | |
| [ string ] | |
| [ string, object ] | |
| string | The auto-assigned system document identifier |
| string | The identifier of the company that owns the document |
| string | The auto-assigned unique identifier (UID) of the entity, set on creation. All future versions of the entity share the same |
| boolean | |
| boolean | Marking property is the essence of active documents. Sets in |
| string | |
| string | The identifier of the OPRA user or site that created the document |
| string | The identifier of the OPRA user or site that last updated the document |
| string | The last date and time the document was updated |
| string | The last date and time the document was updated |
Response Codes
Response | Description |
|---|---|
200 OK | Success |
400 Bad Request | Bad request, for more information look at body error |
403 Forbidden | Invalid token |
404 Not Found | Not found |
422 Unprocessable Entity | Unprocessable error |
Default | Unexpected error |
GET /bundle-component-price/list
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier of the company to manage data for |
header |
| [ csv of string ] | No | The unique identifiers (UIDs) of the site to manage data for |
query |
| string | No | A filter expression in OData v4 format |
query |
| int32 | No | The maximum documents to return |
query |
| int32 | No | The documents to skip before returning |
query |
| string | No | An order by expression in OData v4 format |
query |
| string | Yes | The date and time to query against |
query |
| [ string ] | No | An array of entity identifiers |
query |
| boolean | No | Hydrates-related nested objects when returning a result (For example, populate a menu with menu categories and menu groups) |
query |
| [ csv of string ] | No | Specifies |
query |
| boolean | No | Adds audit fields to each document when returning a result ( |
query |
| boolean | No | Includes the documents that are inactive for the current sites |
query |
| [ csv of string ] | No | Specifies entity types for which mappings is presented as a part of the response (For example, |
Response: 200 OK
Success
Schema
Field Name | Type | Description |
|---|---|---|
| integer | |
| [ array ] | |
object | The Bundle Component Price request creates validation JSON-schema | |
| string, object | |
| number | |
| [ string ] | |
| [ string, object ] | |
| string | The auto-assigned system document identifier |
| string | The identifier of the company that owns the document |
| string | The auto-assigned UID of this entity, set on creation. All future versions of the entity share the same |
| boolean | |
| boolean | Marking property is the essence of active documents. Sets in |
| string | |
| string | The identifier of the OPRA user or site that created the document |
| string | The identifier of the OPRA user or site that last updated the document |
| string | The last date and time (date-time) the document was updated |
| string | The last date and time (date-time) the document was updated |
Response Codes
Response | Description |
|---|---|
200 OK | Success |
400 Bad Request | Bad request, for more information look at body error |
403 Forbidden | Invalid token |
404 Not Found | Not found |
422 Unprocessable Entity | Unprocessable error |
Default | Unexpected error |
POST /bundle-component-price
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier of the company to manage data for |
query |
| boolean | No | Hydrates-related nested objects when returning a result (For example, populate a menu with menu categories and menu groups) |
query |
| [ csv of string ] | No | Specifies |
body |
| Yes | The JSON formatted request |
Request Body
Bundle Component Price request creates validation JSON-schema
Field Name | Type | Description |
|---|---|---|
| string, object | |
| number | |
| [ string ] | |
| [ string, object ] | |
| The auto-assigned unique identifier (UID) of the entity, set on creation. All future versions of the entity share the same | |
| string |
Response: 200 OK
Schema
Bundle Component Price request creates validation JSON-schema
Field Name | Type | Description |
|---|---|---|
object | The Bundle Component Price request creates validation JSON-schema | |
| string, object | |
| number | |
| [ string ] | |
| [ string, object ] | |
| string | The auto-assigned system document identifier |
| string | The identifier of the company that owns the document |
| string | The auto-assigned UID of this entity, set on creation. All future versions of the entity shares the same |
| boolean | |
| boolean | Marking property is the essence of active documents. Sets in |
| string | |
| string | The identifier of the OPRA user or site that created the document |
| string | The identifier of the OPRA user or site that last updated the document |
| string | The last date and time (date-time) the document was updated |
| string | The last date and time (date-time) the document was updated |
Response Codes
Response | Description |
|---|---|
200 OK | Success |
400 Bad Request | Bad request, for more information look at body error |
403 Forbidden | Invalid token |
404 Not Found | Not found |
422 Unprocessable Entity | Unprocessable error |
Default | Unexpected error |
POST /bundle-component-price/entity/<entity_id>
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier of the company to manage data for |
path |
| string | Yes | The identifier of the entity |
body |
| Yes | The JSON formatted request |
Request Body
Field Name | Type | Description |
|---|---|---|
[ array, object ] | The Bundle Component Price request creates validation JSON-schema | |
| string, object | |
| number | |
| [ string ] | |
| [ string, object ] | |
| string | The auto-assigned unique identifier (UID) of the entity, set on creation. All future versions of the entity share the same |
| string |
Response: 200 OK
Schema
Field Name | Type | Description |
|---|---|---|
[ array, object ] | The Bundle Component Price request creates validation JSON-schema | |
| string, object | |
| number | |
| [ string ] | |
| [ string, object ] | |
| string | The auto-assigned system document identifier |
| string | The identifier of the company that owns the document |
| string | The auto-assigned UID of the entity, set on creation. All future versions of the entity share the same |
| boolean | |
| boolean | Marking property is the essence of active documents. Sets in |
| string | |
| string | The identifier of the OPRA user or site that created the document |
| string | The identifier of the OPRA user or site that last updated the document |
| string | The last date and time (date-time) the document was updated |
| string | The last date and time (date-time) the document was updated |
Response Codes
Response | Description |
|---|---|
200 OK | Success |
400 Bad Request | Bad request, for more information look at body error |
403 Forbidden | Invalid token |
404 Not Found | Not found |
422 Unprocessable Entity | Unprocessable error |
Default | Unexpected error |
DELETE /bundle-component-price/entity/<entity_id>
Request Parameters
In | Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier of the company to manage data for |
path |
| string | Yes | The identifier of the entity |
Response Codes
Response | Description |
|---|---|
200 OK | Success |
400 Bad Request | Bad request, for more information look at body error |
403 Forbidden | Invalid token |
404 Not Found | Not found |
422 Unprocessable Entity | Unprocessable error |
Default | Unexpected error |
POST /bundle-component-price/updateEntitiesWithDependencies
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier of the company to manage data for |
header |
| [ csv of string ] | No | The unique identifiers (UIDS) of the site to manage data for |
body |
| Yes | Supports the mappings field (array/boolean) for each document. With mappings: True mappings are created for the current date and sites from the |
Request Body
Field Name | Type | Description |
|---|---|---|
[ array, object ] | The Bundle Component Price request creates validation JSON-schema | |
| string, object | |
| number | |
| [ string ] | |
| [ string, object ] | |
| string | The auto-assigned UID of the entity, set on creation. All future versions of the entity share the same |
| string |
Response: 200 OK
Schema
Field Name | Type | Description |
|---|---|---|
object | The Bundle Component Price request creates validation JSON-schema | |
| integer | |
| [ array, object ] | The Bundle Component Price request creates validation JSON-schema |
| string, object | |
| number | |
| [ string ] | |
| [ string, object ] | |
| string | The auto-assigned system document identifier |
| string | The identifier of the company that owns the document |
| string | The auto-assigned UID of the entity, set on creation. All future versions of the entity share the same |
| boolean | |
| boolean | Marking property is the essence of active documents. Sets in |
| string | |
| string | The identifier of the OPRA user or site that created the document |
| string | The identifier of the OPRA user or site that last updated the document |
| string | The last date and time (date-time) the document was updated |
| string | The last date and time (date-time) the document was updated |
Response Codes
Response | Description |
|---|---|
200 OK | Success |
400 Bad Request | Bad request, for more information look at body error |
403 Forbidden | Invalid token |
404 Not Found | Not found |
422 Unprocessable Entity | Unprocessable error |
Default | Unexpected error |
GET /bundle-component-price/document/<_id>
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier of the company to manage data for |
path |
| string | Yes | The identifier of the document |
query |
| boolean | No | Hydrates-related nested objects when returning a result (For example, populate a menu with menu categories and menu groups) |
query |
| [ csv of string ] | No | Specifies |
query |
| [ csv of string ] | No | Specifies entity types for which mappings are presented as a part of the response (For example, |
Response: 200 OK
Success
Schema
Field Name | Type | Description |
|---|---|---|
object | The Bundle Component Price request creates validation JSON-schema | |
| string, object | |
| number | |
| [ string ] | |
| [ string, object ] | |
| string | The auto-assigned system document identifier |
| string | The identifier of the company that owns the document |
| string | The auto-assigned unique identifier (UID) of the entity, set on creation. All future versions of the entity share the same |
| boolean | |
| boolean | Marking property is the essence of active documents. Sets in |
| string | |
| string | The identifier of the OPRA user or site that created the document |
| string | The identifier of the OPRA user or site that last updated the document |
| string | The last date and time (date-time) the document was updated |
| string | The last date and time (date-time) the document was updated |
Response Codes
Response | Description |
|---|---|
200 OK | Success |
400 Bad Request | Bad request, for more information look at body error |
403 Forbidden | Invalid token |
404 Not Found | Not found |
422 Unprocessable Entity | Unprocessable error |
Default | Unexpected error |
PATCH /bundle-component-price/document/<_id>
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier of the company to manage data for |
path |
| string | Yes | The identifier of the document |
query |
| boolean | No | Hydrates-related nested objects when returning a result (For example, populate a menu with menu categories and menu groups) |
query |
| [ csv of string ] | No | Specifies |
body |
| Yes | The JSON of the category being patches |
Request Body
Field Name | Type | Description |
|---|---|---|
object | The Bundle Component Price request creates validation JSON-schema | |
| string | The entity identifier of the bundle component |
| number | |
| [ string ] | |
| [ string, object ] | |
| string |
Response: 200 OK
Success
Schema
Field Name | Type | Description |
|---|---|---|
object | The Bundle Component Price request creates validation JSON-schema | |
| string | The entity identifier of the bundle component |
| number | |
| [ string ] | |
| [ string, object ] | |
| string |
Response Codes
Response | Description |
|---|---|
200 OK | Success |
400 Bad Request | Bad request, for more information look at body error |
403 Forbidden | Invalid token |
404 Not Found | Not found |
422 Unprocessable Entity | Unprocessable error |
Default | Unexpected error |
DELETE /bundle-component-price/document/<_id>
Request Parameters
In | Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier of the company to manage data for |
path |
| string | Yes | The identifier of the document |
Response Codes
Response | Description |
|---|---|
200 OK | Success |
400 Bad Request | Bad request, for more information look at body error |
403 Forbidden | Invalid token |
404 Not Found | Not found |
422 Unprocessable Entity | Unprocessable error |
Default | Unexpected error |
GET /bundle-component-price/mapping/entity/<entity_id>
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier of the company to manage data for |
header |
| [ csv of string ] | No | The unique identifier (UIDs) of the site to manage data for |
path |
| string | Yes | The identifier of the entity |
query |
| int32 | No | The maximum documents to return |
query |
| int32 | No | The documents to skip before returning |
query |
| string | No | A filter expression in OData v4 format |
query |
| string | No | An order by expression in OData v4 format |
query |
| boolean | No | Includes the documents that are inactive for the current sites |
Response: 200 OK
Success
Schema
Field Name | Type | Description |
|---|---|---|
| integer | |
| [ array ] | |
| string | The auto-assigned system document identifier |
| string | The identifier of the company that owns the document |
| string | The identifier of the site associated with the document |
| string | The auto-assigned UID of the entity, set on creation. All future versions of the entity share the same |
| string | The identifier of the document in the collection the mapping refers to |
| string | The identifier of the OPRA user or site that created the document |
| string | The identifier of the OPRA user or site that last updated the document |
| string | The last date and time (date-time) the document was updated |
| string | The last date and time (date-time) the document was updated |
Response Codes
Response | Description |
|---|---|
200 OK | Success |
400 Bad Request | Bad request, for more information look at body error |
403 Forbidden | Invalid token |
404 Not Found | Not found |
422 Unprocessable Entity | Unprocessable error |
Default | Unexpected error |
POST /bundle-component-price/mapping/entity/<entity_id>
Request Parameters
In | Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier of the company to manage data for |
header |
| [ csv of string ] | No | The unique identifiers (UIDs) of the site to manage data for |
path |
| string | Yes | The identifier of the entity |
body |
| Yes | The array of the bundle component price mapping being added |
Request Body
[ array ] (unspecified type)
Response: 200 OK
Schema
Field Name | Type | Description |
|---|---|---|
| integer | |
| [ array, object ] | |
| string | The auto-assigned system document identifier |
| string | The identifier of the company that owns the document |
| string | The identifier of the site associated with the document |
| string | The auto-assigned UID of the entity, set on creation. All future versions of the entity share the same |
| string | The identifier of the document in the collection the mapping refers to |
| string | The identifier of the OPRA user or site that created the document |
| string | The identifier of the OPRA user or site that last updated the document |
| string | The last date and time (date-time) the document was updated |
| string | The last date and time (date-time) the document was updated |
Response Codes
Response | Description |
|---|---|
200 OK | Success |
400 Bad Request | Bad request, for more information look at body error |
403 Forbidden | Invalid token |
404 Not Found | Not found |
422 Unprocessable Entity | Unprocessable error |
Default | Unexpected error |
POST /bundle-component-price/mapping
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier of the company to manage data for |
body |
| Yes | The JSON of the bundle component price mapping being added |
Request Body
Field Name | Type | Description |
|---|---|---|
| string | The identifier of the document in the collection the mapping refers to |
| string | The auto-assigned unique identifier (UID) of the entity, set on creation. All future versions of the entity share the same |
| string | The date and time the document becomes "current" |
| [ string ] | An array of the site identifiers. The identifier of the site associated with the document. |
Response: 200 OK
Schema
Field Name | Type | Description |
|---|---|---|
| integer | |
| [ array, object ] | |
| string | The auto-assigned system document identifier |
| string | The identifier of the company that owns the document |
| string | The identifier of the site associated with the document |
| string | The auto-assigned UID of this entity, set on creation. All future versions of the entity share the same |
| string | The identifier of the document in the collection the mapping refers to |
| string | The identifier of the OPRA user or site that created the document |
| string | The identifier of the OPRA user or site that last updated the document |
| string | The last date and time (date-time) the document was updated |
| string | The last date and time (date-time) the document was updated |
Response Codes
Response | Description |
|---|---|
200 OK | Success |
400 Bad Request | Bad request, for more information look at body error |
403 Forbidden | Invalid token |
404 Not Found | Not found |
422 Unprocessable Entity | Unprocessable error |
Default | Unexpected error |