ArchiveProvider "ExtraTable" renamed to "CustomObject" (v.10.3.8)

lock
push_pin
done
Beantwoord
3

Under the custom objects pilot project, SuperOffice has released a number of extensibility points pertaining to Custom Objects included a new (undocumented) archive provider called ExtraTable.

In the next release, version 10.3.8, the ExtraTable archive provider is now called CustomObject

The provider is used by specifying CustomObject:[TableName], where TableName is the name of the extra table. For example:

GET https://{{env}}.superoffice.com/{{tenant}}/api/v1/archive/CustomObject:y_equipment
Accept: application/json
Authorization: Bearer {{token}}

This is available in the SOD environment today.

 

1 jul 2024 | 10:28 a.m.

Alles Antwoorden (3)

Hi Tony

Where do I find the documentation for the ExtraTable/CustomObject archive provider?

There is a link to CustomObject on this page, but the page doesn't exist. There's no link to ExtraTable.

19 sep 2024 | 10:03 a.m.
Yeah, that seems like a bug in the docs... Will look into fixing that.
Meanwhile:
https://docs.superoffice.com/en/api/netserver/web-services/howto/custom-objects/custom-objects-search.html

Hope this helps
19 sep 2024 | 10:19 a.m.
Thank you, Tony. Just before you replied I did what you said in your original post:
GET https://{{env}}.superoffice.com/{{tenant}}/api/v1/archive/CustomObject:y_equipment

And that worked perfectly for my use case, it simply returns all the rows in the table, which was exactly what I needed.
20 sep 2024 | 06:25 a.m.

Reply toevoegen