Create Radiations
POST
/v3/ingest/radiations/
const url = 'https://example.com/v3/ingest/radiations/';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '[{"anatomical_site_irradiated":"LEFT ABDOMEN","program_id":"example","radiation_boost":"Yes","radiation_therapy_dosage":1,"radiation_therapy_dosage_not_available":false,"radiation_therapy_fractions":1,"radiation_therapy_fractions_not_available":false,"radiation_therapy_modality":"Megavoltage radiation therapy using photons (procedure)","radiation_therapy_type":"External","reference_radiation_treatment_id":"example","submitter_donor_id":"example","submitter_treatment_id":"example","uuid":"example"}]'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v3/ingest/radiations/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '[ { "anatomical_site_irradiated": "LEFT ABDOMEN", "program_id": "example", "radiation_boost": "Yes", "radiation_therapy_dosage": 1, "radiation_therapy_dosage_not_available": false, "radiation_therapy_fractions": 1, "radiation_therapy_fractions_not_available": false, "radiation_therapy_modality": "Megavoltage radiation therapy using photons (procedure)", "radiation_therapy_type": "External", "reference_radiation_treatment_id": "example", "submitter_donor_id": "example", "submitter_treatment_id": "example", "uuid": "example" } ]'Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” Media type application/json
Payload
Array<object>
RadiationIngestSchemaobject
anatomical_site_irradiated
Any of:
RadiationAnatomicalSiteEnum
string
null
program_id
required
Program Id
string
radiation_boost
Any of:
uBooleanEnum
string
null
radiation_therapy_dosage_not_available
Radiation Therapy Dosage Not Available
boolean
radiation_therapy_fractions_not_available
Radiation Therapy Fractions Not Available
boolean
radiation_therapy_modality
Any of:
RadiationTherapyModalityEnum
string
null
radiation_therapy_type
Any of:
TherapyTypeEnum
string
null
submitter_donor_id
required
Submitter Donor Id
string
submitter_treatment_id
required
Submitter Treatment Id
string
Responses
Section titled “ Responses ”OK