Push Data to Request

patch

/api/v1/bots/{botId}/dynamicEntities/{entityId}/pushRequests/{pushRequestId}/values

Provides an open push request with the entity values to add, delete, and modify.

You can use this operation to push data to an open (INPROGRESS) push request until you finalize or abort it.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
The data to add, delete, and modify.
Root Schema : schema
Type: object
The data to add, delete, and modify.
Show Source
  • add
    The entity values to add.
  • delete
    The entity values to delete. The service ignores this object if the copy query parameter for the push request was omitted or set to FALSE.
  • modify
    The entity values to modify. The service ignores this object if the copy query parameter for the push request was omitted or set to FALSE.
Nested Schema : add
Type: array
The entity values to add.
Show Source
Nested Schema : delete
Type: array
The entity values to delete. The service ignores this object if the copy query parameter for the push request was omitted or set to FALSE.
Show Source
Nested Schema : modify
Type: array
The entity values to modify. The service ignores this object if the copy query parameter for the push request was omitted or set to FALSE.
Show Source
Nested Schema : DynamicEntityPushTempEntityValue
Type: object
The entity value and its synonyms.
Show Source
  • The entity value.
  • Read Only: true
    The date and time, in ISO 8601 format, that the resource was created (for example, 2018-10-17T06:50:34.045Z).
  • Read Only: true
    The resource's unique ID.
  • links
  • The native language tag to use for the entity value. The tag must identify one of the languages that the skill supports. This property is required for native multi-language skills, even for entries for the primary language. This property is not valid for skills that aren't native multi-language.
  • The entity value (canonicalName) for the primary language. This property is required for secondary-language entity values for native multi-language skills. If you include it for a primary-language entity value, then it must be equal to the canonicalName value. The property must not be included for skills that aren't native multi-language.
  • synonyms
    Synonyms for the entity value.
  • Read Only: true
    The date and time, in ISO 8601 format, that the resource was last modified (for example, 2018-10-17T06:50:34.045Z).
Nested Schema : synonyms
Type: array
Synonyms for the entity value.
Show Source
Back to Top

Response

Supported Media Types

200 Response

The data was pushed to the request.

404 Response

The request can't be performed because the skill, entity, or push request doesn't exist.
Body ()
Root Schema : RestError
Type: object
Show Source
Nested Schema : o:errorDetails
Type: array
Show Source
Nested Schema : Location
Type: object
Show Source
Nested Schema : Context
Type: object
Show Source

412 Response

Can't push the data to the request because the request is not INPROGRESS.
Body ()
Root Schema : RestError
Type: object
Show Source
Nested Schema : o:errorDetails
Type: array
Show Source
Nested Schema : Location
Type: object
Show Source
Nested Schema : Context
Type: object
Show Source
Back to Top