REST API v5 assignment of roles of creation?

I use the 'Try It' feature for creating an agreements on the documentation of the REST API (REST API - documents electronic signature software - Adobe Document Cloud)

But I get the error message: {"message': 'valid recipient role is missing.' " "} , " code ": { 'MISSING_REQUIRED_PARAM' }

and I do not understand what the role of beneficiary is supposed to be like.

The model defines as:

{RecipientRole}

SIGNATORY (enum): signatory.

DELEGATE_TO_SIGNER (enum): delegate to the signatory,

DELEGATE_TO_APPROVER (enum): delegate to the approver.

APPROVER (enum):approver

}

and these defaults model schema:

'recipientSetRole': {}

'SIGNATORY': 'enum ',.

'DELEGATE_TO_SIGNER': 'enum ',.

'DELEGATE_TO_APPROVER': 'enum ',.

'APPROVER': 'enum '.

}

What are the values that awaits the recipient role? I can't understand by trial and error...

Hello Iris,.

Can you let me know the name of the API you call tried in REST API? In addition, by default, the value should be defined as:

"recipientSetRole": "SIGNATORY",.

If you want to just use a single value. I would still check and confirm and would need the name of the function used.

Kind regards

-Usman

Tags: Adobe Sign

Similar Questions

  • Get the emails in descending order of creation date. [REST API]

    Hello I am trying to GET emaiils of the REST API in order descending creation date. So far, my URL params look like:

    emails/assets /? Search = * BN * & page = 1 & number = 50 & depth minimum = & orderBy = converted

    This seems to put in ascending order. I wonder if I can specify the order? I noticed for the contacts there is a sorting = {sortOn} & dir = desc, so is it possible

    to do with e-mails? I tried to join the above URL & dir = desc but not luck and assuming that he only is not supported from this page http://topliners.eloqua.com/docs/DOC-3083.

    Yes I can reverse my logic in the program from the end of emails received, but I wonder if I can simply specify order emails using the REST API?

    Please let me know and thank you.

    Hi John,.

    To sort by a column name, such as the 'name' field, you can simply add the following query string parameters: & orderBy = name % 20desc

    The sort directions are: asc | / / DESC

    We will share a post soon to describe how to do this. The API should support the "dir" query string argument, but it doesn't seem to work. We will look into it as well.

    Hope this helps,

    Fred

  • Assignment of roles Admin in OIM11gR2 using the API

    Hi guys,.

    We have a requirement to assign administrator privileges to users (depending on their level of employment) in GR 11, 2 IOM to provide admin access on the Organization (in terms of create users, application roles, update users to view users, etc). We plan to leverage Admin roles available to the title of the Organization in GR 11, 2 IOM for this. But we found no API to assign these administrator roles to users using code custom. Kindly help.

    Try the code below

    AdminRoleService EI = oimClient.getService (AdminRoleService.class)
    Client caches = ars.getAdminRole (("OrclOIMEntitlementAdministrator");
    Arm AdminRoleMembership = new AdminRoleMembership();
    arm.setAdminRole (pine);
    arm.setUserId("5") - this is my user USR_KEY
    arm.setScopeId("4") - key organization under which users need to assign the role of the Admin
    arm.setHierarchialScope (false);
    ars.addAdminRoleMembership (arm);

    Let me know the result

  • Assign a role to a user already created

    Hi experts,

    I created a rule, a role, a strategy of access and every time I have to create a new user of the access policy is properly triggered and appropriate resources are properly assigned.
    If I manually assign a role to a user, IOM provisions automatically objects associated with the role.
    The problem is that all users created before the creation of the role, do not belong to the role: what should I do to give the role to all users?

    Thank you

    1 create an access policy and audit indicator change see details below

    #If renovation flag is set for the policy

    These assessments do not immediately occur after the action. Instead, they occur during the next run to evaluate the schedule task user policies. Evaluations can occur in the following scenarios:

    * Definition of strategy is updated so that the indicator adaptation is defined on IT. Policies are evaluated for all users there.
    * A role is added or removed from the definition of the policy. Policies are evaluated only for roles that is added or removed.
    * A resource is added, deleted, or the flag value revoke if no. Longer applies is changed for the resource. Policies are evaluated for all users there.
    * When the policy data are updated or deleted. This includes data form of the mother and the child. Policies are evaluated for all users there.

    2. a way to do this is to write a scheduled task and using the API assign the role of the user
    Check below link
    http://docs.Oracle.com/CD/E14571_01/doc.1111/e14309/spmlapi.htm
    Article 29.3

  • Using the REST API to delete the contact from the contacts list

    Hello world

    I am looking for some info for the creation of a request to delete a contact from a list of Contact using the REST API.   Here's what I have in Java where the contact id is 1 'and my list is 72'.     I'm open to responses in Java, c# or other languages.

    serverAddress = new URL ("https://secure.p03.eloqua.com/API/REST/1.0/assets/contact/list/72");

    establish communication stuff

    connection = null;

    Set up the initial connection

    connection = (HttpURLConnection) serverAddress.openConnection ();

    connection.setRequestMethod ("PUT");

    connection.setRequestProperty ("content-type", "json; charset=utf-8 ");"

    connection.setRequestProperty ("authorization", 'Basic BLOCKED');

    String body = '{\"membershipDeletions\":[\"1\']}";

    connection.setDoOutput (true);

    connection.getOutputStream () .write (body.getBytes ("UTF8"));

    connection.setReadTimeout (10000);

    Connection.Connect ();

    When I test with it I get a '400' HTTP response

    Thank you!

    Hi Noel,

    The following document describes the operations available for lists of contacts in the Rest API. Please note that we also have a project open source c# example illustrates the use of these endpoints.

    Repositories are all available to the public on Github. Hope this helps and please let me know if you need more information.

    Thank you

    Fred

  • Sorting of emails [REST API] [PHP]

    Hello, I am trying to sort emails by using URL parameters. I am trying to sort the messages by date of creation, or in any case that would have the most recently created e-mail first and in descending order.

    So far, I have https://secure.eloqua.com/API/REST/1.0/assets/emails?search= * SNL * & page = 1 & number = 50 & depth minimum = & spell = converted & dir = desc

    The & sort = converted & dir = desc settings seem to do absolutely nothing.

    I think that converted is a timestamp because updatedAt resembling a timestamp as well, but this is perhaps the place where it was created. Maybe even sorting by ID would be a good thing because

    I think that id autoincrements. So more the ID, the most recent of the email, but this assumption may fail in some cases. I tried & sort = id & dir = desc and which does not change the order as well.

    So what are the properties can I sort through emails? Any ideas on how to sort to have emails more recently created first and in descending order?

    I also use an instance of E9.

    Hi John,.

    You can use the following query parameters when you search Emails using the REST API:

    • GET/assets/emails? depth = {depth} & count = {number} & page = {page} & search = {search} & orderBy = {orderBy} & lastUpdatedAt = {lastUpdatedAt}

    The document following (to access emails using the REST API) described the available properties on the object of the contract. To retrieve the most recent, you can order in "updatedAt.

    I hope this helps.

    Thank you

    Fred

  • REST API - POST: / data/Objetpersonnalise / {id}

    Is there a specific documentation describes to the REST API - data object customPOST call?


    I tried a few different ways to call it without success, some of which are described below.


    This is the custom, object that I work with:

    Table

    (

    [type] = > Objetpersonnalise

    [id] = > 19

    [depth] = > full

    [description] = > custom Description of object

    [name] = > custom Elomentary Test object

    [fields] = > Array

    (

    [0] = > array

    (

    [type] = > CustomObjectField

    [id] = > 131

    [depth] = > full

    [name] = > testing a ground

    [type] = > text

    [displayType] = > text

    [internalName] = > Test_field_one1

    )

    [1] = > array

    (

    [type] = > CustomObjectField

    [id] = > 132

    [depth] = > full

    [name] = > two field Test

    [type] = > text

    [displayType] = > text

    [internalName] = > Test_field_two1

    )

    )

    )

    I tried a few different methods to make this request, but I'll try to refrain from posting a wall of the code, and I'll put everything that I think is most close to being correct based on some examples to

    Looking at the test customObjectData-helper to, eloqua-samples/customObjectData-helper/CustomObjectDataTests to fredsakr/eloqua-samples of master · GitHub

    Request URL: https://secure.p03.eloqua.com/api/rest/2.0/data/customObject/19

    The raw request:

    POST /api/rest/2.0/data/customObject/19 HTTP/1.1

    Host: secure.p03.eloqua.com

    User-Agent: Elomentary (http://github.com/tableau-mkt/elomentary)

    Content-Type: application/json

    Content-Length: 90

    {"fieldValues can only be": [{'id': 131, 'value': 'testing123'}, {'id': 132, "value": "alkfjsaldkjfasldjka"}]}

    And the response headers:

    HTTP/1.1 404 not found

    Cache-Control: private

    Content-Length: 1565

    Content-Type: text/html; Charset = UTF-8

    P3P: CP = "" IDC DSP COR DEVa TAIa OUR PHY ONL UNI COM NAV CNT STA BUS ","

    Date: Tuesday, July 29, 2014 14:32:22 GMT

    cannot get property

    The body of the response:

    <? XML version = "1.0" encoding = "utf-8"? >

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < title > < /title > Service

    < style > < / style >

    < / head >

    < body >

    < div id = "content" >

    < class p = "title 1" > Service < /p >

    < p > endpoint could not be found. < /p >

    < / div >

    < / body >

    < / html >

    Parris,

    Endpoint for the creation of object (custom p03) data seems to have been replaced by:

    POST Api/rest/1.0/data/customObject/{customObjectId}

    Endpoint you are trying to use has worked before. I don't know what happened... I found this useful documentation:

    https://secure.P03.Eloqua.com/API/docs/dynamic/rest/1.0/reference.aspx

    Jason Kay

  • Rest api webcenter State or walk of a workflow

    Hi people!

    I need your help, I am using the Rest API of oracle webcenter sites, but I have not found how to get the information from a specific asset in a workflow, for example: workflow, update, lately published, responsible role etc.

    I need know if a specific asset has been approved for all steps whit the rest api.

    Is this possible?

    Thanks in advance.

    Currently, there is no REST out-of-the-box service that allows to query or return information of workflow. If you need this report REST you can write your own page of utility (SiteEntry and CSElement) who works in a relaxing way, taking arguments and retrieve the necessary data based on workflow JSP tags, then return an XML response.

    Phil

  • Using c# to access the REST API - 404 not found

    Hi all!

    Since there is currently no available c# example to access the REST API, I'm going at this from scratch using the Nuget - Microsoft.AspNet.WebApi.Client package.

    I was able to successfully implement a framework for code that is able to make a call to the base_uris method and successfully receive a response.

    I'm doing a transientDocuments call, but I still get a 404 not found error.  I'm hoping somewhere here may be able to enlighten.  I tried to use the current examples of Java to call REST API to get help on how to go about things.

    I create an instance of the AdobeDCREST class, and pass the BaseUrl (https://api.echosign.com/api/rest/v5/) and my key to integration.  When I make a call to the PostTransientDocuments method I pass into the path of the pdf file that I am trying to download.  PostTransientDocuments then deals with the creation of an object the HttpContent (StreamContent) of the file, and then adding the headers, ContentType and ContentDisposition.  The call to GetClient() will determine whether base_uris should be called still or not (I make the call to base_uris and storage of the api_access_point in a variable static for all other calls, as well as the java examples) and returns an object of the HttpClient with the access in the header already token.  The call to base_uris works and returns a https://api.na1.echosign.com/ api_access_point

    I then add/api/rest/v5 to the url access_point to call transientDocuments. Failure occurs during the call to PostAsync in transientDocuments with a 404 not found error.

    Here's the code I'm using to test things so far.  Any help would be greatly appreciated.  I've been spinning my wheels on that for too long already.

    using System;

    using System.Collections.Generic;

    using System.IO;

    using System.Linq;

    using System.Net.Http;

    using System.Net.Http.Headers;

    using System.Text;

    using System.Threading.Tasks;

    namespace Ivezt.Documents {}

    public class AdobeDCREST {}

    < Summary >

    A static variable that is defined by an initial call to GetBaseURIs() and used for all API calls later.

    < / Summary >

    Private Shared ReadOnly Property SERVICES_BASE_URL as string = string. Empty;

    < Summary >

    The end point of API to use.  This aspect will have to be changed if Adobe is moving to a new version of the API and we update this

    the code to use this new version.

    < / Summary >

    Private Shared ReadOnly Property API_URL as string = "api/rest/v5 /";

    < Summary >

    This BaseUrl is passed to the constructor and used to make a call to GetBaseURIs().

    < / Summary >

    private string m_strBaseUrl = string. Empty;

    < Summary >

    The IntegrationKey is passed to the constructor and must be added to the header of each API request.

    < / Summary >

    private string m_strIntegrationKey = string. Empty;

    public AdobeDCREST (string strBaseUrl, string strIntegrationKey) {}

    m_strBaseUrl = strBaseUrl;

    m_strIntegrationKey = strIntegrationKey;

    }

    private HttpClient GetDefaultClient() {}

    HttpClient client = new HttpClient();

    Add an Accept header for JSON format.

    customer. () DefaultRequestHeaders.Accept.Add

    (new MediaTypeWithQualityHeaderValue("application/json"));

    Add the access token

    customer. DefaultRequestHeaders.Add ("Access token", m_strIntegrationKey);

    customer feedback;

    }

    private HttpClient GetClient() {}

    If we have not yet the SERVICES_BASE_URL, then we must do a GetBaseURIs call

    If (SERVICES_BASE_URL. Length == 0) {}

    HttpClient baseClient = GetDefaultClient();

    Use the BaseUrl passed to the constructor

    baseClient.BaseAddress = new Uri (m_strBaseUrl);

    URI BaseURIs_Response = GetBaseURIs (baseClient);

    SERVICES_BASE_URL = string. Format ("{0} {1}", uris.api_access_point, API_URL);

    baseClient.Dispose ();

    }

    If (SERVICES_BASE_URL. Length == 0)

    throw new Exception ("failed to retrieve Adobe Document cloud Base URI");

    HttpClient client = GetDefaultClient();

    customer. BaseAddress = new Uri (SERVICES_BASE_URL).

    customer feedback;

    }

    public BaseURIs_Response GetBaseURIs(HttpClient client) {}

    Call base_uris

    HttpResponseMessage response = client. GetAsync ("base_uris"). Result;  Call blocking!

    If (answer. IsSuccessStatusCode) {}

    Analyze the response body. Blocking!

    answer back (BaseURIs_Response). Content.ReadAsAsync (typeof (BaseURIs_Response)). Result;

    }

    else {}

    throw new Exception (string. Format ("{0} ({1})", (int) response. ") StatusCode, response. ReasonPhrase));

    }

    }

    public TransientDocument_Response PostTransientDocuments (string strFilePath) {}

    Call transientDocuments

    Content the HttpContent = new StreamContent (new FileStream (strFilePath, FileMode.Open, FileAccess.Read));

    content. Headers.ContentType = new MediaTypeHeaderValue("application/pdf");

    content. Headers.ContentDisposition = new ContentDispositionHeaderValue("form-data") {}

    Name = "file."

    FileName = 'Template.pdf.

    };

    HttpClient client = GetClient();

    HttpResponseMessage response = client. PostAsync ("transientDocuments", content). Result;  Call blocking!

    If (answer. IsSuccessStatusCode) {}

    Analyze the response body. Blocking!

    answer back (TransientDocument_Response). Content.ReadAsAsync (typeof (TransientDocument_Respons e)). Result;

    }

    else {}

    throw new Exception (string. Format ("{0} ({1})", (int) response. ") StatusCode, response. ReasonPhrase));

    }

    }

    }

    public class BaseURIs_Response {}

    public string web_access_point {get; set ;}}

    public string api_access_point {get; set ;}}

    }

    public class TransientDocument_Response {}

    public string transientDocumentId {get; set ;}}

    }

    }

    I think I found my problem.  I was not a multi-part post form data.  Once I changed this, everything worked as expected.  Here is an updated version of the PostTransientDocuments() method that works:

    public TransientDocument_Response PostTransientDocuments (string strFilePath) {}

    Call transientDocuments

    using (var = {GetClient() customer)}

    using (var content = new MultipartFormDataContent()) {}

    var multiplesContent = new StreamContent (new FileStream (strFilePath, FileMode.Open, FileAccess.Read));

    fileContent.Headers.ContentType = new MediaTypeHeaderValue("application/pdf");

    fileContent.Headers.ContentDisposition = new ContentDispositionHeaderValue("form-data") {}

    Name = "file."

    FileName = 'Template.pdf.

    };

    content. Add (FileContent);

    HttpResponseMessage response = client. PostAsync ("transientDocuments", content). Result;  Call blocking!

    If (answer. IsSuccessStatusCode) {}

    Analyze the response body. Blocking!

    answer back (TransientDocument_Response). Content.ReadAsAsync (typeof (TransientDocument_Respons e)). Result;

    }

    else {}

    throw new Exception (string. Format ("{0} ({1})", (int) response. ") StatusCode, response. ReasonPhrase));

    }

    }

    }

    }

  • endpoint vcac rest api

    Rest API is available for the creation of endpoint - vcac? Thank you.

    I don't think you can do this via the REST API directly, but there are workflows in vRO who will do it for you. Orchestrator can be called via REST.

    The workflow looking is called "create a management endpoint.

  • Assignment of roles to the user when creating the user

    Hi all

    I gave a roll deposited (< dsp:input bean = "ProfileFormHandler.value.roles.role" maxsize = "30" size = "30" type = "text" / > on the registration page.) After registration, each field in db except role (table dps_role).
    Pls let me know what I am doing wrong.

    Thank you

    You should not assign roles to the user as 'ProfileFormHandler.value.roles.role' of 's profile. You can link formhandler property to which you can pass the name or id of the role that you want to assign role assignment must always route through safety ATG API in order to properly update the mappings of Homeland Security. Because of these dependencies, you should not try the role of simply call profile.setPropertyValue ('roles',...) The code cannot fail this way, but if you assign the role in this way then it may not work as expected when checking for role based privileges. Here's one possible way to do it:

    1. in your file properties formhandler declare a dependency on the directory of the default user, which by default points to the profile database:

    userDirectory = / atg/userprofiling/ProfileUserDirectory

    So, in the form Manager, you declare corresponding setUserDirectory() and getUserDirectory().

    2 then in the formhandler, get the DirectoryPrincipal objects associated with the user profile and the role you want to assign and then assign the role to the user:

    import atg.userdirectory.UserDirectory;
    import atg.userdirectory.DirectoryPrincipal;
    import atg.userdirectory.User;
    import atg.userdirectory.Role;
    import atg.userdirectory.DirectoryModificationException;
    
    import java.util.Collection;
    import java.util.Iterator;
    
    ..
    ..
    
    private boolean assignRoleToUser(String roleName, String userId) {
    
      UserDirectory userDirectory = getUserDirectory();
      DirectoryPrincipal userPrincipal = userDirectory.findUserByPrimaryKey(userId);
      DirectoryPrincipal rolePrincipal = userDirectory.getRoleByPath(roleName);
    
      User user = (User)userPrincipal;
    
      Collection collection = userDirectory.getRoles();
    
      boolean status = false;
    
      Iterator iter = collection.iterator();
      while(iter.hasNext())
      {
        Object obj = iter.next();
        if(obj instanceof Role) {
          Role role = (Role)obj;
          if(roleName.equals( role.getName() ) && user!=null) {
            try {
              status = user.assignRole(role);    //will return true if the role was added otherwise false
            }
            catch (DirectoryModificationException e) {
           //handle exception
            }
            break;
          }
        }
      }
      return status;
    }
    

    In the code above 'roleName' parameter is the name of the role to be assigned to the profile with the id as "userId". If you want to do the role assignment when creating the user, then you can do the things above in postCreateUser() so that you can get the Principal associated with the profile. For more information about the interfaces and classes used here, you can refer to the documentation of the API of the ATG.

    http://docs.Oracle.com/CD/E26180_01/platform.94/APIDoc/ATG/userDirectory/package-summary.html

  • C#, UCCX, Rest API, PUT (update a resource) and not taken media Type supported

    Hi, I'm developing an application to update the skills of resources with the REST API.

    I can get all the values I want to (GET), but when I try to update a resource using PUT, and then I get a "415 Unsupported Media Type" webException.

    I discovered that c# / UCCX works with demand. MediaType (instead of request. ContentType).

    I got this error when I tried to GET the data. He now works for the GET.

    But to PUT it, I got the error. Method is defined as SAID, MediaType = "application/xml".

    I tried to empty, ' text/xml '...

    Looked on the internet, Web sites, saying always specify ContentType/MediaType = "application/xml", I have already done.

    I also got the same error if I try an application COULD and without sending data.

    Thanks for your help!

    public string MakeRequest()
    {
    var request = (HttpWebRequest) WebRequest.Create (EndPoint);
    request. Credentials = new System.Net.NetworkCredential (login, password);
    request. Method = Method.ToString ();
    request. ContentLength = 0;
    request. Accept = ContentType;
    request. MediaType = ContentType;
                
    #region so PUT
    If (! string.) IsNullOrEmpty (PostData) & method == HttpVerb.PUT)
    {
    encoding of var = new UTF8Encoding();
    PostData = PostData.Replace ("\n", "");
    var bytes = Encoding.UTF8.GetBytes (PostData);
    request. ContentLength = bytes. Length;
                    
    using (var writeStream = request. GetRequestStream())
    {
    writeStream.Write (bytes, 0, bytes.) (Length);
    }
    }
    #endregion

    Try
    {
    assistance (response var = (HttpWebResponse) request. GetResponse())
    {
    var responseValue = string. Empty;

    If (answer. StatusCode! = HttpStatusCode.OK)
    {
    var message = String.Format ("request failed. Received HTTP {0}", response. StatusCode);
    throw new ApplicationException (message);
    }

    Enter the answer
    using (var responseStream = response. GetResponseStream())
    {
    If (responseStream! = null)
    using (var = new StreamReader (responseStream) Player)
    {
    responseValue = reader. ReadToEnd();
    }
    }

    Return responseValue;
    }
    }
    catch (WebException wex)
    {
    error string = wex. Message;
    Return ' ';
    }

    OK you got, in this case, post your request in the Sub forum as well which is sought after by developers and you can you expect a concrete answer/explanation on the same

    https://communities.Cisco.com/community/Developer/Express-configuration-API

    Concerning

    Deepak

  • CPO 3.0 call a REST API

    I try to call a remote REST API that returns a JSON object.

    The call browser API looks like this

    http://IPAM-dev/phpipam/API/?app_id=API&controller=sections&action=read&ID=6

    Returns

    {'success': true, 'data': {'id': '6', 'name': "Telford subnets", 'description': '',' masterSection': '0', 'permissions': "{\"4\":\"1\ ""} strictMode ',' ': '1', 'subnetOrdering': null, 'order': null, "editDate": null, "showVLAN": '0', 'showVRF': '0' "}}

    When I try to use the OPC Web HTTP Request activity it fails with the following error

    Unable to send a content-body with this type of verb.

    I think the problem here is the content type. The default is application/xml; charset = utf - 8 in the activity, I tried to change this text, html and json, but still did not work. I can't let the emty content type in the activity.

    Anyone have any suggestion how to make a REST of CPO call using the activity Web HTTP request

    Try to change GET to POST (in the form of CALL-CPO_REST - RQ.png).  Sends the contents of the body generally requires a POST not a GET.

  • Expose REST APIs on the API Oracle Gateway

    Hi all

    Can someone help me to OAG. I'm new on this.

    I want to expose some REST API of gateway API as well as Oracle are accessible on mobile phones and browsers.

    An example or a document for this help

    Thank you

    Laetitia

    What version of Oracle application Gateway you use, if you use of the OAG version 11.1.2.4.0 then you need to install the hotfix.

    Please see this document on the oracle support: Doc ID 2070998.1

    Kind regards

    Anshul

  • Get the 500 error trying to create a table using the REST API

    Hello

    I tried to create a table using the REST API for Business Intelligence Cloud, but I got 500 Internal Server Error for a while now.

    Here are the details that I use to create a table.

    Capture.JPG

    and the json to create the schema that I use is

    [{'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ["ROWID"]}]

    , {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['RELATIONID']},

    {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['ID']}

    , {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['RESPONDEDDATE']},

    {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [255], 'columnName': ['RESPONSE']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['SYS_CREATEDDATE']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['SYS_CREATEDBYID']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['SYS_LASTMODIFIEDDATE']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['SYS_LASTMODIFIEDBYID']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['SYS_SYSTEMMODSTAMP']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [10], 'columnName': ['SYS_ISDELETED']},

    [{'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [50], 'columnName': ['TYPE']}]

    I tried this using postman and code, but I always get the following response error:

    Error 500 - Internal server error

    Of RFC 2068 Hypertext Transfer Protocol - HTTP/1.1:

    10.5.1 500 internal Server Error

    The server encountered an unexpected condition which prevented him from meeting the demand.

    I am able to 'get' existing table schemas, delete the tables, but I'm not able to make put them and post operations. Can someone help me to identify the problem, if there is no fault in my approach.

    Thank you

    Romaric

    I managed to create a table successfully using the API - the only thing I see in your JSON which is different from mine is that you have square brackets around your values JSON where I have not. Here is my CURL request and extract my JSON file (named createtable.txt in the same directory as my CURL executable):

    curl u [email protected]: password UPDATED h x ' X-ID-TENANT-NAME: tenantname ' h ' Content-Type: application/json '-binary data @createtable.txt https://businessintell-tenantname.analytics.us2.oraclecloud.com/dataload/v1/tables/TABLE_TO_CREATE k

    [

    {

    'columnName': 'ID',

    'dataType': 'DECIMAL ',.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': false

    },

    {

    'columnName': 'NAME',

    'dataType': 'VARCHAR ',.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    },

    {

    "columnName': 'STATUS."

    'dataType': 'VARCHAR ',.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    },

    {

    "columnName': 'CREATED_DATE."

    'dataType': 'TIMESTAMP '.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    },

    {

    'columnName': 'UPDATED_DATE ',.

    'dataType': 'TIMESTAMP '.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    }

    ]

Maybe you are looking for

  • WARNING: Beware of Trusteer report installation on macOS Sierra

    Just a word of warning to users who have the version for macOS Sierra - I'd be suspicious about installing and using Trusteer report of IBM software as it doesn't seem to work correctly with Safari 10. Although maybe it's not the case for all devices

  • HP p2-1343w video card

    I have a HP p2-1343w desktop PC and I want to put a video in card so that my photoshop and games will run on choke, but not quite sure that the card mother will accept a. The mother board it is the APXD1-DM (Redwood (B) Any help will be great.

  • FWSM: rule on tcp/1089 breaks DNS lookups

    A weird problem this time... Yesterday, I added a rule to the ACL on an external interface to the FWSM (v3.1.1). The rule has been something like this: list of extended outside access permit tcp any host aaa.bbb.ccc.ddd eq 1089 After that, we got com

  • Cannot use the Start button

    For some reason, when I try to click on the Start button, it disappears.  I tried all day to dissable addons that sort, but it ended up doing another way.  I have restarted computor, but the Start button, always goes away until I can click on it.  Ev

  • Why is my windows surface RT set up like a childs acount when I turned 18 6 months ago and I bought the Tablet 2 months ago?

    IM put in place with a childs account and I want to get an adult account because I don't want to put my credit card number to so I can unlock stuff with my tablet can someone help me? Basically, everything is blocked and I can't do much on my shelf p