# Edit basic details of an event Edit the basic information of an event such as the event name, description, date and time, location, and contacts. Endpoint: POST /v2/events/{eventId}/edit-basic-info Version: v2 Security: Bearer ## Path parameters: - `eventId` (string, required) Event ID Example: "6926658168" ## Request fields (application/json): - `name` (string, required) Name of the event - `type` (string) Type of an event Enum: "GENERIC", "PROGRAM", "PROGRAM_SESSION", "PROGRAM_TRIP" - `description` (string) Description of the event - `documents` (array) Documents attached for an event - `documents.url` (string, required) S3 location of the document. Example: "https://s3.amazonaws.com/bucket-name/folder-name/file-name" - `documents.documentId` (string, required) Unique identifier of the document. Example: "f49d00fe-1eda-4304-ba79-a980f565281d" - `documents.documentMetadata` (object, required) Metadata related to document. - `documents.documentMetadata.documentType` (string, required) Document type. Enum: "BOARDING_PASS", "CONFIRMATION", "INVOICE", "VISA", "MISCELLANEOUS", "OTHERS", "TASK_PROCESSOR", "EVENT_COVER_IMAGE", "LOGO_IMAGE" - `documents.documentMetadata.entityType` (string, required) Entity type against which the document is to uploaded. Enum: "PNR", "COMPANY", "AIR_ITINERARY", "EVENT", "LOCATION_IMAGE" - `documents.documentMetadata.entityId` (string, required) Entity Id for the given entity type. Example: "123124" - `documents.documentMetadata.entityMetadata` (any, required) - `documents.documentMetadata.name` (string, required) Document name. Example: "BoardingPass.pdf" - `startDateTime` (object) Local date and time in ISO 8601 format. - `startDateTime.iso8601` (string, required) Example: "2017-07-21T17:32" - `endDateTime` (object) Local date and time in ISO 8601 format. - `location` (object, required) Location for an event - `location.address` (object) Postal Address Details - `location.address.addressLines` (array, required) Address lines Example: ["Golden Gate Bridge"] - `location.address.administrativeArea` (string) Code of administrative area. For example: DL for Delhi, India. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated. Example: "CA" - `location.address.administrativeAreaName` (string) Name of administrative area. This is full name corresponding to administrativeArea. Like Delhi for DL area code. For some places, code and name maybe same as well like Tokyo. Example: "California" - `location.address.description` (string) Address description Example: "San Francisco Home" - `location.address.isDefault` (boolean) Whether this address is default address in case multiple addresses are specified. Example: true - `location.address.languageCode` (string) BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. Examples: "zh-Hant", "ja", "ja-Latn", "en". Example: "en" - `location.address.locality` (string) Generally refers to the city/town portion of the address. Example: "San Francisco" - `location.address.locationCode` (string) IATA 3-letter location code. See https://www.iata.org/en/services/codes. Example: "LAX" - `location.address.organization` (string) The name of the organization at the address. Example: "Spotnana" - `location.address.postalCode` (string) Postal code of the address. This is a required field when setting for a user/legal entity/company etc. Example: "94130" - `location.address.continentCode` (string) 2 letter continent code of the continent this address falls in. Example: "AF" - `location.address.recipients` (array) The recipient at the address. - `location.address.regionCode` (string, required) Region code of the country/region of the address. Example: "US" - `location.address.regionName` (string) Region name of the country/region of the address. Example: "America" - `location.address.revision` (integer) Example: 1 - `location.address.sortingCode` (string) Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number alone, representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) or "post office indicator" (e.g. Côte d'Ivoire). Example: "Jamaica" - `location.address.sublocality` (string) Sublocality of the address. This can be neighborhoods, boroughs, districts. - `location.address.timezone` (string) Time zone of the address. Example: "America/Los_Angeles" - `location.address.coordinates` (object) Map coordinates of the address. - `location.address.coordinates.latitude` (number, required) Latitude of the Location Example: 77.1025 - `location.address.coordinates.longitude` (number, required) Longitude of the Location Example: 28.7041 - `location.coordinates` (object) Latitude and Longitude for a Location - `contacts` (array) Contacts for the event - `contacts.id` (string, required) - `referenceUsers` (array) Event group reference user ids - `travelerTypes` (array) Allowed traveler types for the event Enum: "UNKNOWN_PERSONA", "EMPLOYEE", "GUEST", "PERSONAL", "RELATIVE", "ADHOC" - `bookingStyle` (string) Whether the event bookings will be self served by the traveler or would be arranged by an agent for the traveler. Enum: "SELF_SERVE", "AGENT_MANAGED" - `policyId` (string) Policy associated with the event. Example: "f7b3b3b3-7b3b-4b3b-8b3b-3b3b3b3b3b3b" - `allowTravelersPolicy` (string) Apply travelers policy when it is less restrictive. Enum: "ALLOWED", "NOT_ALLOWED" - `emailPreferences` (object) Email communication preferences based on bucket types. - `emailPreferences.bucketTypes` (array, required) List of email bucket types. Enum: "BOOKING_CONFIRMATIONS", "BOOKING_CHANGES", "FLIGHT_UPDATES", "APPROVAL_REQUESTS", "APPROVAL_UPDATES", "REMINDERS", "INVOICE_UPDATES" - `emailPreferences.isEnabled` (boolean) Indicates whether emails are disabled. - `emailPreferences.toEmails` (array) List of email address to be included in emails. Example: ["example@email.com"] - `emailPreferences.ccEmails` (array) List of email address to be cc-ed in emails. Example: ["example@email.com"] - `emailPreferences.bccEmails` (array) List of email address to be bcc-ed in emails. Example: ["example@email.com"] - `allowTravelersToRsvp` (string) Allow travelers to rsvp for the event Enum: "ALLOWED", "NOT_ALLOWED" - `internalNotes` (string) Internal notes of the event Example: "Use travelers default as payment method." - `tripOverrides` (object) Trip overrides for the event - `tripOverrides.legalEntity` (object, required) Legal entity override - `tripOverrides.legalEntity.behavior` (string, required) Override behavior for the trip overrides Enum: "OVERRIDE_ALLOWED", "OVERRIDE_NOT_ALLOWED", "OVERRIDE_MANDATORY" - `tripOverrides.legalEntity.legalEntityRef` (object) Reference of an entity - `tripOverrides.legalEntity.legalEntityRef.name` (string) Example: "Name" - `tripOverrides.costCenter` (object, required) Cost center override - `tripOverrides.costCenter.costCenterRef` (object) Reference of an entity - `tripOverrides.department` (object, required) Department override - `tripOverrides.department.departmentRef` (object) Reference of an entity - `tripOverrides.userAttributes` (array, required) List of company specified attribute overrides - `tripOverrides.userAttributes.attribute` (object, required) Company specified user arbitrary attribute. - `tripOverrides.userAttributes.attribute.fixedColumnName` (string, required) Example: "contingentType" - `tripOverrides.userAttributes.attribute.value` (string) Example: "FSTV" - `tripOverrides.rateCodeOverrides` (array) List of rate codes to be overridden for a trip - `tripOverrides.rateCodeOverrides.supplier` (string) Supplier type like Sabre, TravelFusion etc. Enum: "SABRE", "AMADEUS", "TRAVEL_FUSION", "FARELOGIX_NDC", "ATPCO_NDC", "TRAINLINE", "AVIA", "QBR", "BCD", "QANTAS_HOTELS", "SOUTHWEST", "EXPEDIA", "HOTEL_HUB", "NDC", "MARRIOTT", "CLEARTRIP", "KYTE", "GROUNDSPAN", "SABRE_NDC", "BOOKING_COM", "CARTRAWLER", "PREMIER_INN", "TRAVELODGE" - `tripOverrides.rateCodeOverrides.travelType` (string) Travel Type Enum: "AIR", "HOTEL", "CAR", "RAIL", "LIMO", "MISC", "ALL" - `tripOverrides.rateCodeOverrides.rateCodeIds` (array) List of rate code ids Example: ["f49d00fe-1eda-4304-ba79-a980f565281d"] - `inheritedCustomFieldIds` (array) List of custom field IDs that were inherited from parent Example: ["f7b3b3b3-7b3b-4b3b-8b3b-3b3b3b3b3b3b"] - `eventCustomFieldV3Responses` (array) List of custom field responses for an event. - `eventCustomFieldV3Responses.fieldId` (string, required) Custom field id - `eventCustomFieldV3Responses.fieldName` (string) Name of the custom field - `eventCustomFieldV3Responses.armId` (string, required) Arm id which is applicable - `eventCustomFieldV3Responses.readOnly` (boolean) Indicates whether the user can change the pre-selected options. Example: true - `eventCustomFieldV3Responses.hidden` (boolean) Whether this code will be hidden to the user. Example: true - `eventCustomFieldV3Responses.selectedOptions` (array, required) The list of options that are selected by user or auto populated. - `eventCustomFieldV3Responses.selectedOptions.name` (string, required) Value of the selection - `eventCustomFieldV3Responses.selectedOptions.description` (string) Description of the selection - `eventCustomFieldV3Responses.selectedOptions.additionalUserInput` (string) Additional user input - `eventCustomFieldV3Responses.selectedOptions.additionalInfos` (array) Actual values of the additional infos - `eventCustomFieldV3Responses.selectedOptions.additionalInfoConfigs` (array) Additional info configs for the selected option - `inviteEmailConfig` (object) Configuration for event invite/reminder emails - `inviteEmailConfig.emailExcludeCoordinatorInfo` (boolean) Whether to exclude coordinator information in emails sent to travelers. Example: true - `eventCustomFieldResponses` (array) List of custom field responses for the event. - `eventCustomFieldResponses.customFieldId` (string, required) The unique identifier for the custom field. Example: "f49d00fe-1eda-4304-ba79-a980f565281d" - `eventCustomFieldResponses.responseItems` (array) Responses selected by the event coordinator. - `eventCustomFieldResponses.responseItems.response` (string, required) The response of the custom field. It can be a text input from the user or a custom field code if the input is from a radio button or checkbox. Example: "Leisure travel" - `eventCustomFieldResponses.responseItems.additionalInput` (string) This contains additional input to the above response. It will only be used for checkbox with percentage and will contain the percentage value. Example: "20" - `eventCustomFieldResponses.travelerAccess` (string, required) Traveler access for the given custom field. Enum: "HIDDEN", "READ_ACCESS", "WRITE_ACCESS" ## Response 200 fields (application/json): - `id` (string) Example: "some-id" ## Response 400 fields (application/json): - `debugIdentifier` (string) Link to debug the error internally. - `errorMessages` (array) - `errorMessages.errorCode` (string) Error code to identify the specific errors. - `errorMessages.message` (string) Message containing details of error. - `errorMessages.errorParameters` (array) Error message parameters. - `errorMessages.errorParameters.name` (string) Parameter name - `errorMessages.errorParameters.value` (string) Parameter value - `errorMessages.errorDetail` (string) More details about the error. ## Response 401 fields (application/json): - `debugIdentifier` (string) Link to debug the error internally. - `errorMessages` (array) - `errorMessages.errorCode` (string) Error code to identify the specific errors. - `errorMessages.message` (string) Message containing details of error. - `errorMessages.errorParameters` (array) Error message parameters. - `errorMessages.errorParameters.name` (string) Parameter name - `errorMessages.errorParameters.value` (string) Parameter value - `errorMessages.errorDetail` (string) More details about the error. ## Response 403 fields (application/json): - `debugIdentifier` (string) Link to debug the error internally. - `errorMessages` (array) - `errorMessages.errorCode` (string) Error code to identify the specific errors. - `errorMessages.message` (string) Message containing details of error. - `errorMessages.errorParameters` (array) Error message parameters. - `errorMessages.errorParameters.name` (string) Parameter name - `errorMessages.errorParameters.value` (string) Parameter value - `errorMessages.errorDetail` (string) More details about the error.