creating-bc-custom-api
Installation
SKILL.md
Skill: Creating BC Custom APIs
Key Concept
| Type | Object | Operations | Use Case |
|---|---|---|---|
| API Page | PageType = API |
CRUD (Read-Write) | Expose single table |
| API Query | QueryType = API |
Read-only | Join multiple tables |
For consuming Microsoft standard APIs, use al-standard-api skill instead.
Validation Gates
- After Step 2: API page compiles, GET returns 200 with fields
- After Step 3: Subpage works, navigation property expands correctly
- Final: All CRUD operations work (GET 200, POST 201, PATCH 200, DELETE 204)
Note: OData UI endpoints deprecated BC30 (2027). Always use API pages.