Request Example

The following cURL Example illustrates the API usage:

API Usage

curl -X POST -H "Authorization: Basic U0FOREJPWFx0ZXN0MDE6TmV4dERvY3MxZjM6MTIz" -H "Cache-Control: no-cache" -H "Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW" -F "jsonMetadata={ "Properties": { "ProtocolNumber": "501", "InvestigationalProduct": "XXXX", "Title": "Testing", "TranslationRequired": "0", "DomainName": "01 Trial File", "TherapeuticArea": "XXXX", "GroupName": "01.01 Trial Management - Oversight", "Indication": "XXXX", "TrialType": "XXXX", "ProtocolBriefTitle": "protocol Number2", "TrialPhase": "XXXX", "ArtifactName": "Trial Management Plan", "DocumentLanguage": "English", "DocumentDate": "2015.05.01" } }" -F "fileUpload=Document Content.docx" 'http://<SERVER>:<PORT>/ndapi/v1/integration/Items/items/upload'