Link To Pipedrive API

i try to use two API in Pipedrive API

• Get details of deal (Deal id =122)
• Get all Deal Fields

but i don’t know how to link this to result return from these API