We’ve developed some resources to help you work effectively from home during COVID-19 Click to learn more

Sale CustomFields not populated

Hello,

The documentation of GET sale/{id} states the following:

The individual {SuperOffice.Services88.SaleEntity.ExtraFields} and UserDefinedFields properties are deprecated in favor of this combined collection.

When I retreive an entity I get the following result:

 

{

...

UserDefinedFields: { 'SuperOffice:1': '[F:0]' },
ExtraFields: {},
CustomFields: {},

}

 

Is this a bug or am I doing something wrong?

 

Erik

 

RE: Sale CustomFields not populated

Hello,

What is the version of SuperOffice that your using the REST api of? The addition of the CustomFields property is very recent.

Av: David Hollegien 29. jul 2020

RE: Sale CustomFields not populated

SuperOffice 9.1 Build Release9_C-2020.07.06-01

I should note that CustomFields is populated on the GET contact/{id} endpoint.

Av: Erik Westra 29. jul 2020

RE: Sale CustomFields not populated

Looks like CustomFields hasn't reached Sale, Project, Follow-up or Document yet... Just Company (contact) and Contact (person).

Fortunately deprecated doesn't mean obsolete! :-/

Thanks for asking about this!

 

Av: Tony Yates 29. jul 2020