BPP provides the list of entities that can be rated in its system to the BAP
Body
Contains any additional or extended inputs required to confirm an order. This is typically a Form Input. Sometimes, selection of catalog elements is not enough for the Provider Platform to confirm an order. For example, to confirm a flight ticket, the airline requires details of the passengers along with information on baggage, identity, in addition to the class of ticket. Similarly, a logistics company may require details on the nature of shipment in order to confirm the shipping. A recruiting firm may require additional details on the applicant in order to confirm a job application. For all such purposes, the can choose to send this object attached to any object in the catalog that is required to be sent while placing the order. This object can typically be sent at an item level or at the order level. The item level XInput will override the Order level XInput as it indicates a special requirement of information for that particular item. Hence the Consumer Interface must render a separate form for the Item and another form at the Order level before confirmation.
idstringOptional
requiredbooleanOptional
Indicates whether the form data is mandatorily required by the Provider Platform to confirm the order.
Responses
default
Form object
application/json
post
/forms
default
Form object
get
create a form
Path parameters
formIdstringRequired
ID of the form
Responses
default
Successful closure of a chat session
application/json
get
/forms/{formId}
default
Successful closure of a chat session
put
Update fulfillment state for an order
Path parameters
formIdstringRequired
Unique reference ID to the fulfillment of an order
Body
Describes the state of fulfillment
updated_atstring · date-timeOptional
updated_bystringOptional
ID of entity which changed the state
Responses
default
Successful closure of a chat session
application/json
put
/forms/{formId}
default
Successful closure of a chat session
delete
Cancel the fulfillment for an order
Path parameters
formIdstringRequired
Human-readable ID of the order. This is generated at the Provider Platform layer. The Provider Platform can either generate order id within its system or forward the order ID created at the provider level.
Responses
default
Successful closure of a chat session
application/json
delete
/forms/{formId}
default
Successful closure of a chat session
post
BPP provides the list of entities that can be rated in its system to the BAP
Body
Describes the rating of an entity
rating_categorystring · enumOptional
Category of the entity being rated
Possible values:
idstringOptional
Id of the object being rated
valuestringOptional
Rating value given to the object. This can be a single value or can also contain an inequality operator like gt, gte, lt, lte. This can also contain an inequality expression containing logical operators like && and ||.