Closed sg3847 closed 1 year ago
Implement the following API endpoints for organizations:
JSON payload for POST and PUT: { "data": { "type": "Organization", "id": null, "attributes": { "ror": "", "name": "", "address": "", "city": "", "state": "", "zip": "", "country": "" } } } E.g. { "data": { "type": "Organization", "id": 5, "attributes": { "ror": "00ghtc022", "name": "National Physical Laboratory", "address": "4222 Armbrester Drive", "city": "Los Angeles", "state": "CA", "zip": "90067", "country": "USA" } } }
{ "data": { "type": "Organization", "id": null, "attributes": { "ror": "", "name": "", "address": "", "city": "", "state": "", "zip": "", "country": "" } } }
{ "data": { "type": "Organization", "id": 5, "attributes": { "ror": "00ghtc022", "name": "National Physical Laboratory", "address": "4222 Armbrester Drive", "city": "Los Angeles", "state": "CA", "zip": "90067", "country": "USA" } } }
Implement the following API endpoints for organizations:
JSON payload for POST and PUT:
{ "data": { "type": "Organization", "id": null, "attributes": { "ror": "", "name": "", "address": "", "city": "", "state": "", "zip": "", "country": "" } } }
E.g.{ "data": { "type": "Organization", "id": 5, "attributes": { "ror": "00ghtc022", "name": "National Physical Laboratory", "address": "4222 Armbrester Drive", "city": "Los Angeles", "state": "CA", "zip": "90067", "country": "USA" } } }