Hallo Stefan,
danke für deine schnelle Rückmeldung. Ich habe das in Postman und in Synesty genau so eingestellt. In Postman klappt es (danke für den Tipp mit Postman), in Synesty klappt es nicht.
Fehlermeldung ist 'Step: Connect to iZettle [APICall, step position 1] HTTP Status: 415
(Unsupported Media Type), Inhalt Antwort: {"code":415,"message":"HTTP
415 Unsupported Media Type"}'
Hier die Kopie des ApiCalls. Host ist https://oauth.izettle.com/ - was mache ich falsch?
Danke nochmals, Gruß, Patrick.
{
"executorflowuniqename" : "",
"description" : "",
"condition" : "",
"rank" : 10,
"active" : true,
"permaId" : 1,
"stepprovider" : "APICall@com.asolida.delivor.plugin.steps.httpurldownloadimpl",
"stepproviderversion" : "1.0",
"stepProperty" : [ {
"datatype" : "ACCOUNT",
"contextkey" : null,
"value" : "API Import iZettle POS",
"key" : "account",
"type" : "IN"
}, {
"datatype" : "STRING",
"contextkey" : null,
"value" : "application/x-www-form-urlencoded",
"key" : "bodyContentType",
"type" : "IN"
}, {
"datatype" : "STRING",
"contextkey" : null,
"value" : "10",
"key" : "callLimit",
"type" : "IN"
}, {
"datatype" : "STRING",
"contextkey" : null,
"value" : "",
"key" : "errorStatusCodes",
"type" : "IN"
}, {
"datatype" : "STRING",
"contextkey" : null,
"value" : "",
"key" : "fileParameterName",
"type" : "IN"
}, {
"datatype" : "FILE",
"contextkey" : null,
"value" : "",
"key" : "fileToUpload",
"type" : "IN"
}, {
"datatype" : "STRING",
"contextkey" : null,
"value" : "",
"key" : "headerContentType",
"type" : "IN"
}, {
"datatype" : "STRING",
"contextkey" : null,
"value" : "token?grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer&client_id=cf18c041-9...&assertion=eyJraWQiOiIw...",
"key" : "host",
"type" : "IN"
}, {
"datatype" : "STRING",
"contextkey" : null,
"value" : "POST",
"key" : "method",
"type" : "IN"
}, {
"datatype" : "STRING",
"contextkey" : null,
"value" : "",
"key" : "parsingTemplate",
"type" : "IN"
}, {
"datatype" : "STRING",
"contextkey" : null,
"value" : "",
"key" : "password",
"type" : "IN"
}, {
"datatype" : "STRING",
"contextkey" : null,
"value" : "",
"key" : "rateLimitPerSecond",
"type" : "IN"
}, {
"datatype" : "STRING",
"contextkey" : null,
"value" : "",
"key" : "requestBody",
"type" : "IN"
}, {
"datatype" : "STRING",
"contextkey" : null,
"value" : "",
"key" : "requestHeaders",
"type" : "IN"
}, {
"datatype" : "STRING",
"contextkey" : null,
"value" : "xml",
"key" : "responseFormat",
"type" : "IN"
}, {
"datatype" : "STRING",
"contextkey" : null,
"value" : "",
"key" : "sourcefileCharset",
"type" : "IN"
}, {
"datatype" : "STRING",
"contextkey" : null,
"value" : "false",
"key" : "sslCertificates",
"type" : "IN"
}, {
"datatype" : "STRING",
"contextkey" : null,
"value" : "60",
"key" : "timeoutInSeconds",
"type" : "IN"
}, {
"datatype" : "STRING",
"contextkey" : null,
"value" : "",
"key" : "username",
"type" : "IN"
} ],
"steptype" : "DEFAULT",
"uiColor" : null,
"name" : "Connect to iZettle"
}