>>: Asset Manager Update

25 views
Skip to first unread message

Eugene Tolmachev

unread,
Feb 9, 2021, 11:26:46 AM2/9/21
to SherpaDesk API, sup...@altechx.com, liz...@gmail.com



От: sup...@altechx.com <sup...@altechx.com>
Отправлено: 9 февраля 2021 г. 5:31
Кому: Eugene Tolmachev <eug...@micajah.com>; Patrick Clements <pat...@sherpadesk.com>
Копия: Michael Proctor Clements <mi...@sherpadesk.com>; liz...@gmail.com <liz...@gmail.com>
Тема: Re: Asset Manager Update
 
Am using asynchronous https api call , using retrofit https library in android, i do have postman as well but any example would be helpful with moving bulk asset such as 2 asset at time to one location 

Regards,
Liz n Ash

 

From: Eugene Tolmachev <eug...@micajah.com>
Sent: Monday, February 8, 2021 3:53 PM
To: Patrick Clements
Cc: sup...@altechx.com; Michael Proctor Clements; liz...@gmail.com
Subject: Re: Asset Manager Update
 
Hi,

Do you use Postman, or other tool to send requests to Api?

Eugene

Совместно мы можем что-то сдвинуть. 

7 февр. 2021 г., в 16:18, Patrick Clements <pat...@sherpadesk.com> написал(а):

Ah, ok.

 

Let me tie you directly in with Eugene.  He’s going to be better in getting you answers to these questions.

 

Eugene – Can you assist these guys in helping make these bulk asset calls?  Maybe we add this to the forum for other users to have access as well.

 

From: "sup...@altechx.com" <sup...@altechx.com>
Date: Saturday, February 6, 2021 at 9:02 AM
To: Patrick Clements <pat...@sherpadesk.com>
Cc: Clements Mike <mi...@sherpadesk.com>, "liz...@gmail.com" <liz...@gmail.com>
Subject: Re: Asset Manager Update

 

Thanks Patrick for that information I referred to that earlier and my question to that was How to call the multiple asset api in single line statement because that is how we’re parsing and sending 

 

For example 

 

api.sherpadesk.com/assets/999/bulk?format=json&location_id=1234

So if that is one of the representation of api call for bulk and if i were to pass two asset where would i add and how would i acheive that?

 

 

Regards,

Liz n Ash

 

 


From: Patrick Clements <pat...@sherpadesk.com>
Sent: Friday, February 5, 2021 5:49 PM
To: sup...@altechx.com
Cc: 'Michael Proctor Clements'; liz...@gmail.com
Subject: Re: Asset Manager Update

 

Hey Liz/Ash

 

I talked to Eugene.  He says we currently have a an API call to push over 100 assets in bulk.

 

 

https://github.com/sherpadesk/api/wiki#bulk-operations-on-add-and-update-assets

 

Let us know if this works.

 

 

From: Patrick Clements <pat...@sherpadesk.com>
Date: Friday, February 5, 2021 at 10:19 AM
To: "sup...@altechx.com" <sup...@altechx.com>
Cc: Clements Mike <mi...@sherpadesk.com>, "liz...@gmail.com" <liz...@gmail.com>
Subject: Re: Asset Manager Update

 

Will do.  I’ll connect with Eugene and get this implemented ASAP.

 

Thanks

 

From: "sup...@altechx.com" <sup...@altechx.com>
Date: Friday, February 5, 2021 at 10:07 AM
To: Patrick Clements <pat...@sherpadesk.com>
Cc: Clements Mike <mi...@sherpadesk.com>, "liz...@gmail.com" <liz...@gmail.com>
Subject: Re: Asset Manager Update

 

Hi 

Patrick we need one assistance in moving bulk asset if we can get one example of api call to move bulk assets at single location Would be helpful.

 

 

 

 

Regards,

Liz n Ash

Eugene Tolmachev

unread,
Feb 9, 2021, 11:33:38 AM2/9/21
to SherpaDesk API, sup...@altechx.com, liz...@gmail.com
Hi,

here is Postman example and config:


and PUT to change or POST to create with array of commands

{
    "bulk" : [
"assets/1251342?location_id=58",
"assets/1245638?location_id=58"
    ]
}

here are screens:








От: sherpad...@googlegroups.com <sherpad...@googlegroups.com> от имени Eugene Tolmachev <eug...@micajah.com>
Отправлено: 9 февраля 2021 г. 18:26
Кому: SherpaDesk API <sherpad...@googlegroups.com>; sup...@altechx.com <sup...@altechx.com>; liz...@gmail.com <liz...@gmail.com>
Тема: >>: Asset Manager Update
 
--
You received this message because you are subscribed to the Google Groups "SherpaDesk API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sherpadesk-ap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sherpadesk-api/CY4PR04MB0663199E9FAF5A048CE3B92BC98E9%40CY4PR04MB0663.namprd04.prod.outlook.com.

sup...@altechx.com

unread,
Feb 9, 2021, 5:02:01 PM2/9/21
to Eugene Tolmachev, SherpaDesk API, liz...@gmail.com

Hi eugene,

Thank you so much that helps I’ll try using that

Regards,
Liz n Ash

 

From: Eugene Tolmachev <eug...@micajah.com>
Sent: Tuesday, February 9, 2021 11:33 AM
To: SherpaDesk API; sup...@altechx.com; liz...@gmail.com
Subject: RE: Asset Manager Update
 

sup...@altechx.com

unread,
Mar 21, 2021, 8:14:10 PM3/21/21
to Eugene Tolmachev, SherpaDesk API, liz...@gmail.com
Hi Eugene,

I was doing testing with the api for bulk moving of asset and I followed your steps it’s giving me response code as 400 instead of 200, Will you be able to tell me where am I going wrong by looking at the request on your end.

Thanks & Regards,
Liz n Ash

 

From: sup...@altechx.com <sup...@altechx.com>
Sent: Tuesday, February 9, 2021 10:37 AM
To: Eugene Tolmachev; SherpaDesk API; liz...@gmail.com

patrick.clements

unread,
Mar 25, 2021, 12:43:15 PM3/25/21
to SherpaDesk API
Hey Eugene - Did you update Ash's request on this API bulk move call?

Eugene

unread,
Mar 26, 2021, 1:16:16 AM3/26/21
to SherpaDesk API
Hi,

I see you did correct request to 

PUT https://api.sherpadesk.com/assets/bulk?format=json  

but you have empty bulk parameter
{"bulk":null}

need to use

{ "bulk" : [ "assets/826717?status_id=1&location_id=171897",   "assets/826718?status_id=1&location_id=171898"   ] }  

or so

Eugene

понедельник, 22 марта 2021 г. в 02:14:10 UTC+2, sup...@altechx.com:
Reply all
Reply to author
Forward
0 new messages