Skip to main content
Question

Create Global Values using API

  • January 23, 2023
  • 9 replies
  • 265 views

Forum|alt.badge.img+2

Hi Community, 

Could someone please help me on this?
I am trying to create global values using control room API but getting response as “not found”. 
 

Method: POST

URI : “controlroomURL\v1\globalvalues\details\new”

Body parameter :

{
    "name": "acb",
    "isOverridable": true,
    "type": "STRING",
    "string": "Test@123"
}

9 replies

Forum|alt.badge.img+22
  • Most Valuable Pathfinder
  • January 23, 2023

Hi @Dipti 8750 

Curious to know does AA has released API to update Global values? If yes can you share the documentation from where you got this details?


rbkadiyam
Premier Pathfinder | Tier 7
Forum|alt.badge.img+17
  • Premier Pathfinder | Tier 7
  • January 23, 2023

@Dipti 8750  did you find any documentation on this api existience, I did tried for v1 and v2 same not found… if you have any document or url reference on this particular api call will check… I verified A360 current documentation, unable to find this api


Forum|alt.badge.img+2
  • Author
  • Cadet | Tier 2
  • January 25, 2023

Hi @Dipti 8750 

Curious to know does AA has released API to update Global values? If yes can you share the documentation from where you got this details?

Hi @ChanduMohammad 

I was not able to find any related document , however I found a bot in bot store which was using API to delete global values.


Forum|alt.badge.img+2
  • Author
  • Cadet | Tier 2
  • January 25, 2023

@Dipti 8750  did you find any documentation on this api existience, I did tried for v1 and v2 same not found… if you have any document or url reference on this particular api call will check… I verified A360 current documentation, unable to find this api

@rbkadiyam I was not able to find any related document , however I found a bot in bot store which was using API to delete global values.


Forum|alt.badge.img+4
  • Navigator | Tier 3
  • January 25, 2023

You can refer to the below project (which uses CR APIs) to import Global values using a excel file. I have used this & it works well.

 

https://github.com/aagirre92/A360_GLOBAL_VALUE_EXPORT


Forum|alt.badge.img+22
  • Most Valuable Pathfinder
  • January 25, 2023

@Dipti 8750  did you find any documentation on this api existience, I did tried for v1 and v2 same not found… if you have any document or url reference on this particular api call will check… I verified A360 current documentation, unable to find this api

@rbkadiyam I was not able to find any related document , however I found a bot in bot store which was using API to delete global values.

Hi @Dipti 8750 

Its recommend to check with AA by placing a support case before you use any APIs that are not published publicly. For time being this might work if AA changes the schema your solution will not work and you will not know.


Andoni_1
Navigator | Tier 3
Forum|alt.badge.img+10
  • Navigator | Tier 3
  • January 26, 2023

@Dipti 8750 try this:

 


Forum|alt.badge.img+2
  • Author
  • Cadet | Tier 2
  • January 27, 2023

You can refer to the below project (which uses CR APIs) to import Global values using a excel file. I have used this & it works well.

 

https://github.com/aagirre92/A360_GLOBAL_VALUE_EXPORT

Thank you! @RuchirAgarwal , this worked for me.

 


Forum|alt.badge.img+2
  • Author
  • Cadet | Tier 2
  • January 27, 2023

@Dipti 8750 try this:

 

Thanks! @Andoni , yes this is working.