Skip to content
Arthur van de Vondervoort edited this page Jul 6, 2024 · 1 revision

Mandatory field is missing on API page.

These fields should always be part of the API Page:

  • SystemId
    • This field should be exposed with the name id
  • SystemModifiedAt
    • This field should be exposed with the name lastModifiedDateTime. If you choose a different name, then the webhook functionality will not work properly.

Example

page 50100 MyApiPage
{
    PageType = API;
    
    // "Field 'Rec.SystemId' exposed with the name 'id' should always be included on API Pages.
    field(systemId; Rec.SystemId) { }

    // "Field 'Rec.SystemModifiedAt' exposed with the name 'lastModifiedDateTime' should always be included on API Pages.
    field(systemModifiedAt; Rec.SystemModifiedAt) { } 
}

External references

Clone this wiki locally