You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test cases provided for Postman has mismatched data field names and as a result, The returned response from the api has null values for those mismatched fields.
Example:
Request
Response
Look at the ExternalIdentifier and ElectronicMailAddresses fields. Both are null in the response because the request had these fields as externalId and emails respectively.
The test case for EnterpriseUser has more mismatched fields.
The text was updated successfully, but these errors were encountered:
My bad, I was trying to integrate this in an existing .net core application that was using text.json for serialization instead of newtonsoft and sadly it does not support DataContract (why Microsoft??). So I might need to change the models with JsonPropertyName.
Shouldn't this project be using the default json serializer for .net core 3.1 instead of using newtonsoft? I mean this is a Microsoft project that doesn't use their own library and doesn't want to support DataContract in their default library either. It's very confusing.
Tasin5541
changed the title
Postman Test data field names does not match the Resource data field names
Postman Test data field names does not match the Resource data field names [See the 1st comment for enhancement suggestion]
Feb 16, 2022
The test cases provided for Postman has mismatched data field names and as a result, The returned response from the api has null values for those mismatched fields.
Example:
Request
Response
Look at the
ExternalIdentifier
andElectronicMailAddresses
fields. Both are null in the response because the request had these fields asexternalId
andemails
respectively.The test case for EnterpriseUser has more mismatched fields.
The text was updated successfully, but these errors were encountered: