curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/writeback/sap/requests \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"endpointId": "<string>",
"request": [
{
"payload": {},
"key": "<string>",
"fileId": "<string>"
}
]
}
]
}
'{
"items": [
{
"requestId": "<string>",
"request": [
{
"payload": {}
}
],
"status": "pending",
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000
}
]
}Required capabilities:
SapWritebackRequestsAcl:WRITE
Create a writeback request
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/writeback/sap/requests \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"endpointId": "<string>",
"request": [
{
"payload": {},
"key": "<string>",
"fileId": "<string>"
}
]
}
]
}
'{
"items": [
{
"requestId": "<string>",
"request": [
{
"payload": {}
}
],
"status": "pending",
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000
}
]
}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
Request to create.
1 elementShow child attributes
List of created writeback requests
1 elementShow child attributes
Was this page helpful?