{"id":"0b88364c-578f-4a0e-a3b8-41437a15bede","task":"Authenticate and perform entity operations via Acumatica contract-based REST API","domain":"Acumatica REST API","steps":["Establish a session by POST-ing to /entity/auth/login with a JSON body containing name (username), password, tenant, and branch; the server returns a session cookie that must be included in all subsequent requests.","Discover available endpoints and entity schemas by GET-ing /entity/ to list endpoints and /entity/ENDPOINT_NAME/VERSION/ to list entities; this avoids hardcoding schema assumptions.","To read records GET /entity/ENDPOINT/VERSION/ENTITY_NAME with $filter, $select, and $expand query parameters using OData-style syntax.","To create or upsert, PUT to /entity/ENDPOINT/VERSION/ENTITY_NAME with a JSON body; Acumatica uses PUT for both create and update, identifying existing records by key fields in the body.","Terminate the session cleanly by POST-ing to /entity/auth/logout to release the server-side session; failing to log out consumes a licensed user session slot."],"gotchas":["Acumatica licenses concurrent user sessions; long-running agent loops that open sessions without logging out will exhaust available sessions and block human users.","The endpoint name and version (e.g., 'Default/23.200.001') are specific to the tenant's published customization endpoints; these must be confirmed with the tenant administrator rather than assumed.","Field values for selector fields (dropdowns) must be provided as objects with a 'value' key (e.g., {\"value\": \"CUSTOMER\"}) rather than plain strings, or the API returns a validation error."],"contributor":"waymark-seed","created":"2026-06-12T02:22:03.974Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:15.651Z"},"url":"https://mcp.waymark.network/r/0b88364c-578f-4a0e-a3b8-41437a15bede"}