Question

9
Replies
7783
Views
Close popover
Susmitha Nettu (SushmithaNettu)
DLL
Consultant-CRM
DLL
IN
SushmithaNettu Member since 2013 2 posts
DLL
Posted: December 13, 2016
Last activity: June 6, 2018
Closed

How to configure the below given multipart JSON request for Connect-REST service in PRPC V7.1.7

Sample REQUEST:

POST servicing/v1/custcorres/constituents/received/uploads HTTP/1.1
Content-Type: multipart/form-data; boundary=---------------------------1111111111111111111111111266
Content-Length: 534
----------------------------1111111111111111111111111266
Content-Disposition: form-data; name="file_metadata"
{
"name": "12323",
"document": "ONLINE",
"urn": "URN:AOBN:967456",
"length": "1231",
"timestamp": "2016-09-30T14:30Z",
"scan_ts": "2016-09-30T14:30Z",
"user": "gfga",
"source": "DMhh",
"index_attributes": [{
"keyName": "SnSN",
"value": "12347",
"type": "INT"
}, {
"keyName": "A_O",
"value": "3121",
"type": "STRING"
}]
}
-----------------------------1111111111111111111111111266
Content-Disposition: form-data; name="file_data"; filename="a.html"
Content-Type: text/html
<!DOCTYPE html><title>Content of a.html.</title>
-----------------------------1111111111111111111111111266--

***Updated by moderator: Lochan to add Categories***

***Updated by Moderator: Marissa to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Data Integration
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.