REST API updates

I try to get the REST API of emails. I have the system of creating emails OK but when I try and update doing a query PUT with the ID of the email created in the URL and the ID in the JSON data (and noting of also changed) it blows upward with an internal server error.

Any pointers people can give me?

Hi Fred, I just went to get a few POST and PUT requests to see if I could spot anything and post it here.

And this is now, works very well.

* shrugs *.

I'll keep an eye on it and post if I have more problems.

Tags: Marketers

Similar Questions

  • 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

  • Updated filter shared via the REST API

    Hello I'm trying to update a shared API filter. I'm using PHP and client fredsakr/eloqua-php-application · GitHub.

    So far, I was able to retrieve the filter with the following call:

    <?php
    require('./eloquaRequest.php');
    $eloquaRequest = new EloquaRequest('site', 'User.Name', 'password', 'https://secure.eloqua.com/API/REST/1.0');
    $response = $eloquaRequest->get('assets/contact/filters?search=TheFilterName&depth=complete');
    print_r($response);
    ?>
    

    I can see the filter in the answer below:

    (
        [type] => ContactFilter
        [currentStatus] => Active
        [id] => 100761
        [createdAt] => 1380137168
        [createdBy] => 48
        [depth] => complete
        [folderId] => 1036
        [name] => TheFilterName
        [updatedAt] => 1383589417
        [updatedBy] => 48
        [count] => 254382
        [criteria] => Array
            (
                [0] => stdClass Object
                    (
                        [type] => ContactFieldCriterion
                        [id] => 1912
                        [condition] => stdClass Object
                            (
                                [type] => TextSetCondition
                                [operator] => in
                                [optionListId] => 193
                            )
    
                        [fieldId] => 100012
                    )
    
            )
    
        [lastCalculatedAt] => 1380137190
        [scope] => global
      statement] => 1912
    

    What I want to do is update that corresponds to the values of 'Compare the Contact fields' in the GUI Eloqua under Contact = > Shared Library = > Contact filters.

    Looks like he has the "[type] = ContactFieldCriterion" under the [criteria] field in the response.

    I'd get how this value in a call to REST, and also how I would update it.

    Please let me know if you need more details on this issue. Please help and thank you.

    After some research I found what I wanted to do has been updated the list of options for this filter. See http://topliners.eloqua.com/docs/DOC-3588 for documentation on the base object. But I had difficulty in updating an OptionList with the Rest API using PUT. If you can help, please visit http://topliners.eloqua.com/message/36739#36739 . Thank you.

  • REST API: Assets in Flex updated

    We are trying to update some of the attributes in the assets of Flex using the REST api.

    However when we post the update of the application, Server CS began mandatory reporting are not provided.

    Question: Do we need to DISPLAY all the attributes that are required, even if we just want to update a field?

    Do we need to retrieve all of the required fields first and post them agin? What is the best way to update one of the attributes?

    We are running on 11.1.1.6.1

    [2014-05-14 15:19:50, 447 EDT] [DEBUG] [o - 169.113.108.89 - 7211-exec-626] [com.fatwire.rest.time] complete POST on: http://host/CS/rest/sites/xxx/types/xxxxxx/assets/1320477860438; Of the query parameters: {ticket = [ST-1278-B1c9OpwQvtgk16AqkcZy-number-1]}; Time: 32 m

    [2014-05-14 15:19:50, 447 EDT] [DEBUG] [o 169.113.108.89 - 7211-exec-626] [fatwire.rest.resources.BaseExceptionMapper] attribute AttributeName is required for AssetType XXXXXXX and cannot be null

    com.fatwire.rest.ServiceException: attribute ATTRIBUTE_NAME is mandatory for AssetType XXXXXX and cannot be null

    at com.fatwire.rest.service.impl.LocalAssetService.updateAsset(LocalAssetService.java:505)

    at com.fatwire.rest.service.impl.LocalAssetService.updateAsset(LocalAssetService.java:466)

    at com.fatwire.rest.resources.SiteTypeAssetResource.updateAsset(SiteTypeAssetResource.java:134)

    at sun.reflect.GeneratedMethodAccessor545.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    to com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ ResponseOutInvoker._dispatch (AbstractResourceMethodDispatchProvider.java:175)

    at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67)

    at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:208)

    at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:75)

    at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:115)

    at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:67)

    at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:775)

    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:740)

    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:731)

    at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:372)

    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:452)

    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:633)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

    at com.fatwire.auth.RequestAuthenticationFilter.doFilter(RequestAuthenticationFilter.java:192)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

    at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:602)

    at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:205)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

    at org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:193)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)

    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)

    to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.java:589)

    to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:312)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:615)

    at java.lang.Thread.run(Thread.java:744)

    Caused by: com.fatwire.assetapi.common.AssetAccessException: attribute AttributeName is required for AssetType XXXXXX and cannot be null

    at com.fatwire.assetapi.data.FlexAssetDataWriteStrategy._populateAttributes(FlexAssetDataWriteStrategy.java:207)

    at com.fatwire.assetapi.data.FlexAssetDataWriteStrategy.getInstance(FlexAssetDataWriteStrategy.java:56)

    at com.fatwire.assetapi.data.BasicAssetDataWriteStrategy.getInstances(BasicAssetDataWriteStrategy.java:334)

    at com.fatwire.assetapi.data.FlexAssetDataWriteStrategy.write(FlexAssetDataWriteStrategy.java:44)

    at com.fatwire.assetapi.data.AssetDataManagerImpl.update(AssetDataManagerImpl.java:255)

    at com.fatwire.assetapi.data.AssetDataManagerImpl.update(AssetDataManagerImpl.java:233)

    at com.fatwire.rest.service.impl.LocalAssetService.updateAsset(LocalAssetService.java:501)

    ... more than 41

    Hi Sarath.Dontireddy,

    Even if you just want to update a field, you must collect all and post them later. Otherwise, those that you do not fill will be empty and updated, with the impact on the required fields as the can not be null, so that you get the trace of the error as the attribute a name.

    Kind regards

    Enrique

  • Interaction with OpsCode Chef HTTP vCenter Orchestrator v5.1 Update 1 REST API

    Interaction with OpsCode Chef HTTP vCenter Orchestrator v5.1 Update 1 REST API

    I need to be able to use the HTTP REST APIs to run commands on the server of leader during the commissioning and decommissioning of virtual machines.

    Chef Server API Documents

    This requires the ability to use the SHA1 algorithm and also the Base64 algorithm in vCenter Orchestrator v5.1 update 1 to create the header of hashes.

    Method: HTTP_METHOD

    Axes of path: HASHED_PATH

    X Ops-content-Hash: HASHED_BODY

    X Ops - Timestamp:TIME

    X Ops - UserId:USERID

    where:

    • HTTP_METHOD is the method used in the API request (GET, POST, and so on)
    • HASHED_PATH is the path of the query (/name_of_endpoint for the server open source) and/organizations/organization_name/name_of_endpoint took the head or private Chef. The HASHED_PATH must be hashed with SHA1 and encoded using Base64 and should not have repeated oblique (/) or end with a bar slash (unless the path is /).
    • The private key must be an RSA key in the SSL .pem file format. This signature is then divided into strings (of not more than 60 characters per line) and placed in the header.

    The server of crypts that header and ensures its content corresponds to the content of unencrypted headers contained in the request. The timestamp of the message is checked to ensure that the request has been received within a reasonable time. An approach to generate the signed headers is to use the authentication mixlib, which is a header based on a class signature of authentication object similar to one used by the Chief customer.

    Any help with this would be greatly appreciated.

    Perfect timing!  I was just finalized this week the docs and test of a package for the Chef Server API:

    CHIEF Server Workflows

    Let me know how it works for you!  Of more if there are other points of termination or I missed scenarios, they should be easy to add.

  • 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

    }

    ]

  • REST API: How to create e-mail/landing page with static/dynamic content?

    With the REST API, it seems that you can create/update the contents of an e-mail or a landing page by specifying html with the type "RawHtmlContent". How it works when this e-mail or a landing page includes a shared or dynamic content? What is the recommended method to create or update an e-mail/landing page and add a new shared or dynamic, content or update the "reference"?

    Unfortunately this is not currently supported by our API.  However, we are building a new point extension called content Cloud that can solve your use case.

  • Add a contact e-mail group via the Rest API

    Hello

    Is it possible to add a contact to a group of e-mail through the Rest API?

    I saw this article here http://topliners.eloqua.com/docs/DOC-3526 which shows that you can get a subscription email group contacts status, however it is not clear how actually to add a contact to a group of e-mail via the API.

    I tried to post data to ' data/contact / {id} / groups/email/subscription "but I get a response of"Method not allowed"API."

    If someone managed to achieve? If so, how?

    See you soon

    Hi David,

    The POST operation is not supported by this endpoint, but you can use PUT a method for updating subscriptions Contact:

    • PUT: / data/contact / {id} / email/group / {groupId} / subscription

    Where the request body contains an object of the subscription. Hope this helps and please let us know if you need more information.

    Thank you

    Fred

  • REST API - subscriptions Contact

    Hello

    I'm updating subscriptions contact using the REST API, but the documentation at http://topliners.eloqua.com/docs/DOC-3526 seems to be updated. The current lead for/data/contact / {contactId} / groups/email/subscription is different than the result of the documentation.

    Can someone explain to me how I should manage subscriptions? I use https://secure.eloqua.com/API/REST/2.0 as the API endpoint.

    Thank you

    Ronald

    Hi Ronald,.

    The current stable version of the REST API is 1.0. Please note that 2.0 is public, but it is subject to change, and so we do not recommend that the community uses this.

    About the management of subscriptions, we will add a post shortly to describe how to subscribe and unsubscribe Contacts using the Rest API.

    Hope this helps and please let us know if you need more information.

    Thank you

    Fred

  • Search REST API by updatedAt?

    Hello

    I tried to do a search by updatedAt through the REST API.  I was not able to run.  Is it possible to do this research?

    I tried using the time at the time, and I tried to use the date mm/dd/yyyy yyyy/mm/dd formats.  Maybe I have not just magical format?

    Also, I tried using both a greater - than > and more-than-or-equal to > =.  So, my parameters could look like:? page = 1 & search = updatedAt > = 1371745091806

    The exact error message is: "invalid query".

    Thoughts?

    .  Topher

    Hello

    I was finally able to find a way to do it.  Thus, for posterity:

    The trick is that you do not use the parameter "search".  There is a separate parameter just to get data updated since a precise timestamp.  It is called lastUpdatedAt (rather than updatedAt).  The value of the parameter is applied as a filter ' greater than or equal to "and is in seconds since the epoch (Jan 1, 1970).

    Thus, for example:

    GET /API/REST/1.0/assets/campaigns?page=1&lastUpdatedAt=1369841921

    The trick who told me there was that I noticed on the campaigns page list call included a separate parameter for lastUpdatedAt.

    http://topliners.Eloqua.com/docs/doc-3091

    .  Topher

  • Quesiton answer REST API

    I'm trying to understand what information is contained in the Eloqua activities for the activityTypes object. Activities has these attributes:

    -ID

    -type

    -activityDate

    -activityType

    -assetID

    -contactID

    -Details

    By the documentation, the different activityTypes include emalClickThrough emailSend emailOpen, webVisit, campaignMembership... etc.

    What I've not seen so far, this is what Details would be available for each of these categories. The link below provides an example of output that would be for a emailSend:

    http://topliners.Eloqua.com/docs/doc-3092

    Of course, "Subject line" not will be not rendered for webVisit and CampaignMembership... but what would? We are in the design phase of a project and rely on documentation to illustrate attributes are available for export in a data warehouse.  Please point me to the documentation where I can find this level of information.

    Thank you!

    Hi Joseph,.

    We have updated the original document (REST API - access Contact activities) to include the details for each type of activity.

    Included here for convenience:

    Types of activities (Details)

    • campaignMembership

      • Replied
      • CampaignName
      • LeadStage
    • emailClickThrough
      • EmailClickedThruLink
      • EmailName
      • EmailWebLink
      • EmailRecipientId
      • SubjectLine
    • emailOpen
      • EmailName
      • EmailWebLink
      • EmailRecipientId
      • IPAddress
      • SubjectLine
    • emailSend
      • EmailName
      • EmailWebLink
      • EmailRecipientId
      • SubjectLine
    • emailSubscribe
      • CampaignName
      • EmailCampaignId
    • emailUnsubscribe
      • CampaignName
      • EmailCampaignId
    • formSubmit
      • Collection
      • FormName
    • webVisit
      • Duration
      • QueryString
      • QueryStringDisplay
      • Thread

    Please let me know if you need more information.

    Thank you

    Fred

  • Mapping and querying objects for Contact with REST Api

    Hi all

    We are hoping to get some details on the DataCard management defined via REST API. Our implementation goal is to create Contacts and add the custom for each Contact object or to be more precise, add a set of map data for each Contact.

    At the present time, to associate a map Data Set (or custom object) to an existing contact, we provide a suite of fields in the custom when creating custom object object:

    new CustomObjectField  
    {
                                                                    name = "MappedEntityType",
                                                                    dataType = Enum.GetName(typeof(DataType), DataType.numeric),
                                                                    type = "CustomObjectField",
                                                                    defaultValue = "0"
                                                                },
                                                             new CustomObjectField
                                                                {
                                                                    name = "MappedEntityID",
                                                                    dataType = Enum.GetName(typeof(DataType), DataType.numeric),
                                                                    type = "CustomObjectField",
                                                                    defaultValue = "<ContactId>"
                                                                }
    
    

    This is the right approach? This is based on the information provided here: http://topliners.eloqua.com/community/code_it/blog/2012/05/31/eloqua-api-how-to-mapping-a-data-card-to-an-entity.

    The REST API would query the CustomObjects using the MappedEntityId value for the subsequent updates? If so, pointers on how to approach that?

    Thanks to ad.

    The REST API does not support this.  With the upcoming release of Eloqua, you will be able to update the MappedEntityID, as a query it.

  • There the rest APIs to retrieve the metadata for entity for eloqua objects?

    There is a list of all the objects that are accessible by the REST for CRUD in this link: REST API - Documentation for kernel objects in the objects of the core section.

    For each of the objects listed in the objects of the core section are there is a metadata field in the Properties section.

    For example, for the purpose of the e-mail message, The REST API - to access Emails , under the Properties section, there entered corresponding to the fields of the object of the emails under the
    Name, Type, Description and validation topics.

    Is there a REST API to retrieve the same information, i.e. metadata field for an object programmatically eloqua?
    Otherwise, this is a serious obstacle to building systems that are the metadata engine and support for SOAP is removed...

    The closest to what you are looking for would be endpoints of assistance for a description of the fields. Example of /api/bulk/1.0/contact/fields

    {

    "items": [{}

    'name': "E-mail address",

    "internalName": "C_EmailAddress",

    'dataType': 'emailAddress;

    'hasReadOnlyConstraint': false,

    'hasNotNullConstraint': false,

    'hasUniquenessConstraint': true,

    'Déclaration': '{{Contact.Field (C_EmailAddress)}}.

    "uri": "/ contact/field/100001",

    "converted': ' / Date (-2208970800000) /"

    'updatedAt': ' / Date (-2208970800000) / ".

    },

    {

    'name': "First name",

    "internalName": "C_FirstName",

    'dataType': "string",.

    'hasReadOnlyConstraint': false,

    'hasNotNullConstraint': false,

    'hasUniquenessConstraint': false,

    'Déclaration': '{{Contact.Field (C_FirstName)}}.

    "uri": "/ contact/field/100002."

    "converted': ' / Date (-2208970800000) /"

    "updatedBy": "MgrzzzOracleCloudSupportP01E10",

    'updatedAt': ' / Date (1408993722380) / ".

    },.....

    If so, it will also include an element "defaultValue". How many characters you can store in a field (precision) is documented here: Type of data (data and Digital Formats). The same endpoint exist in bulk 2.0, and there are variants for the account fields and Objetpersonnalise. Another exists in the REST through Api/rest/2.0/assets/contact/fields?depth=complete... It does not include the declaration of ML, but there other useful information such as the type of default update and a flag 'isAccountLinkageField '.

    Similarly, if you describe a form via SOAP or REST, it also will give you the fields and their type.

    Kind regards

    Bojan

  • Version of spring with rest api sites webcenter

    Hello world!

    I use other api sites webcenter, with this library: com.fatwire.wem.api.rest 11.1.1.8.0, com.fatwire.wem - sso-api-case - 11.1.1.8.0, com.fatwire.wem - sso-api - 11.1.1.8.0 in an application of spring with the 3.2.10.RELEASE version. And it works very well! I make a list of the assets and all its attributes, but I need use this application with spring version 4.0.6.RELEASE, then when I update the version of spring the rest api that libraries do not work. It's the method that fails:

    SSOSession ssoSession is SSO. getSSOSession (baseUri);

    multiticket = ssoSession.getMultiTicket (username, password); -> Error LINE

    baseResource is baseResource.queryParam ("multiticket", multiticket);.

    This because the application cannot get a mutiticket. I use the same code and the same structure only changes the spring version. Oracle webcenter is updated with all the patches up to this date.

    How can we solve this problem?

    THX

    SOLVED

    Private Sub authenticate() throws {RestConnectionException}

    try {}

    SSOSession ssoSession = SSO.getSSOSession ("CASConfig.xml");

    multiticket = ssoSession.getMultiTicket (username, password);

    baseResource = baseResource.queryParam ("multiticket", multiticket);

    } catch (SSOException e) {}

    throw new RestConnectionException (e);

    }

    }

    CASConfig.xml

    http://www.springframework.org/schema/MVC ".
    "" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance"
    "xmlns:beans ="http://www.springframework.org/schema/beans"
    "xmlns: jee ="http://www.springframework.org/schema/jee"xmlns:tx ="http://www.springframework.org/schema/tx"
    "xsi: schemaLocation ="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
      http://www.springframework.org/schema/JEE http://www.springframework.org/schema/JEE/spring-JEE.xsd http://www.springframework.org/schema/TX http://www.springframework.org/schema/TX/spring-TX.xsd">."

    ': http://application-tier server: port/AR ' / >

    ': http://application-tier server: port/AR ' / >


    Add the casconfig to the classpath in the spring, set up the server and port in xml and it works!

  • 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

Maybe you are looking for

  • Re: Satellite L - new BIOS so that BIOS password is set?

    Dear experts I have the password on the BIOS. Can I install the new bios and how can it if possible, and please teach me where I can download and how to boot and install Thank you.

  • Windows Mail back my email!

    Windows Mail has returned my email. I've been using Yahoo Mail and somehow all got transferred to Windows Mail. (I must have clicked on something)? It also took all the messages that have been saved out of the server and are now available on Windows

  • Error 1719 Windows install Vista 64-bit

    Help. Whenever I try to install a program I downloaded about 80% through the installation, I get an error message stating "Error 1719." Windows service install are not accessible. Contact your support to verufy he is properly registered and activated

  • Venue 8 pro update Atom Z3000 crashes system

    During the process of downloading the latest chipset update on the Dell Support site, the screen on my coming Pro 8, completely erased and I can't recover.  Any suggestions? My HW: Venue 8 Pro; 5830 chipset System BIOS: A.14 OPERATING SYSTEM; WIN 10

  • HOW can Z30 blackBerry I REDUCE the USE OF DATA ON Z30, Please HELP.

    Hello to all, kindly advice me on how I can reduce the use of internet data on my blackberry, it seems to be using data at a very high speed than expected.