NYCPlanning / deprecated-labs-zap-api

Deprecated version of the ZAP API, see https://github.com/NYCPlanning/labs-zap-api
Other
5 stars 3 forks source link

Send disposition status upon submission #229

Closed hannahkates closed 4 years ago

hannahkates commented 5 years ago
hannahkates commented 5 years ago

Will confirm if this is necessary after testing team tests.

hannahkates commented 4 years ago

Confirmed, CRM isn't automatically updating this field. We need to send the status updates to CRM. These are likely enum options similar to other drop down value option sets.

allthesignals commented 4 years ago

https://dcppfsuat2.crm9.dynamics.com/api/data/v9.1/EntityDefinitions(LogicalName='dcp_communityboarddisposition')/Attributes(ad7b607f-a9c8-47cb-9763-6917ce44512e)/Microsoft.Dynamics.CRM.StatusAttributeMetadata?$select=LogicalName&$expand=OptionSet($select=Options),GlobalOptionSet($select=Options)

Options for statuscode

allthesignals commented 4 years ago

What did we decide is the definition of "opt out"? And submitting recommendation means a certain number of fields were filled out for each rec?

allthesignals commented 4 years ago

https://dcppfsuat2.crm9.dynamics.com/api/data/v9.1/EntityDefinitions(LogicalName='dcp_communityboarddisposition')/Attributes(dfbf8336-7e6b-43e2-b15c-b16b8b1c396f)/Microsoft.Dynamics.CRM.PicklistAttributeMetadata?$select=LogicalName&$expand=OptionSet($select=Options),GlobalOptionSet($select=Options)

ispublichearingrequired has a picklist type

allthesignals commented 4 years ago

Getting this error when posting: '2 is not a valid status code for state code dcp_communityboarddispositionState.Active on dcp_communityboarddisposition with Id 916d49fc-cef9-e911-a9b9-001dd8308fb0.'