the posting API error

Hi all

I'm new to the HRMS.

I use allocation API.

I get the error message: you must enter the details Volition

Please help on this


Thanks in advance
Cooler

Put you up to date used in a business of us group? If Yes, you can consider using update_us_emp_asg instead - this contains a parameter of p_tax_unit that you can use to define the GRE.

This parameter must be set to the Id of the Organization of the ACCORD defined in hr_all_organization_units.

Tags: Oracle Applications

Similar Questions

  • The perl API error

    Sorry if this is the wrong forum, I couldn't find a more appropriate forum. I'm trying to create a script that automatically resignatures cloned a store of data in Perl. I wrote in PowerCLI and I work but I get an error when you try to use Perl. Here is the PowerShell

    Connect-CIServer-Server vcenter

    Get-VMHost VM - test-VM | Get-VMHostStorage - RescanAllHba

    $hostView = get-vmhost - VM VM-test | Get-opinion

    $dsView = get-view $hostView.ConfigManager.DatastoreSystem

    $unBound = $dsView.QueryUnresolvedVmfsVolumes)

    $extPaths = @)

    $Extents = $dstore. To what extent

    {foreach ($ex in $Extents)

    $extPaths = $extPaths + $e.g. DevicePath

    }

    $res = new-Object VMware.Vim.HostUnresolvedVmfsResignatureSpec

    $res. ExtentDevicePath = $extPaths

    $return = $dsView.ResignatureUnresolvedVmfsVolume ($res)

    Here's the Perl:

    Util::Connect();

    My $vm_views = Vim::find_entity_views)

    view_type = > 'HostSystem. "

    filter = > {}

    'name' = > qr/esx-host /.

    }

    );

    print 'a new analysis of all host bus adapters to find new LUNs\n ";

    $host foreach (@$vm_views) {}

    My $storageSystem = Vim::get_view (mo_ref = > $host-> configManager-> storage system);

    $storageSystem-> RescanAllHba();

    }

    $host = ${$vm_views} [0];

    # Search the snap-snap LUNS and will it

    Print "mark for unresolved VMFS volumes\n;

    My $datastoreSystem = Vim::get_view (mo_ref = > $host-> configManager-> datastoreSystem);

    My @unbound = $datastoreSystem-> QueryUnresolvedVmfsVolumes();

    foreach my {$dstore (@unbound)

    My $volume = ${$dstore} [0];

    If ($volume-> {'vmfsLabel'} not $vmfsLabel) {}

    print 'Unresolved VMFS Volume'. $volume-> {'vmfsLabel'}. ' found but does not correspond to. $vmfsLabel. » \n » ;

    following;

    }

    My @extpaths;

    My $extents is $volume-> {'measure'};.

    foreach my {$ex (@$extents)}

    push @extpaths, $ex-> devicePath;

    }

    My $res = bless ({}

    'extentDevicePath' = > [@extpaths]

    (}, "HostUnresolvedVmfsResignatureSpec");

    print Dumper $res;

    $datastoreSystem-> ResignatureUnresolvedVmfsVolume (resolutionSpec = > $res);

    }

    Util::Disconnect();

    This displays the following text:

    A new analysis of all host bus adapters to find new LUNS

    An unresolved application VMFS volumes

    $VAR1 = bless ({}

    'extentDevicePath' = >]

    ' / vmfs/devices/disks/naa.6006016083d226001cf20fdc0d27e311:1'

    ]

    (}, "HostUnresolvedVmfsResignatureSpec");

    Subroutine undefined & HostUnresolvedVmfsResignatureSpec::serialize called at (eval 29) line 111

    I also tried with ResolveMultipleUnresolvedVmfsVolumes but I get the same error.

    I fixed that using the following to create the resolutionSpec object:

    My $res = HostUnresolvedVmfsResignatureSpec-> () new

    extentDevicePath-online \@extpaths

    );

    . For unknown reason using "bless" does not work even if print Dumper provides the exact same output regardless of the method:

    $VAR1 = bless ({}

    "extentDevicePath"-online]

    ' / vmfs/devices/disks/naa.6006016083d226001cf20fdc0d27e311:1'

    ]

    (}, "HostUnresolvedVmfsResignatureSpec");

  • Update the price of the products with the v3 API

    So I try to update all the prices of my product in my product catalog programmatically. I have gone through the documentation to the product price | Catalyst of business support
    and I see that there is no end point of update of the prices of the products.  I tried also just do a PUT option with an AJAX call and is not no longer works.  Can't BC really have a way to update the prices of the products via an application?  I did a lot of things with the API v3, so I assumed that any of this would be a given, but maybe I'm wrong.

    var myurl = "/ webresources/api/v3/sites/current/products / ' + myproductid + ' / price";
    var requestC = $.ajax({)
    URL: myurl
    type: "PUT."
    connection: "keep-alive"
    contentType: "application/json",
    MIME type: ' application/json ',.
    headers: {'Authorization': $.cookie ('access_token')},
    processData: false,
    data: JSON.stringify ({}
    "retailPrice': '533.00."
    'Flags': '533.00'
    })
    });

    You can't do that. The API of POSITION for the products had not been with the rest of the update of the POST API on the products. I already talked to the engineers on this subject. No update on when it will be executed has been given.

  • 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

    }

    ]

  • vCenter Orchestrator HTTP API: POST request error 400 1032

    I'm trying to start a workflow via a POST request to the vCenter Orchestrator API. When I run the same workflow with a GET request, there is no problem and I get the following result in the localhost_access_log.current_date.txt:

    [src_ip_address] - [13/Oct / 2015:04:46:00 + 0000] "GET vco/api/flux/af83cf34-6a00-45b5-946e-0d44ece508bb/exécutions/HTTP/1.1" 200 272

    However, when I run a POST with the following parameters:

    restMethod: POST

    restEndpoint: https://[dest_ip_address]:8281

    restPath: / vco/api/workflows/af83cf34 - a 6, 00-45 b 5 - 946e - 0d44ece508bb/executions /

    user: [username]

    content: {"parameters": [{'name': 'name1', 'type': 'string', 'value': {'chain': {"value": "Value1"}}, 'field': 'local'}]}

    contentType: application/json

    accept: application/json

    I have the following error in localhost_access_log.current_date.txt:

    [src_ip_address] - [13/Oct / 2015:03:53:39 + 0000] "POST vco/api/flux/af83cf34-6a00-45b5-946e-0d44ece508bb/exécutions/HTTP/1.1" 400 1032

    And the output on the client side:

    {Success = no, ResponseHeader = {null = HTTP/1.1 400 Bad Request, Server = Apache-Coyote/1.1 Content-Length = 1032, Content-Language = EN, connection = closed, Date-Wed, 13 Oct 2015 Message = Bad Request, ReasonPhrase is Bad Request, StatusCode = 400}}

    I'm in vCenter Orchestrator 5.5. There is no output to the server.log file. I didn't have a chance, researching the 400 1032' error number. [dest_ip_address] is HTTPS. Can anyone help clarify this?

    The command line below seems to work for me using the cmd terminal Windows:

    curl u - ikv name h ' Accept: application/json ' h ' Content-Type: application/json "d" {\"parameters\":[{\"value\":{\"string\":{\"value\":\"value1\"}},\"type\":\"string\",\"name\":\"name1\",\"scope\":\"local\" "}]}" x POST https://ip_address:8281/vco/api / stream/af83cf34-6a00-45b5-946e-0d44ece508bb/executions

    Note that the double quotes inside the body of the request are preceded by the backslash character.

  • HP EliteBook 745/755/725 G3: Missing 'Label restore electronic tool' to fix the POST error boot in the BIOS 1.08

    The latest BIOS for the HP EliteBook 745/755/725 G3 made reference to a 'restoration tool electronic Label' to remove a MESSAGE error after flashing the BIOS to 1.08.

    http://h20564.www2.HP.com/hpsc/SWD/public/detail?sp4ts.Oid=7815285&swItemId=ob_160552_1&swEnvOid=419...

    According to the release notes: "NOTE: for systems that do not comes with BIOS version 1.05 or later, this utility may be required if the BIOS has been updated.» Visit the page of the BIOS and drivers on www.support.hp.com and follow the instructions using the Restore tool from HP on the electronic label. »

    This tool can be found on the support Web site.

    If flashing the BIOS is causing this problem for systems shipped with a version of BIOS before 1.05 why is the tool not available to correct the problem?

    Better question is why was - this BIOS update published at all if it can cause a system to stop for 15 seconds during POST if you do not have the correction tool POST message as described in the release notes and the POST message?

    Version 1.01 of the electronic Label restore tool has fixed my problem.

    http://h20564.www2.HP.com/hpsc/SWD/public/detail?swItemId=ob_162255_1&lang=en&cc=us&hprpt_id=HPGL_ALERTS_1873677&JumpID=em_alerts_us-us_Mar16_xbu_all_all_641843_1873677_LaptopsandHybrids_routine__/

  • Advanced Security manager-error initializing the Essbase API.

    Hello

    I installed OLAPUnderground > Security Manager Advanced for the export of all the safety of the user.  When I try to click connect he throws a connection error 'error of initialization of the Essbase API, unable to connect'. Someone knows this error before? Please let me know if I'm missing something.

    We currently use 11.1.2.3.500.

    Thank you

    Karim

    It seems that you did not create the windows environment variable:

    ESSBASEPATH

    D:\Oracle\Middleware\EPMSystem11R1\common\EssbaseRTC\11.1.2.0

    It's just an example path update to match your environment

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • Error in creating a category with the REST API

    vRO 7.0.1

    I am trying to create a category in the folder root of Workflow using the REST API.

    URL = https://vroserver.fqdn:8281 / vco/api/categories

    Method = POST

    The API documentation suggests that the body should be like this:

    {

    "categoryType": "WorkflowCategory",

    'name': "Test5",.

    'description': 'Testing '.

    }

    However, I always get a 400 response: the request sent by the client is syntactically incorrect.

    reflecting the docs by: category name must be specified

    Can anyone help?

    Body of the request should be:

    {
       "type":"WorkflowCategory",
       "name":"Test5",
       "description":"Testing"
    }
    
  • The 193 Win32 API error. Cannot call the C function: private_load_AgCoreTest

    Hi guys,.

    When I try to run Lightroom, I get the following error messages:

    • Win 32 API error 193 ("(erreur inconnue)" ") when you call: load the getCFunction library
    • Cannot call the C function: private_load_AgCoreTest

    So I can't access my library or to make a new library by importing files.

    I run it on a laptop with Windows 10 64-bit, Nvidia GeForce 850 m GTX and a processor Intel Core i7 with 12 GB of RAM and a 500 GB SSD (Samsung 840 EVO). All with the latest drivers.

    I tried already to unninstall and reinstall the program, all my packages of Visual C++ and the dll. I also already checked my permissions for the folder from catalog and granted full access. I also tried to run Lightroom as administrator.

    None of these solved the problem.

    What should I do?

    According to the notes, they followed the instructions here to fix the problem: error: "unable to start correctly (0Xc000007b)"

  • Ar_receipt_api_pub of the slightest error. The STANDARD API

    Hi all

    When we run the ar_receipt_api_pub. APPLY the standard API, the display of the error below.
    But the profile value operating unit is already defined.

    ======================
    ERROR on line 1:
    ORA-20000: APP-11219: Please set the options of debt for this control unit system and ensure in this
    the MO: profile of working unit option is set correctly with an operating unit that is put in place
    in customer accounts.
    ORA-06512: at the 'APPS '. ARP_STANDARD', line 1177
    ORA-06512: at the 'APPS '. ARP_STANDARD', line 2696
    ORA-06512: at the 'APPS '. ARP_STANDARD', line 2705
    ORA-06512: at the 'APPS '. ARP_UTIL', line 30
    ORA-06512: at "APPS.AR_RECEIPT_API_PUB", line 7436
    ORA-06512: at the 'APPS '. APPLY_CASH', line 9
    ORA-06512: at line 1
    ======================

    Please do the needful.

    Thank you.

    Hello

    Please see if the solution to (Note: 257093.1 - Standard API to create recipes AR_RECEIPT_API_PUB.) Create_cash returns an error) help.

    Kind regards
    Hussein

  • DataGrid, error using DateField as the post editor

    Hello

    I am trying to create a DataGrid editable using Flex 2.0.1. One of the columns is of type Date, so I want to use a DateField as the item editor.

    The problem is that I get an error when the focus is removed from the DateField:

    TypeError: Error #1034: Assegnazione di tipo forzata limpeza no:
    Impossibile convertire "10/01/1980" in Date.
    at mx.controls::DataGrid/::itemEditorItemEditEndHandler()

    It seems that the DataGrid control is trying to assign the value of raw string in my data provider object.

    It is a code snippet that reproduce the problem:

    < mx:Script >
    <! [CDATA]
    [Bindable]
    private var lines: collection ArrayCollection = new ArrayCollection();
    private function init (): void {}
    called on creationComplete
    var testRow:PersonVO = new PersonVO();
    testRow.name = "name";
    testRow.surname = "name";
    testRow.birthDate = new Date (1980, 9, 1);
    rows.addItem (testRow);
    }
    []] >
    < / mx:Script >
    < mx:DataGrid dataProvider = "{lines}" editable = "true" >
    < mx:columns >
    < mx:DataGridColumn dataField = "name" / >
    < mx:DataGridColumn dataField = "name" / >
    < mx:DataGridColumn dataField = "birthDate" >
    < mx:itemEditor >
    < mx:Component >
    < mx:DateField formatString = "DD/MM/YYYY" / >
    < / mx:Component >
    < / mx:itemEditor >
    < / mx:DataGridColumn >
    < / mx:columns >
    < / mx:DataGrid >

    Do you have an idea of the cause of this behavior?

    Thank you
    Cosma

    Hello

    I managed to do works by adding the editorDataField = "selectedDate" attribute to the element of DataGridColumn, even leaving the attribute date of birth on the VO as public Date variable.

    Thanks anyway for the help.
    Cosma

  • Cannot Hibernate Qosmio G30 on Win MCE - API error

    Cannot Hibernate Qosmio G30 on Win MCE
    message: not enough system resources... The API error!
    HOW CAN I SOLVE THIS PROBLEM?
    Thanks in advance.

    Hello

    This message appears on the computer that is running Microsoft Windows XP SP2, Windows XP Tablet PC 2005 Edition or Windows XP Media Center Edition 2005 and when the computer uses 1 gigabyte (GB) of RAM or more.
    To resolve this issue, please contact Microsoft Technical Support.
    To obtain the fix, visit the following Microsoft Web site:
    http://support.Microsoft.com/?kbid=909095

    Check this announcement:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=13120

    Here, you have already posted the question!

    Another useful site:
    http://www.ntwizards.NET/2004/10/13/Hibernate

    This should help

  • Trying to do a simple REST, the security token error installation

    I'm trying to put in place a series of calls to API using c# .net. I have combed through the documents of installation, download the sample code from Github and contacted the support of Eloqua, but I can't seem to shake this same error:

    Eloqua security

    A security token that is associated with your session became invalid.

    This can happen if you open multiple instances of Eloqua, in different browser windows or tabs and then log out of one of these bodies. Please either close this window or tab or click here to log in again.

    I checked with Eloqua to make sure that my user name is configured to perform API calls. Now, I'm just trying to make an API call. Finally, I would like to add contacts, send emails and possibly to other activities through the API fires from a web application. I don't know if it's important, but I noticed that all of the code is a client application, not a web application. Is it possible to make API calls in code-behind to a .aspx page?

    The debug error I get is:

    System.Xml.XmlException: ' > ' is an unexpected token. The expected token ' "' or"'. " Line 3, position 62.

    This error occurs because the answer is the above HTML error message.

    Here's the code I'm running. It fires on a Page_Load handler on a .aspx page that compiles:

    var client = new Eloqua.Api.Rest.ClientLibrary. Customer (Instance, UserId, UserPass, 'https://secure.eloqua.com/API/1.0/');

    int emailId = 1;

    Eloqua.Api.Rest.ClientLibrary.Models.Assets.Emails. email email = customer. Assets.Email.Get (emailId);

    Response.Write (e-mail. (ToString());

    From: EloquaClient/Client.cs:

    public Customer (string site, user string , string password, string baseUrl)

    {

    BaseClient = new BaseClient(site, user, password, baseUrl);

    }

    From: EloquaClient/BaseClient.cs:

    public BaseClient (string site, user string , string password, string baseUrl)

    {

    Client = new RestClient

    {

    BaseUrl = baseUrl,

    Authenticator = new HttpBasicAuthenticator(site + '-' + user, password)

    };

    Client.AddHandler ("text/plain", new JsonDeserializer());

    }

    public T get < T > (int id, depth depth = depthletter) where T: RestObject, new)

    {

    var point = new {id = id} T;

    var request = Request. Get (request. ) Type of. Get, item);

    return Run < T > (request);

    }

    From: EloquaClient/Request.cs:

    internal public static RestRequest Get (Type , type, RestObject restObj)

    {

    restObj.type = restObj.Type;

    var request = new RestRequest

    {

    RequestFormat DataFormat=. JSON

    };

    switch (type)

    {

    case The type. Download:

    request. Method = method. GET;

    request. Resources = restObj.Uri + ' / ' + restObj.id;

    Break;

    case The type. Put:

    request. Method = method. PUT;

    request. Resources = restObj.Uri + ' / ' + restObj.id;

    request. AddBody (restObj);

    Break;

    case The type. Publish:

    request. Method = method. POST;

    request. Resources = restObj.Uri;

    request. AddBody (restObj);

    Break;

    case The type. Delete:

    request. Method = method. DELETE;

    request. Resources = restObj.Uri + ' / ' + restObj.id;

    Break;

    case The type. Search:

    request. Method = method. GET;

    var resource = new StringBuilder(100);

    resources. Append (restObj.Uri);

    if (restObj.id! = null & & restObj.id > 0)

    {

    resources. Append ("/" + restObj.id);

    } else

    {

    resources. Append ("s"); / / pluralize endpoint

    }

    var searchObj is restObj as ISearchable;.

    resources. Append ('? ') Search =" + searchObj.searchTerm +.

    "& count =" + searchObj.pageSize +.

    '& page =' + searchObj.page +.

    "& depth =" + restObj.depth

    );

    request. Resources = resource. ToString();

    Break;

    default:

    throw new NotSupportedException (type. (ToString());

    }

    return request;

    }

    From: EloquaClient/BaseClient.cs:

    internal T run < T > (applicationIRestRequest ) where T: ( new)

    {

    Answer IRestResponse< T > = Client.Execute < T > (request);

    if (answer. ResponseStatus! ResponseStatus=. Completed)

    {

    This is where it is throwing this error:

    ' > ' is an unexpected token. The expected token ' "' or"'. " Line 3, position 62.

    response to throw . ErrorException;

    }

    response to return . Data;

    }


    No idea where the code is a failure and how can I get this (supposedly) simple API call to return a value instead of a security token error?


    Thanks in advance.

    Nick

    Hi Fred,.

    I have cleared my cookies and unfortunately it does not solve the problem. Frank Shih to Eloqua stressed that endpoint was wrong ('REST1.0 ' rather than 'secure.eloqua.com/API/1.0' secure.eloqua.com/API/). I fixed who and receive is no longer the security token error. Now, I get a new error, but I'll make another post for that to keep things organized.

    Thank you.

    Nick

  • 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));

    }

    }

    }

    }

  • How to configure Hostname of the node with the REST API?

    I tried the value of hostname of the virtual machine when I deploy an application, but were unsuccessful.  The application consists of all the operating system - there is no installed service but an example here that I used when I deployed the application.  It is based on the release of the REST API "node info": for the particular deployment profile.

    {

    'node': [{}

    "name': 'VM1."

    "properties": [{}

    "hostname": "joe".

    }],

    ["nodeComponent":]

    }]

    }

    But when you use this application I get the error message: "the node 'VM1' does not exist in the current 'deployment profile'. ' even if 'VM1' is the only node in the deployment profile.  I tried other variations and still get the same error message.

    Does anyone have suggestions for how I can configure the hostname of the node when you deploy the application?  Thank you.

    Apparently, the REST API for planning a deployment is designed after characteristic GUI Application Director "rapid deployment". Rapid deployment does not allow the substitution of properties of node as hostname. Idea being the deployment profile once defined and prepared, each individual call of it must change some subset of the properties of the component. We can always create several profiles of deployment to account for changes in node.

    Nevertheless, it seems that property of node specifications would help your situation... so that your comments reached the product team.

    Thank you rags

    This posting is provided as is and confers no rights.

Maybe you are looking for

  • PDF files now have a firefox icon

    WIN XP. Have you checked the settings of binding files and pdf files are oriented toward using Adobe reader. Finished uninstalling FFox31 and icons back to Adobe. Cleaned computer and clean up the completed installation. Icons remained as pdf two reb

  • Problems with flaps preferably

    I have a Macbook Pro El Capitan (10.11.5) 2011 running. I have problems of implementation of system components preferably after startup: it takes a significant amount of time (~ 20 minutes?) before the affected components will be charge: it is not cl

  • The AirPlay video just loading and does not.

    I have an Apple TV 4th Gen with OS 9.2. Whenever I try to airplay, a video of safari or chrome it just load. No difficulty for thi

  • MS Exchange account connects is more after the installation of El Capitan

    I read all the answers on this topic but none does not work for me just now.  Also the mail app works is not with the exchange server does not seem to be linked to the updates in El Capitan is such that she had been fine for the weeks of work. When I

  • My Sansa MP3 player does not connect to the Windows Media Player.

    I connected several times using the same wires.  This time THAT WMP says "connect a device" in the upper right corner.  This is probably an easy fix.  Any suggestions?  Thank you.