• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERRest: Is there a way to create multiple entries in one time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERRest: Is there a way to create multiple entries in one time


  • Subject: Re: ERRest: Is there a way to create multiple entries in one time
  • From: Michael Kondratov <email@hidden>
  • Date: Tue, 26 Aug 2014 15:43:14 -0400

Fred,
You could put the names into a URL parameter then process it in the create section of rest controller.
Michael Kondratov
Aspire Auctions, Inc.
www.aspireauctions.com
216-231-5515

On Aug 26, 2014, at 3:39 PM, Fred Opims <email@hidden> wrote:

Hi Paul!
Hi Michael!
Thank you all for your responses.
By multiples entries, i mean multiples post request to create an entity.
For example, to create one entity with HTTP Client, i'm doing as shown in this image:
-Creating one entity User with the body {"name":"Fred"}.

<Screen Shot 2014-08-26 at 3.25.41 PM.png>

But if i need to create 100 Users entities, i need to change the body 100 times in HTTP client which is not optimal.
{"name":"Freddy"},
{"name":"Eric"}
{"name":"Andre"}
...
{"name":"Pascal"}

Is there a way to create these 100 users in one time by putting theses 20 post in a file or somewhere else ?

Thank you.

Fred


On Tue, Aug 26, 2014 at 12:49 PM, Paul Yu <email@hidden> wrote:
Fred

What do you mean my multiple entries?  Multiple master objects?  or Master->>Detail objects?

Paul
On Aug 26, 2014, at 11:07 AM, Michael Kondratov <email@hidden> wrote:

It could be possible by creating a custom Rest parser.

Michael Kondratov
Aspire Auctions, Inc.
216-231-5515

On Aug 26, 2014, at 7:50 AM, Fred Opims <email@hidden> wrote:

Hello!
I'm using ERRest  and  to create an entry, I'm using the POST HTTP method with JSON format.
Is there a way to create multiple entries in one time with curl or any other http client ?

Thank you!

Best!

Fred
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)

This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)

This email sent to email@hidden


Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: ERRest: Is there a way to create multiple entries in one time
      • From: Fred Opims <email@hidden>
References: 
 >ERRest: Is there a way to create multiple entries in one time (From: Fred Opims <email@hidden>)
 >Re: ERRest: Is there a way to create multiple entries in one time (From: Michael Kondratov <email@hidden>)
 >Re: ERRest: Is there a way to create multiple entries in one time (From: Paul Yu <email@hidden>)

  • Prev by Date: Re: ERRest: Is there a way to create multiple entries in one time
  • Next by Date: Re: ERRest: Is there a way to create multiple entries in one time
  • Previous by thread: Re: ERRest: Is there a way to create multiple entries in one time
  • Next by thread: Re: ERRest: Is there a way to create multiple entries in one time
  • Index(es):
    • Date
    • Thread