mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-08-06 09:26:52 +01:00
Add eight web-services API page knowledge articles (each with .good.al/.bad.al samples), a new al-web-services-review leaf skill, and wire it into al-code-review and the README. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
35 lines
988 B
AL
35 lines
988 B
AL
// Breaking change in place: the published v1.0 is edited rather than versioned.
|
|
// EntityName was renamed from 'customer' to 'client' and the displayName field
|
|
// was removed, so the single declared version now serves a different contract
|
|
// than the one clients integrated against. Every existing consumer breaks.
|
|
page 50355 "WS API Versioning Bad"
|
|
{
|
|
PageType = API;
|
|
APIPublisher = 'contoso';
|
|
APIGroup = 'sales';
|
|
APIVersion = 'v1.0';
|
|
EntityName = 'client';
|
|
EntitySetName = 'clients';
|
|
ODataKeyFields = SystemId;
|
|
SourceTable = Customer;
|
|
DelayedInsert = true;
|
|
|
|
layout
|
|
{
|
|
area(content)
|
|
{
|
|
repeater(records)
|
|
{
|
|
field(id; Rec.SystemId)
|
|
{
|
|
Caption = 'id';
|
|
Editable = false;
|
|
}
|
|
field(number; Rec."No.")
|
|
{
|
|
Caption = 'number';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|