APIs & Integrations

GabrielSan
Member

Missing property from HttpWebRequest

Hello community i'm building a .exe cliente in C# to connect through Hubspot and retrieve information.

 

I created a property called idsapcontact which is a string and updated the records for it to appear as it shows here

GabrielSan_0-1664962853892.png

 

whenever i try to get this information from my C# code with the property incuded in the url

as it shows here 

GabrielSan_1-1664963194887.png

 

whenever i try to get in POSTMAN i do recieve the data as shown here

GabrielSan_2-1664963258124.png

 

 

I'm at lost i've tried everything but i dont get in the httpwebrequest response the "idsapcontact" property 

 

am i missing something?

 

my auth method is Token by the application which have both read and write scopes for contact

GabrielSan_3-1664963351620.png

 

 

Would like some feedback on what im doing wrong.

 

regards

 

0 Upvotes
1 Reply 1
GabrielSan
Member

Missing property from HttpWebRequest

SOLVED:

 

Was missing the JSONproperty in the class

 

[JsonProperty("idsapcontact")]
public string idsapcontact { get; set; }

0 Upvotes