Save Restrictions And Get Criteria Information2
Save an array of restrictions for later use as search criteria (including as dynamic selection and Find).
Then, return the same result as a call to GetCriteriaInformation would have done. The purpose is to encapsulate saving and updating of a GUI in one round trip. NsApiSlow threshold: 5000 ms.
Headers
Convert string references and multi-language values into a specified language (iso2) code.
Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.
Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.
Specify the timezone code that you would like date/time responses converted to.
The application token that identifies the partner app. Used when calling Online WebAPI from a server.
Query Parameters
Optional comma separated list of properties to include in the result. Other fields are then nulled out to reduce payload size: "Name,department,category". Default = show all fields.
Body
StorageType, ProviderName, StorageKey, Restrictions, StaticColumns
SaveRestrictionsAndGetCriteriaInformation2: Save an array of restrictions for later use as search criteria (including as dynamic selection and Find). Then, return the same result as a call to GetCriteriaInformation would have done. The purpose is to encapsulate saving and updating of a GUI in one round trip.
Response
OK
Carrier for criteria information. It contains all the search criteria - that is, ArchiveRestrictionInfo - objects, including a column specification. In addition, it contains the same criteria expressed as an archive, with an array of ArchiveColumnInfo specifications and a set of ArchiveRow rows. The rows of the archive form a subset of the restriction array. Carrier object for CriteriaInformation. Services for the CriteriaInformation Carrier is available from the Find Agent.
Array of ArchiveRestrictionInfo restriction specifications (for the first restrictiongroup if there are more than one group
Array of ColumnInfo column specifications
Array of archive list items, i.e., the service layer carrier for archive rows. These are the criteria, represented as archive rows.
Array of restrictiongroups, including the default first group of restrictions
Wraps a table right together with an explanatory reason. Code can indicate why access is restricted.
Field property dictionary mapping field names to field access rights.
Related topics
SuperOffice.WebApi.Data.Find SaveRestrictionsAndGetCriteriaInformation2RequestNSFindAgentSuperOffice.WebApi.Agents.IFindAgentSuperOffice.WebApi.Agents.FindAgentSave Restrictions And Get Criteria InformationSuperOffice.WebApi.Data.Find SaveRestrictionsAndGetCriteriaInformationRequest