- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
4 weeks ago - last edited 4 weeks ago
Hi,
can somebody please help with settings of HTTP Request Multipart? Have this request in Postman:
POST /api/v1/import/archive/contract HTTP/1.1
Host: teliacompany-test.arkinet.se
Authorization: Bearer TOKEN
Content-Length: 885
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="metadata"
Content-Type: application/json;charset=utf-8
{
"signDateTime": "2025-03-29T21:09:35.007Z",
"transferDate": "2025-03-29",
"countryCode": "SE",
"customerId": "custID",
"propertyName": "HÄFTAPPARATEN 2",
"system": "oppenfiberse",
"documentType": "fiber_agreement",
"note": "",
"objects": [
{
"product": "broadband_fiber"
}
],
"customerDetails": {
"customerType": "consumer",
"name": "testname"
},
"leavingDetails": {
"customerType": "consumer"
},
"files": [
{
"filename": "2025-03-20.pdf"
}
]
}
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="2025-03-20.pdf"; filename="/C:/Users/username/Downloads/2025-03-20.pdf"
Content-Type: application/pdf
(data)
------WebKitFormBoundary7MA4YWxkTrZu0gW--
in BP I have set this:
But still getting error message ERROR: Internal : Could not execute code stage because exception thrown by code stage: One or more errors occurred.
Can you help me with the setting of the multipart action?
Thanks a lot.
Answered! Go to Answer.
- Labels:
-
HTTP Request Multipart
Helpful Answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
4 weeks ago
I codded my own code stage which fit to my HTTP request, so no need another solution anymore.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
4 weeks ago
I codded my own code stage which fit to my HTTP request, so no need another solution anymore.
