Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Full-record Insert, Update and Deletes #61

Closed
NeilMcKLogic opened this issue Aug 10, 2017 · 2 comments
Closed

Full-record Insert, Update and Deletes #61

NeilMcKLogic opened this issue Aug 10, 2017 · 2 comments

Comments

@NeilMcKLogic
Copy link

Related to Issue 26: #26

How does one do a full-record Insert, Update and/or Delete (say, an Organization and all related/child records) without having to call the endpoint for each record type? For even moderately sized Organization records, you could end up with hundreds or thousands of write requests to the API for a single Organization, when you add up all the Addresses, Contacts, Phones, and all of the subrecord types.

Should we consider a way to push full groups of records in a single request, at least for, say, the "core" record types of Organziation, Service and Location? This is sort of the "write" side of the coin versus the topics about which fields and subrecord types to return in GETs (simple, complete, custom).

@kinlane
Copy link
Contributor

kinlane commented Aug 31, 2017

POST and PUT on /everything for all central resources #45

Basic DELETE on any core resource should delete its subresources

@kinlane
Copy link
Contributor

kinlane commented Sep 1, 2017

Gonna close this as its a dupe.

@kinlane kinlane closed this as completed Sep 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants