Notify completion of invoke endpoint
This endpoint is expected to be invoked by an application on a product during invocation. The purpose of this endpoint is to notify a product that invocation is complete. This topic explains the details of the request. See Service Invocation for more information about the entire process.
Service URL
<URL-provided-by-product-within-invoke>
                                                    
Request Methods
- POST
 - PUT
 - PATCH
 
Request Header
Authorization: Bearer <JWT>
Content-Type=application/json
Bearer Token
JWT Claims
In this scenario, an app is making a request to a product. The key and value pairs bear the following meanings:
| Key | Value Definition | Context | 
|---|---|---|
iss
                                                                 | 
                                                                The issuer of the token. | The app UUID. | 
sub
                                                                 | 
                                                                The subject of the token. | The app install UUID. | 
aud
                                                                 | 
                                                                The audience of the token. | The instance UUID. | 
exp
                                                                 | 
                                                                The date and time the token will expire, expressed as a Unix timestamp. Must be after the current date/time. | Set to 60 seconds after the JWT was created. | 
iat
                                                                 | 
                                                                The date and time the JWT was issued, expressed as a Unix timestamp. | Set to the current time. | 
o.a.p.ctenantId
                                                                 | 
                                                                The id of the tenant. | The id of the tenant. | 
Signature
Signed with the app install secret.
Sample JWT Payload
{
  "iss": "03a22eb2-537b-471c-bf2b-2055e2f71618",
  "sub": "f866f138-0e2d-fd88-aa61-e8d21c7dbfee",
  "aud": "6ea036bb-8cfb-46c5-a826-d001d3a0349b",
  "exp": 1507072485,
  "iat": 1506964485,
  "o.a.p.ctenantId": "6607"
}
                                                    Sample Request Body
{
 "status": "COMPLETED"
}
                                                    Sample Response in case of success
200 OK