{"items":[{"type":"link","label":"User Management API","link":"/openapi/usersapi","routeSlug":"/openapi/usersapi","content":{"contentType":"overview","meta":{"name":"User Management API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"UsersApi.json","url":"/_bundle/openapi/UsersApi.json?download"},{"kind":"download","label":"UsersApi.yaml","url":"/_bundle/openapi/UsersApi.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"User Management API (v2)","showPageActions":true}],"sectionId":"/openapi/usersapi"}]}]}},{"type":"group","label":"Users","link":"/openapi/usersapi/users","routeSlug":"/openapi/usersapi/users","items":[{"label":"Create user","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/createuser","routeSlug":"/openapi/usersapi/users/createuser","metadata":{"seo":{"title":"Create user","description":"This endpoint is used to create user profiles in Spotnana. This is typically used by partner companies to onboard user profiles of their customer organizations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createUser","name":"Create user","isWebhook":false,"pointer":"/paths/~1v2~1users/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint is used to create user profiles in Spotnana. This is typically used by\npartner companies to onboard user profiles of their customer organizations.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UserCreateRequest"}},"schemaId":"components/schemas/UserCreateRequest","pointer":"/paths/~1v2~1users/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v2/users","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/UserCreateRequest"}},"responseCodes":["201","401","403"],"pointer":"/v2/users","href":"users/createuser","openApiOperationId":"createUser","summary":"Create user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"schemaId":"components/schemas/UserCreateRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UserCreateRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/EntityId"}},"schemaId":"components/schemas/EntityId"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201","schemaId":"components/schemas/EntityId","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/EntityId"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users"},{"label":"Query user","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/queryuser","routeSlug":"/openapi/usersapi/users/queryuser","metadata":{"seo":{"title":"Query user","description":"This endpoint queries user of given company based on given identifier like email or external ID. In case includeInactive is true, inactive users are also included in the response."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"queryUser","name":"Query user","isWebhook":false,"pointer":"/paths/~1v2~1users/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Query user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint queries user of given company based on given identifier like email or external ID.\nIn case includeInactive is true, inactive users are also included in the response."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"companyId","in":"query","schemaId":"schema_0","description":"Identifier for company to search user for. Please specify one of the companyId or tmcId.","example":"4974a66b-7493-4f41-908c-58ba81093947"},{"name":"tmcId","in":"query","schemaId":"schema_0","description":"Identifier for TMC to search user for. Please specify one of the companyId or tmcId.","example":"b83e9704-2e8e-4256-90bf-2e59c1bcf9f2"},{"name":"email","in":"query","schemaId":"schema_1","description":"Email ID of the user.","example":"user@example.com"},{"name":"externalId","in":"query","schemaId":"schema_2","description":"The partner-assigned user identifier.","example":"123456"},{"name":"employeeId","in":"query","schemaId":"schema_2","description":"Employee ID of the user.","example":"EMP123456"},{"name":"includeInactive","in":"query","schemaId":"schema_3","description":"If true, include inactive users in the response.","example":true}],"pointer":"/paths/~1v2~1users/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/users","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[],"query":[{"name":"companyId","in":"query","example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"},{"name":"tmcId","in":"query","example":"b83e9704-2e8e-4256-90bf-2e59c1bcf9f2","schemaId":"schema_0"},{"name":"email","in":"query","example":"user@example.com","schemaId":"schema_1"},{"name":"externalId","in":"query","example":"123456","schemaId":"schema_2"},{"name":"employeeId","in":"query","example":"EMP123456","schemaId":"schema_2"},{"name":"includeInactive","in":"query","example":true,"schemaId":"schema_3"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401","403"],"pointer":"/v2/users","href":"users/queryuser","openApiOperationId":"queryUser","summary":"Query user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserSummaryList"}},"schemaId":"components/schemas/UserSummaryList"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/UserSummaryList","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserSummaryList"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users"},{"label":"List users","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/listusersv3","routeSlug":"/openapi/usersapi/users/listusersv3","metadata":{"seo":{"title":"List users","description":"List users of a specific TMC or a company."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listUsersV3","name":"List users","isWebhook":false,"pointer":"/paths/~1v3~1users~1list/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List users","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"List users of a specific TMC or a company."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/ListUsersV3Request"}},"schemaId":"components/schemas/ListUsersV3Request","pointer":"/paths/~1v3~1users~1list/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v3/users/list","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/ListUsersV3Request"}},"responseCodes":["200","401","403","404"],"pointer":"/v3/users/list","href":"users/listusersv3","openApiOperationId":"listUsersV3","summary":"List users"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"schemaId":"components/schemas/ListUsersV3Request","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/ListUsersV3Request"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListUsersV3Response"}},"schemaId":"components/schemas/ListUsersV3Response"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v3~1users~1list/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListUsersV3Response","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListUsersV3Response"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v3/users/list"},{"label":"Get user","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/getuserinfo","routeSlug":"/openapi/usersapi/users/getuserinfo","metadata":{"seo":{"title":"Get user","description":"This endpoint gets user details for user ID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getUserInfo","name":"Get user","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint gets user details for user ID."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"includeInactive","in":"query","schemaId":"schema_4","description":"Include inactive users in the response."}],"pointer":"/paths/~1v2~1users~1{userId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/users/{userId}","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[{"name":"includeInactive","in":"query","example":true,"schemaId":"schema_4"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/v2/users/{userId}","href":"users/getuserinfo","openApiOperationId":"getUserInfo","summary":"Get user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserProfile"}},"schemaId":"components/schemas/UserProfile"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/UserProfile","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserProfile"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}"},{"label":"Delete user","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/deleteuser","routeSlug":"/openapi/usersapi/users/deleteuser","metadata":{"seo":{"title":"Delete user","description":"This endpoint deletes a user by user ID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteUser","name":"Delete user","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint deletes a user by user ID."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/v2/users/{userId}","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["204","401","403"],"pointer":"/v2/users/{userId}","href":"users/deleteuser","openApiOperationId":"deleteUser","summary":"Delete user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}/delete/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}"},{"label":"Update user","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/updateuser","routeSlug":"/openapi/usersapi/users/updateuser","metadata":{"seo":{"title":"Update user","description":"Update user"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateUser","name":"Update user","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UserUpdateRequest"}},"schemaId":"components/schemas/UserUpdateRequest","pointer":"/paths/~1v2~1users~1{userId}/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/v2/users/{userId}","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/UserUpdateRequest"}},"responseCodes":["200","401","403","404"],"pointer":"/v2/users/{userId}","href":"users/updateuser","openApiOperationId":"updateUser","summary":"Update user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"schemaId":"components/schemas/UserUpdateRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UserUpdateRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"No Content"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}"},{"label":"Patch user","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/patchuser","routeSlug":"/openapi/usersapi/users/patchuser","metadata":{"seo":{"title":"Patch user","description":"This endpoint partially updates a user by user ID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"patchUser","name":"Patch user","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Patch user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint partially updates a user by user ID."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/PatchUserUpdateRequest"}},"schemaId":"components/schemas/PatchUserUpdateRequest","pointer":"/paths/~1v2~1users~1{userId}/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/v2/users/{userId}","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/PatchUserUpdateRequest"}},"responseCodes":["204","401","403","404"],"pointer":"/v2/users/{userId}","href":"users/patchuser","openApiOperationId":"patchUser","summary":"Patch user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"schemaId":"components/schemas/PatchUserUpdateRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/PatchUserUpdateRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Updated successfully"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}/patch/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}"},{"label":"Get user business info","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/getbusinessinfo","routeSlug":"/openapi/usersapi/users/getbusinessinfo","metadata":{"seo":{"title":"Get user business info","description":"This endpoint gets user business info by user ID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getBusinessInfo","name":"Get user business info","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1business-info/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get user business info","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint gets user business info by user ID."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1business-info/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"includeInactive","in":"query","schemaId":"schema_4","description":"Include inactive users."}],"pointer":"/paths/~1v2~1users~1{userId}~1business-info/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/users/{userId}/business-info","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[{"name":"includeInactive","in":"query","example":true,"schemaId":"schema_4"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/v2/users/{userId}/business-info","href":"users/getbusinessinfo","openApiOperationId":"getBusinessInfo","summary":"Get user business info"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/BusinessInfo"}},"schemaId":"components/schemas/BusinessInfo"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1business-info/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/BusinessInfo","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/BusinessInfo"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/business-info"},{"label":"Update user business info","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/updatebusinessinfo","routeSlug":"/openapi/usersapi/users/updatebusinessinfo","metadata":{"seo":{"title":"Update user business info","description":"This endpoint updates user business info by user ID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateBusinessInfo","name":"Update user business info","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1business-info/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update user business info","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint updates user business info by user ID."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1business-info/put/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"includeInactive","in":"query","schemaId":"schema_4","description":"Include inactive users."}],"pointer":"/paths/~1v2~1users~1{userId}~1business-info/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/BusinessInfo"}},"schemaId":"components/schemas/BusinessInfo","pointer":"/paths/~1v2~1users~1{userId}~1business-info/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/v2/users/{userId}/business-info","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[{"name":"includeInactive","in":"query","example":true,"schemaId":"schema_4"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/BusinessInfo"}},"responseCodes":["204","401","403","404"],"pointer":"/v2/users/{userId}/business-info","href":"users/updatebusinessinfo","openApiOperationId":"updateBusinessInfo","summary":"Update user business info"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"schemaId":"components/schemas/BusinessInfo","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/BusinessInfo"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"OK"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1business-info/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/business-info"},{"label":"Get user personal info","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/getpersonalinfo","routeSlug":"/openapi/usersapi/users/getpersonalinfo","metadata":{"seo":{"title":"Get user personal info","description":"This endpoint gets user personal info by user ID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getPersonalInfo","name":"Get user personal info","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1personal-info/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get user personal info","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint gets user personal info by user ID."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1personal-info/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"includeInactive","in":"query","schemaId":"schema_4","description":"Include inactive users."}],"pointer":"/paths/~1v2~1users~1{userId}~1personal-info/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/users/{userId}/personal-info","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[{"name":"includeInactive","in":"query","example":true,"schemaId":"schema_4"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/v2/users/{userId}/personal-info","href":"users/getpersonalinfo","openApiOperationId":"getPersonalInfo","summary":"Get user personal info"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserPersonalInfo"}},"schemaId":"components/schemas/UserPersonalInfo"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1personal-info/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/UserPersonalInfo","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserPersonalInfo"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/personal-info"},{"label":"Update user personal info","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/updatepersonalinfo","routeSlug":"/openapi/usersapi/users/updatepersonalinfo","metadata":{"seo":{"title":"Update user personal info","description":"This endpoint updates user personal info by user ID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updatePersonalInfo","name":"Update user personal info","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1personal-info/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update user personal info","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint updates user personal info by user ID."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1personal-info/put/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"includeInactive","in":"query","schemaId":"schema_4","description":"Include inactive users."}],"pointer":"/paths/~1v2~1users~1{userId}~1personal-info/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UserPersonalInfo"}},"schemaId":"components/schemas/UserPersonalInfo","pointer":"/paths/~1v2~1users~1{userId}~1personal-info/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/v2/users/{userId}/personal-info","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[{"name":"includeInactive","in":"query","example":true,"schemaId":"schema_4"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/UserPersonalInfo"}},"responseCodes":["200","401","403","404"],"pointer":"/v2/users/{userId}/personal-info","href":"users/updatepersonalinfo","openApiOperationId":"updatePersonalInfo","summary":"Update user personal info"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"schemaId":"components/schemas/UserPersonalInfo","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UserPersonalInfo"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1personal-info/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/personal-info"},{"label":"Get user travel preferences","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/getusertravelpreferences","routeSlug":"/openapi/usersapi/users/getusertravelpreferences","metadata":{"seo":{"title":"Get user travel preferences","description":"Get user travel preferences"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getUserTravelPreferences","name":"Get user travel preferences","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1travel-preferences/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get user travel preferences","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1travel-preferences/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/users/{userId}/travel-preferences","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/v2/users/{userId}/travel-preferences","href":"users/getusertravelpreferences","openApiOperationId":"getUserTravelPreferences","summary":"Get user travel preferences"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TravelPreferences"}},"schemaId":"components/schemas/TravelPreferences"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1travel-preferences/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/TravelPreferences","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TravelPreferences"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/travel-preferences"},{"label":"Update user travel preferences","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/updatetravelpreferences","routeSlug":"/openapi/usersapi/users/updatetravelpreferences","metadata":{"seo":{"title":"Update user travel preferences","description":"Update user travel preferences"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateTravelPreferences","name":"Update user travel preferences","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1travel-preferences/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update user travel preferences","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1travel-preferences/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/TravelPreferences"}},"schemaId":"components/schemas/TravelPreferences","pointer":"/paths/~1v2~1users~1{userId}~1travel-preferences/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/v2/users/{userId}/travel-preferences","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/TravelPreferences"}},"responseCodes":["204","401","403","404"],"pointer":"/v2/users/{userId}/travel-preferences","href":"users/updatetravelpreferences","openApiOperationId":"updateTravelPreferences","summary":"Update user travel preferences"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"schemaId":"components/schemas/TravelPreferences","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/TravelPreferences"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1travel-preferences/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/travel-preferences"},{"label":"Get user membership info","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/getmembershipinfo","routeSlug":"/openapi/usersapi/users/getmembershipinfo","metadata":{"seo":{"title":"Get user membership info","description":"Get user membership info"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMembershipInfo","name":"Get user membership info","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1membership-info/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get user membership info","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1membership-info/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/users/{userId}/membership-info","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/v2/users/{userId}/membership-info","href":"users/getmembershipinfo","openApiOperationId":"getMembershipInfo","summary":"Get user membership info"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MembershipInfo"}},"schemaId":"components/schemas/MembershipInfo"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1membership-info/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/MembershipInfo","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MembershipInfo"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/membership-info"},{"label":"Update user membership info","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/updatemembershipinfo","routeSlug":"/openapi/usersapi/users/updatemembershipinfo","metadata":{"seo":{"title":"Update user membership info","description":"Update user membership info"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateMembershipInfo","name":"Update user membership info","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1membership-info/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update user membership info","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1membership-info/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/MembershipInfo"}},"schemaId":"components/schemas/MembershipInfo","pointer":"/paths/~1v2~1users~1{userId}~1membership-info/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/v2/users/{userId}/membership-info","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/MembershipInfo"}},"responseCodes":["204","401","403","404"],"pointer":"/v2/users/{userId}/membership-info","href":"users/updatemembershipinfo","openApiOperationId":"updateMembershipInfo","summary":"Update user membership info"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"schemaId":"components/schemas/MembershipInfo","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/MembershipInfo"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1membership-info/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/membership-info"},{"label":"Get Marriott Bonvoy account info","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/getmarriottbonvoymemberdata","routeSlug":"/openapi/usersapi/users/getmarriottbonvoymemberdata","metadata":{"seo":{"title":"Get Marriott Bonvoy account info","description":"This endpoint gets Marriott Bonvoy account info for a user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMarriottBonvoyMemberData","name":"Get Marriott Bonvoy account info","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1marriott-bonvoy-member-data/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Marriott Bonvoy account info","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint gets Marriott Bonvoy account info for a user."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_5","description":"User ID.","required":true}],"pointer":"/paths/~1v2~1users~1{userId}~1marriott-bonvoy-member-data/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/users/{userId}/marriott-bonvoy-member-data","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"f49d00fe-1eda-4304-ba79-a980f565281d","schemaId":"schema_5"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/v2/users/{userId}/marriott-bonvoy-member-data","href":"users/getmarriottbonvoymemberdata","openApiOperationId":"getMarriottBonvoyMemberData","summary":"Get Marriott Bonvoy account info"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetMarriottBonvoyMemberDataResponse"}},"schemaId":"components/schemas/GetMarriottBonvoyMemberDataResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1marriott-bonvoy-member-data/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetMarriottBonvoyMemberDataResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetMarriottBonvoyMemberDataResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/marriott-bonvoy-member-data"},{"label":"Update user roles","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/updateuserroles","routeSlug":"/openapi/usersapi/users/updateuserroles","metadata":{"seo":{"title":"Update user roles","description":"This endpoint updates user roles."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateUserRoles","name":"Update user roles","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1roles/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update user roles","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint updates user roles."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1roles/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/RolesConfig"}},"schemaId":"components/schemas/RolesConfig","pointer":"/paths/~1v2~1users~1{userId}~1roles/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/v2/users/{userId}/roles","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/RolesConfig"}},"responseCodes":["204","401","403","404"],"pointer":"/v2/users/{userId}/roles","href":"users/updateuserroles","openApiOperationId":"updateUserRoles","summary":"Update user roles"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"schemaId":"components/schemas/RolesConfig","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/RolesConfig"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1roles/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/roles"},{"label":"Get user roles","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/getuserroles","routeSlug":"/openapi/usersapi/users/getuserroles","metadata":{"seo":{"title":"Get user roles","description":"This endpoint gets user roles."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getUserRoles","name":"Get user roles","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1roles/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get user roles","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint gets user roles."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1roles/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/users/{userId}/roles","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/v2/users/{userId}/roles","href":"users/getuserroles","openApiOperationId":"getUserRoles","summary":"Get user roles"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/RolesConfig"}},"schemaId":"components/schemas/RolesConfig"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1roles/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/RolesConfig","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/RolesConfig"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/roles"},{"label":"Get notification preferences","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/getnotificationpreferences","routeSlug":"/openapi/usersapi/users/getnotificationpreferences","metadata":{"seo":{"title":"Get notification preferences","description":"This endpoint gets notification preferences for a user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getNotificationPreferences","name":"Get notification preferences","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1notification-preferences/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get notification preferences","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint gets notification preferences for a user."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1notification-preferences/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/users/{userId}/notification-preferences","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/v2/users/{userId}/notification-preferences","href":"users/getnotificationpreferences","openApiOperationId":"getNotificationPreferences","summary":"Get notification preferences"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/NotificationPreferences"}},"schemaId":"components/schemas/NotificationPreferences"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1notification-preferences/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/NotificationPreferences","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/NotificationPreferences"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/notification-preferences"},{"label":"Update notification preferences","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/updatenotificationpreferences","routeSlug":"/openapi/usersapi/users/updatenotificationpreferences","metadata":{"seo":{"title":"Update notification preferences","description":"This endpoint updates notification preferences for a user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateNotificationPreferences","name":"Update notification preferences","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1notification-preferences/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update notification preferences","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint updates notification preferences for a user."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1notification-preferences/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/NotificationPreferences"}},"schemaId":"components/schemas/NotificationPreferences","pointer":"/paths/~1v2~1users~1{userId}~1notification-preferences/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/v2/users/{userId}/notification-preferences","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/NotificationPreferences"}},"responseCodes":["200","401","403","404"],"pointer":"/v2/users/{userId}/notification-preferences","href":"users/updatenotificationpreferences","openApiOperationId":"updateNotificationPreferences","summary":"Update notification preferences"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"schemaId":"components/schemas/NotificationPreferences","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/NotificationPreferences"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1notification-preferences/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/notification-preferences"},{"label":"Get user travel arrangers","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/getusertravelarrangers","routeSlug":"/openapi/usersapi/users/getusertravelarrangers","metadata":{"seo":{"title":"Get user travel arrangers","description":"Get user travel arrangers"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getUserTravelArrangers","name":"Get user travel arrangers","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1travel-arrangers/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get user travel arrangers","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1travel-arrangers/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/users/{userId}/travel-arrangers","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/v2/users/{userId}/travel-arrangers","href":"users/getusertravelarrangers","openApiOperationId":"getUserTravelArrangers","summary":"Get user travel arrangers"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserTravelArrangers"}},"schemaId":"components/schemas/UserTravelArrangers"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1travel-arrangers/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/UserTravelArrangers","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserTravelArrangers"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/travel-arrangers"},{"label":"Approve or deny travel arrangers","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/updatetravelarrangersstatus","routeSlug":"/openapi/usersapi/users/updatetravelarrangersstatus","metadata":{"seo":{"title":"Approve or deny travel arrangers","description":"Approve or deny travel arrangers"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateTravelArrangersStatus","name":"Approve or deny travel arrangers","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1travel-arrangers~1approve/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Approve or deny travel arrangers","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1travel-arrangers~1approve/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdateTravelArrangersStatusRequest"}},"schemaId":"components/schemas/UpdateTravelArrangersStatusRequest","pointer":"/paths/~1v2~1users~1{userId}~1travel-arrangers~1approve/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v2/users/{userId}/travel-arrangers/approve","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/UpdateTravelArrangersStatusRequest"}},"responseCodes":["200","400","401","403"],"pointer":"/v2/users/{userId}/travel-arrangers/approve","href":"users/updatetravelarrangersstatus","openApiOperationId":"updateTravelArrangersStatus","summary":"Approve or deny travel arrangers"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"schemaId":"components/schemas/UpdateTravelArrangersStatusRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdateTravelArrangersStatusRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK"},{"code":"400","description":"Bad request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1travel-arrangers~1approve/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"400","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/travel-arrangers/approve"},{"label":"Get travelers managed by the user.","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/getmanagedtravelers","routeSlug":"/openapi/usersapi/users/getmanagedtravelers","metadata":{"seo":{"title":"Get travelers managed by the user.","description":"Get travelers managed by the user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getManagedTravelers","name":"Get travelers managed by the user.","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1managed-travelers/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get travelers managed by the user.","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1managed-travelers/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/users/{userId}/managed-travelers","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/v2/users/{userId}/managed-travelers","href":"users/getmanagedtravelers","openApiOperationId":"getManagedTravelers","summary":"Get travelers managed by the user."},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetManagedTravelersResponse"}},"schemaId":"components/schemas/GetManagedTravelersResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1managed-travelers/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetManagedTravelersResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetManagedTravelersResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/managed-travelers"},{"label":"Add managed travelers","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/addmanagedtravelers","routeSlug":"/openapi/usersapi/users/addmanagedtravelers","metadata":{"seo":{"title":"Add managed travelers","description":"Add managed travelers"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"addManagedTravelers","name":"Add managed travelers","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1managed-travelers/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Add managed travelers","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1managed-travelers/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/AddManagedTravelersRequest"}},"schemaId":"components/schemas/AddManagedTravelersRequest","pointer":"/paths/~1v2~1users~1{userId}~1managed-travelers/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v2/users/{userId}/managed-travelers","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/AddManagedTravelersRequest"}},"responseCodes":["200","400","401","403"],"pointer":"/v2/users/{userId}/managed-travelers","href":"users/addmanagedtravelers","openApiOperationId":"addManagedTravelers","summary":"Add managed travelers"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"schemaId":"components/schemas/AddManagedTravelersRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/AddManagedTravelersRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK"},{"code":"400","description":"Bad request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1managed-travelers/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"400","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/managed-travelers"},{"label":"Update managed travelers","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/updatemanagedtravelers","routeSlug":"/openapi/usersapi/users/updatemanagedtravelers","metadata":{"seo":{"title":"Update managed travelers","description":"Update managed travelers"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateManagedTravelers","name":"Update managed travelers","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1managed-travelers~1update/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update managed travelers","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1managed-travelers~1update/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdateManagedTravelersRequest"}},"schemaId":"components/schemas/UpdateManagedTravelersRequest","pointer":"/paths/~1v2~1users~1{userId}~1managed-travelers~1update/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v2/users/{userId}/managed-travelers/update","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/UpdateManagedTravelersRequest"}},"responseCodes":["200","400","401","403"],"pointer":"/v2/users/{userId}/managed-travelers/update","href":"users/updatemanagedtravelers","openApiOperationId":"updateManagedTravelers","summary":"Update managed travelers"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"schemaId":"components/schemas/UpdateManagedTravelersRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdateManagedTravelersRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK"},{"code":"400","description":"Bad request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1managed-travelers~1update/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"400","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/managed-travelers/update"},{"label":"Remove managed travelers","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/removemanagedtravelers","routeSlug":"/openapi/usersapi/users/removemanagedtravelers","metadata":{"seo":{"title":"Remove managed travelers","description":"Remove managed travelers"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"removeManagedTravelers","name":"Remove managed travelers","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1managed-travelers~1remove/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Remove managed travelers","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1managed-travelers~1remove/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/RemoveManagedTravelersRequest"}},"schemaId":"components/schemas/RemoveManagedTravelersRequest","pointer":"/paths/~1v2~1users~1{userId}~1managed-travelers~1remove/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v2/users/{userId}/managed-travelers/remove","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/RemoveManagedTravelersRequest"}},"responseCodes":["200","400","401","403"],"pointer":"/v2/users/{userId}/managed-travelers/remove","href":"users/removemanagedtravelers","openApiOperationId":"removeManagedTravelers","summary":"Remove managed travelers"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"schemaId":"components/schemas/RemoveManagedTravelersRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/RemoveManagedTravelersRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK"},{"code":"400","description":"Bad request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1managed-travelers~1remove/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"400","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/managed-travelers/remove"},{"label":"Get user's external ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/getexternalid","routeSlug":"/openapi/usersapi/users/getexternalid","metadata":{"seo":{"title":"Get user's external ID","description":"This endpoint gets user's external ID by user ID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getExternalId","name":"Get user's external ID","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1external-id/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get user's external ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint gets user's external ID by user ID."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1external-id/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"includeInactive","in":"query","schemaId":"schema_4","description":"Include inactive users."}],"pointer":"/paths/~1v2~1users~1{userId}~1external-id/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/users/{userId}/external-id","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[{"name":"includeInactive","in":"query","example":true,"schemaId":"schema_4"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/v2/users/{userId}/external-id","href":"users/getexternalid","openApiOperationId":"getExternalId","summary":"Get user's external ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ExternalIdObject"}},"schemaId":"components/schemas/ExternalIdObject"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1external-id/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ExternalIdObject","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ExternalIdObject"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/external-id"},{"label":"Update user's external ID","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/updateexternalid","routeSlug":"/openapi/usersapi/users/updateexternalid","metadata":{"seo":{"title":"Update user's external ID","description":"This endpoint updates user's external ID by user ID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateExternalId","name":"Update user's external ID","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1external-id/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update user's external ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint updates user's external ID by user ID."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1external-id/put/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"includeInactive","in":"query","schemaId":"schema_4","description":"Include inactive users."}],"pointer":"/paths/~1v2~1users~1{userId}~1external-id/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/ExternalIdObject"}},"schemaId":"components/schemas/ExternalIdObject","pointer":"/paths/~1v2~1users~1{userId}~1external-id/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/v2/users/{userId}/external-id","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[{"name":"includeInactive","in":"query","example":true,"schemaId":"schema_4"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/ExternalIdObject"}},"responseCodes":["200","401","403","404"],"pointer":"/v2/users/{userId}/external-id","href":"users/updateexternalid","openApiOperationId":"updateExternalId","summary":"Update user's external ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"schemaId":"components/schemas/ExternalIdObject","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/ExternalIdObject"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1external-id/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/external-id"},{"label":"Activate a user","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/activateuser","routeSlug":"/openapi/usersapi/users/activateuser","metadata":{"seo":{"title":"Activate a user","description":"This endpoint activates a deactivated user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"activateUser","name":"Activate a user","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1activate/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Activate a user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint activates a deactivated user."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1activate/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v2/users/{userId}/activate","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/v2/users/{userId}/activate","href":"users/activateuser","openApiOperationId":"activateUser","summary":"Activate a user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1activate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/activate"},{"label":"Add favorite","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/addfavorite","routeSlug":"/openapi/usersapi/users/addfavorite","metadata":{"seo":{"title":"Add favorite","description":"Add a favorite item for a user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"addFavorite","name":"Add favorite","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1favorites/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Add favorite","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Add a favorite item for a user."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1favorites/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/AddFavoriteRequest"}},"schemaId":"components/schemas/AddFavoriteRequest","pointer":"/paths/~1v2~1users~1{userId}~1favorites/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v2/users/{userId}/favorites","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/AddFavoriteRequest"}},"responseCodes":["200","401","403"],"pointer":"/v2/users/{userId}/favorites","href":"users/addfavorite","openApiOperationId":"addFavorite","summary":"Add favorite"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"schemaId":"components/schemas/AddFavoriteRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/AddFavoriteRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/AddFavoriteResponse"}},"schemaId":"components/schemas/AddFavoriteResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1favorites/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/AddFavoriteResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/AddFavoriteResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/favorites"},{"label":"List favorites","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/listfavorites","routeSlug":"/openapi/usersapi/users/listfavorites","metadata":{"seo":{"title":"List favorites","description":"List favorite items for a user, optionally filtered by type and search query."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listFavorites","name":"List favorites","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1favorites/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List favorites","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"List favorite items for a user, optionally filtered by type and search query."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1favorites/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"types","in":"query","schemaId":"schema_6","description":"Filter by favorite types. If empty, returns all types."},{"name":"query","in":"query","schemaId":"schema_2","description":"Search query to filter favorites by display name."}],"pointer":"/paths/~1v2~1users~1{userId}~1favorites/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/users/{userId}/favorites","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[{"name":"types","in":"query","schemaId":"schema_6"},{"name":"query","in":"query","schemaId":"schema_2"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401","403"],"pointer":"/v2/users/{userId}/favorites","href":"users/listfavorites","openApiOperationId":"listFavorites","summary":"List favorites"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListFavoritesResponse"}},"schemaId":"components/schemas/ListFavoritesResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1favorites/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListFavoritesResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListFavoritesResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/favorites"},{"label":"Remove favorite","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/removefavorite","routeSlug":"/openapi/usersapi/users/removefavorite","metadata":{"seo":{"title":"Remove favorite","description":"Remove a favorite item for a user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"removeFavorite","name":"Remove favorite","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1favorites~1{favoriteId}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Remove favorite","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Remove a favorite item for a user."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"},{"name":"favoriteId","in":"path","schemaId":"schema_2","description":"Identifier for the favorite item.","required":true}],"pointer":"/paths/~1v2~1users~1{userId}~1favorites~1{favoriteId}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/v2/users/{userId}/favorites/{favoriteId}","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"},{"name":"favoriteId","in":"path","required":true,"schemaId":"schema_2"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/v2/users/{userId}/favorites/{favoriteId}","href":"users/removefavorite","openApiOperationId":"removeFavorite","summary":"Remove favorite"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1favorites~1{favoriteId}/delete/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/favorites/{favoriteId}"},{"label":"Get user policies","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/getuserapplicablepolicies","routeSlug":"/openapi/usersapi/users/getuserapplicablepolicies","metadata":{"seo":{"title":"Get user policies","description":"Get user policies"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getUserApplicablePolicies","name":"Get user policies","isWebhook":false,"pointer":"/paths/~1v2~1users~1{userId}~1applicable-policies/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get user policies","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier for user.","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v2~1users~1{userId}~1applicable-policies/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/users/{userId}/applicable-policies","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"4974a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/v2/users/{userId}/applicable-policies","href":"users/getuserapplicablepolicies","openApiOperationId":"getUserApplicablePolicies","summary":"Get user policies"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserApplicablePolicies"}},"schemaId":"components/schemas/UserApplicablePolicies"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1users~1{userId}~1applicable-policies/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/UserApplicablePolicies","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserApplicablePolicies"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/users/{userId}/applicable-policies"},{"label":"Get user support config","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/users/getsupportconfig","routeSlug":"/openapi/usersapi/users/getsupportconfig","metadata":{"seo":{"title":"Get user support config","description":"Get user support config"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getSupportConfig","name":"Get user support config","isWebhook":false,"pointer":"/paths/~1v2~1support-config/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get user support config","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/support-config","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/v2/support-config","href":"users/getsupportconfig","openApiOperationId":"getSupportConfig","summary":"Get user support config"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SupportConfigs"}},"schemaId":"components/schemas/SupportConfigs"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1support-config/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/SupportConfigs","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SupportConfigs"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v2/support-config"}],"content":{"contentType":"group","meta":{"name":"Users"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Users","showPageActions":true},{"nodeType":"markdoc","content":"APIs to onboard and manage users."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/v2/users","summary":"Create user","prefix":{"name":"post","color":"post"},"badges":[],"link":"/users/createuser","deprecated":false},{"title":"/v2/users","summary":"Query user","prefix":{"name":"get","color":"get"},"badges":[],"link":"/users/queryuser","deprecated":false},{"title":"/v3/users/list","summary":"List users","prefix":{"name":"post","color":"post"},"badges":[],"link":"/users/listusersv3","deprecated":false},{"title":"/v2/users/{userId}","summary":"Get user","prefix":{"name":"get","color":"get"},"badges":[],"link":"/users/getuserinfo","deprecated":false},{"title":"/v2/users/{userId}","summary":"Delete user","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/users/deleteuser","deprecated":false},{"title":"/v2/users/{userId}","summary":"Update user","prefix":{"name":"put","color":"put"},"badges":[],"link":"/users/updateuser","deprecated":false},{"title":"/v2/users/{userId}","summary":"Patch user","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/users/patchuser","deprecated":false},{"title":"/v2/users/{userId}/business-info","summary":"Get user business info","prefix":{"name":"get","color":"get"},"badges":[],"link":"/users/getbusinessinfo","deprecated":false},{"title":"/v2/users/{userId}/business-info","summary":"Update user business info","prefix":{"name":"put","color":"put"},"badges":[],"link":"/users/updatebusinessinfo","deprecated":false},{"title":"/v2/users/{userId}/personal-info","summary":"Get user personal info","prefix":{"name":"get","color":"get"},"badges":[],"link":"/users/getpersonalinfo","deprecated":false},{"title":"/v2/users/{userId}/personal-info","summary":"Update user personal info","prefix":{"name":"put","color":"put"},"badges":[],"link":"/users/updatepersonalinfo","deprecated":false},{"title":"/v2/users/{userId}/travel-preferences","summary":"Get user travel preferences","prefix":{"name":"get","color":"get"},"badges":[],"link":"/users/getusertravelpreferences","deprecated":false},{"title":"/v2/users/{userId}/travel-preferences","summary":"Update user travel preferences","prefix":{"name":"put","color":"put"},"badges":[],"link":"/users/updatetravelpreferences","deprecated":false},{"title":"/v2/users/{userId}/membership-info","summary":"Get user membership info","prefix":{"name":"get","color":"get"},"badges":[],"link":"/users/getmembershipinfo","deprecated":false},{"title":"/v2/users/{userId}/membership-info","summary":"Update user membership info","prefix":{"name":"put","color":"put"},"badges":[],"link":"/users/updatemembershipinfo","deprecated":false},{"title":"/v2/users/{userId}/marriott-bonvoy-member-data","summary":"Get Marriott Bonvoy account info","prefix":{"name":"get","color":"get"},"badges":[],"link":"/users/getmarriottbonvoymemberdata","deprecated":false},{"title":"/v2/users/{userId}/roles","summary":"Update user roles","prefix":{"name":"put","color":"put"},"badges":[],"link":"/users/updateuserroles","deprecated":false},{"title":"/v2/users/{userId}/roles","summary":"Get user roles","prefix":{"name":"get","color":"get"},"badges":[],"link":"/users/getuserroles","deprecated":false},{"title":"/v2/users/{userId}/notification-preferences","summary":"Get notification preferences","prefix":{"name":"get","color":"get"},"badges":[],"link":"/users/getnotificationpreferences","deprecated":false},{"title":"/v2/users/{userId}/notification-preferences","summary":"Update notification preferences","prefix":{"name":"put","color":"put"},"badges":[],"link":"/users/updatenotificationpreferences","deprecated":false},{"title":"/v2/users/{userId}/travel-arrangers","summary":"Get user travel arrangers","prefix":{"name":"get","color":"get"},"badges":[],"link":"/users/getusertravelarrangers","deprecated":false},{"title":"/v2/users/{userId}/travel-arrangers/approve","summary":"Approve or deny travel arrangers","prefix":{"name":"post","color":"post"},"badges":[],"link":"/users/updatetravelarrangersstatus","deprecated":false},{"title":"/v2/users/{userId}/managed-travelers","summary":"Get travelers managed by the user.","prefix":{"name":"get","color":"get"},"badges":[],"link":"/users/getmanagedtravelers","deprecated":false},{"title":"/v2/users/{userId}/managed-travelers","summary":"Add managed travelers","prefix":{"name":"post","color":"post"},"badges":[],"link":"/users/addmanagedtravelers","deprecated":false},{"title":"/v2/users/{userId}/managed-travelers/update","summary":"Update managed travelers","prefix":{"name":"post","color":"post"},"badges":[],"link":"/users/updatemanagedtravelers","deprecated":false},{"title":"/v2/users/{userId}/managed-travelers/remove","summary":"Remove managed travelers","prefix":{"name":"post","color":"post"},"badges":[],"link":"/users/removemanagedtravelers","deprecated":false},{"title":"/v2/users/{userId}/external-id","summary":"Get user's external ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/users/getexternalid","deprecated":false},{"title":"/v2/users/{userId}/external-id","summary":"Update user's external ID","prefix":{"name":"put","color":"put"},"badges":[],"link":"/users/updateexternalid","deprecated":false},{"title":"/v2/users/{userId}/activate","summary":"Activate a user","prefix":{"name":"post","color":"post"},"badges":[],"link":"/users/activateuser","deprecated":false},{"title":"/v2/users/{userId}/favorites","summary":"Add favorite","prefix":{"name":"post","color":"post"},"badges":[],"link":"/users/addfavorite","deprecated":false},{"title":"/v2/users/{userId}/favorites","summary":"List favorites","prefix":{"name":"get","color":"get"},"badges":[],"link":"/users/listfavorites","deprecated":false},{"title":"/v2/users/{userId}/favorites/{favoriteId}","summary":"Remove favorite","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/users/removefavorite","deprecated":false},{"title":"/v2/users/{userId}/applicable-policies","summary":"Get user policies","prefix":{"name":"get","color":"get"},"badges":[],"link":"/users/getuserapplicablepolicies","deprecated":false},{"title":"/v2/support-config","summary":"Get user support config","prefix":{"name":"get","color":"get"},"badges":[],"link":"/users/getsupportconfig","deprecated":false}]}]}]}]}},{"type":"group","label":"Roles","link":"/openapi/usersapi/roles","routeSlug":"/openapi/usersapi/roles","items":[{"label":"Get RBAC info for a user","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/usersapi/roles/getrbacinfo","routeSlug":"/openapi/usersapi/roles/getrbacinfo","metadata":{"seo":{"title":"Get RBAC info for a user","description":"Returns RBAC information for a user indicating what permissions the user has."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getRbacInfo","name":"Get RBAC info for a user","isWebhook":false,"pointer":"/paths/~1v3~1users~1{userId}~1rbac-info/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get RBAC info for a user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns RBAC information for a user indicating what permissions the user has."},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"userId","in":"path","schemaId":"schema_0","description":"Identifier of the user.","required":true,"example":"1234a66b-7493-4f41-908c-58ba81093947"}],"pointer":"/paths/~1v3~1users~1{userId}~1rbac-info/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v3/users/{userId}/rbac-info","servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"parameters":{"path":[{"name":"userId","in":"path","required":true,"example":"1234a66b-7493-4f41-908c-58ba81093947","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","400","401","403","404"],"pointer":"/v3/users/{userId}/rbac-info","href":"roles/getrbacinfo","openApiOperationId":"getRbacInfo","summary":"Get RBAC info for a user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","description":"Spotnana mock server","isMockServer":true}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"RBAC info for the user.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetRbacInfoResponse"}},"schemaId":"components/schemas/GetRbacInfoResponse"},{"code":"400","description":"Bad request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"404","description":"The specified resource was not found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v3~1users~1{userId}~1rbac-info/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetRbacInfoResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetRbacInfoResponse"}}},{"code":"400","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]}]},"httpPath":"/v3/users/{userId}/rbac-info"}],"content":{"contentType":"group","meta":{"name":"Roles"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Roles","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/v3/users/{userId}/rbac-info","summary":"Get RBAC info for a user","prefix":{"name":"get","color":"get"},"badges":[],"link":"/roles/getrbacinfo","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/AddFavoriteRequest":{"id":"components/schemas/AddFavoriteRequest","kind":"json-schema","title":"AddFavoriteRequest","data":{"type":"object","title":"AddFavoriteRequest","description":"Request to add a favorite item for a user.","required":["type","displayName"],"properties":{"type":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The type of favorite (e.g. \"company\", \"legal_entity\", \"trip\")."},"children":[]}]}]}]},"params":{"type":"object","description":"Key-value pairs of parameters for the favorite.","additionalProperties":{"type":"string","maxLength":1000}},"displayName":{"type":"string","description":"Display name for the favorite item."}}}},"components/schemas/AddFavoriteResponse":{"id":"components/schemas/AddFavoriteResponse","kind":"json-schema","title":"AddFavoriteResponse","data":{"type":"object","title":"AddFavoriteResponse","description":"Response after adding a favorite item.","properties":{"favorite":{"$ref":"#/components/schemas/FavoriteItem"}}}},"components/schemas/AddManagedTravelersRequest":{"id":"components/schemas/AddManagedTravelersRequest","kind":"json-schema","title":"AddManagedTravelersRequest","data":{"type":"object","title":"AddManagedTravelersRequest","description":"Request to add managed travelers for a given user.","properties":{"travelers":{"deprecated":true,"x-sunset":"2027-07-01","type":"array","description":"Travelers to be added.","items":{"$ref":"#/components/schemas/UserId"}},"travelerIds":{"type":"array","description":"User IDs of the travelers to be added.","items":{"$ref":"#/components/schemas/UserId"}},"travelerEmails":{"type":"array","description":"Emails of the travelers to be added.","items":{"type":"string"}}}}},"components/schemas/AdhocUserInfo":{"id":"components/schemas/AdhocUserInfo","kind":"json-schema","title":"AdhocUserInfo","data":{"type":"object","title":"AdhocUserInfo","description":"Basic information related to ad-hoc traveler profile.","required":["profileOwner"],"properties":{"profileOwner":{"$ref":"#/components/schemas/ProfileOwner"},"isSaved":{"type":"boolean","description":"A boolean flag to show if ad-hoc traveler is visible in search. While updating the user \nif client tries to update this field, it will throw exception.\n","default":false}}}},"components/schemas/AirPref":{"id":"components/schemas/AirPref","kind":"json-schema","title":"AirPref","data":{"type":"object","title":"AirPref","description":"Travel preferences related to air travel.","properties":{"airlinePrefs":{"type":"array","items":{"$ref":"#/components/schemas/AirlinePref"}},"alliancePref":{"$ref":"#/components/schemas/AlliancePref"},"farePref":{"$ref":"#/components/schemas/FarePref"},"homeAirport":{"type":"string","example":"NEW YORK"},"mealPref":{"$ref":"#/components/schemas/MealPref"},"numStopPref":{"$ref":"#/components/schemas/NumStopsPref"},"seatAmenityPref":{"$ref":"#/components/schemas/SeatAmenityPref"},"seatLocationPrefs":{"type":"array","items":{"$ref":"#/components/schemas/SeatLocationPref"}},"preferredAirports":{"type":"array","description":"A list of user preferred airports.","items":{"$ref":"#/components/schemas/PreferredAirport"}}}}},"components/schemas/AirlinePref":{"id":"components/schemas/AirlinePref","kind":"json-schema","title":"AirlinePref","data":{"type":"object","title":"AirlinePref","description":"Airline preferences.","properties":{"airlines":{"type":"array","items":{"type":"string","example":"Indigo"}},"flightType":{"type":"string","enum":["UNKNOWN_FLIGHT_TYPE","DOMESTIC","INTERNATIONAL","ALL"],"example":"DOMESTIC"}}}},"components/schemas/Alliance":{"id":"components/schemas/Alliance","kind":"json-schema","title":"Alliance","data":{"type":"string","enum":["UNKNOWN_ALLIANCE","STAR_ALLIANCE","ONEWORLD","SKYTEAM","VANILLA_ALLIANCE","U_FLY_ALLIANCE","VALUE_ALLIANCE"],"default":"UNKNOWN_ALLIANCE","example":"STAR_ALLIANCE"}},"components/schemas/AlliancePref":{"id":"components/schemas/AlliancePref","kind":"json-schema","title":"AlliancePref","data":{"type":"object","title":"AlliancePref","description":"Alliance preferences.","required":["alliances"],"properties":{"alliances":{"type":"array","items":{"$ref":"#/components/schemas/Alliance"}}}}},"components/schemas/BusinessDetail":{"id":"components/schemas/BusinessDetail","kind":"json-schema","title":"BusinessDetail","data":{"type":"object","title":"BusinessDetail","description":"Business details of the user","required":["legalEntity"],"properties":{"legalEntity":{"description":"The legal entity associated with the user.","$ref":"#/components/schemas/Reference"},"office":{"description":"The office associated with the user.","$ref":"#/components/schemas/Reference"},"department":{"description":"The department associated with the user.","$ref":"#/components/schemas/Reference"},"costCenter":{"description":"The cost center associated with the user.","$ref":"#/components/schemas/Reference"},"businessEmail":{"description":"Business email of the user.","type":"string"},"designation":{"description":"Designation or job title of the user.","type":"string"},"employeeId":{"description":"Employee ID of the user.","type":"string"}}}},"components/schemas/BusinessInfo":{"id":"components/schemas/BusinessInfo","kind":"json-schema","title":"BusinessInfo","data":{"type":"object","title":"BusinessInfo","description":"User business information.","required":["organizationRef","legalEntityRef"],"properties":{"departmentRef":{"$ref":"#/components/schemas/Reference"},"designation":{"type":"string","example":"MANAGER"},"email":{"type":"string","format":"email","example":"user@business.com","x-pii":"IDENTIFIER"},"employeeId":{"description":"Unique employee id. Can use email if a company don't use employee ids.","type":"string","example":"101"},"gradeRef":{"$ref":"#/components/schemas/Reference"},"legalEntityRef":{"$ref":"#/components/schemas/Reference"},"managerRef":{"$ref":"#/components/schemas/Reference"},"officeRef":{"$ref":"#/components/schemas/Reference"},"organizationRef":{"$ref":"#/components/schemas/Reference"},"phoneNumbers":{"type":"array","x-pii":"IDENTIFIER","items":{"$ref":"#/components/schemas/PhoneNumber"}},"costCenterRef":{"$ref":"#/components/schemas/Reference"},"countryCode":{"type":"string","description":"alpha-2 or alpha-3 ISO country code.","example":"USA"},"workerType":{"$ref":"#/components/schemas/WorkerType"},"accountingCode":{"type":"string","description":"Code used for accounting.","example":"123"},"companySpecifiedAttributes":{"type":"array","items":{"$ref":"#/components/schemas/CompanySpecifiedAttribute"}},"designatedApproverRefs":{"type":"array","description":"A list of references for designated approvers.","items":{"$ref":"#/components/schemas/Reference"}},"authorizerEmail":{"type":"string","description":"Email address to be used as approval authorizer, when a manager is not present.","example":"example@email.com","x-pii":"IDENTIFIER"}}}},"components/schemas/CarPref":{"id":"components/schemas/CarPref","kind":"json-schema","title":"CarPref","data":{"type":"object","title":"CarPref","description":"Travel preferences related to car.","properties":{"vendors":{"type":"array","description":"A list of car vendors.","items":{"$ref":"#/components/schemas/CarVendor"}},"carTypes":{"type":"array","description":"A list of types of car.","items":{"$ref":"#/components/schemas/CarType"}},"engineTypes":{"type":"array","description":"A list of types of engine.","items":{"$ref":"#/components/schemas/EngineType"}},"transmissionTypes":{"type":"array","description":"A list of types of transmission.","items":{"$ref":"#/components/schemas/TransmissionSearchFilter"}},"conditionalRates":{"type":"array","description":"A list of conditional rates for rail.","items":{"$ref":"#/components/schemas/ConditionalRate"}}}}},"components/schemas/CarType":{"id":"components/schemas/CarType","kind":"json-schema","title":"CarType","data":{"type":"string","title":"CarType","description":"Car type.","enum":["OTHER","MINI","ECONOMY","COMPACT","MID_SIZE","STANDARD","FULL_SIZE","PREMIUM","LUXURY","CONVERTIBLE","MINIVAN","SUV","VAN","PICKUP","SPORTS","SPECIAL","RECREATIONAL_VEHICLE","WAGON"],"example":"ECONOMY"}},"components/schemas/CarVendor":{"id":"components/schemas/CarVendor","kind":"json-schema","title":"CarVendor","data":{"type":"object","title":"CarVendor","description":"Car vendor.","required":["code","name"],"properties":{"code":{"type":"string","description":"Vendor code","example":"ZE"},"name":{"type":"string","description":"Vendor name","example":"HERTZ"},"isPresentInPreferredVendors":{"type":"boolean","description":"Whether the car vendor is present in preferred vendor list. This is an optional field which gets populated only in the preferred vendor autocomplete API.","example":true}}}},"components/schemas/CoachPref":{"id":"components/schemas/CoachPref","kind":"json-schema","title":"CoachPref","data":{"type":"string","description":"The preference of coach.","enum":["SMOKING","NON_SMOKING","PETS_ALLOWED","RESTAURANT","QUIET"],"example":"NON_SMOKING"}},"components/schemas/CompanyId":{"id":"components/schemas/CompanyId","kind":"json-schema","title":"CompanyId","data":{"type":"object","title":"CompanyId","description":"Company ID","required":["id"],"properties":{"id":{"type":"string","format":"uuid","example":"f49d00fe-1eda-4304-ba79-a980f565281d"}}}},"components/schemas/CompanyRef":{"id":"components/schemas/CompanyRef","kind":"json-schema","title":"CompanyRef","data":{"type":"object","description":"Basic information about a company.","required":["id"],"properties":{"id":{"$ref":"#/components/schemas/CompanyId"},"name":{"type":"string"},"logo":{"$ref":"#/components/schemas/Image","description":"Company logo"}}}},"components/schemas/CompanyRoleInfo":{"id":"components/schemas/CompanyRoleInfo","kind":"json-schema","title":"CompanyRoleInfo","data":{"type":"object","title":"CompanyRoleInfo","required":["companyRef","roleType"],"properties":{"companyRef":{"$ref":"#/components/schemas/Reference"},"tmcRef":{"readOnly":true,"$ref":"#/components/schemas/Reference"},"roleType":{"type":"string","description":"Role type for which company reference metadata is specified."}}}},"components/schemas/CompanySpecifiedAttribute":{"id":"components/schemas/CompanySpecifiedAttribute","kind":"json-schema","title":"CompanySpecifiedAttribute","data":{"type":"object","description":"Company specified user arbitrary attribute.","required":["fixedColumnName","value"],"properties":{"fixedColumnName":{"type":"string","example":"contingentType"},"value":{"type":"string","example":"FSTV"}}}},"components/schemas/ConditionalRate":{"id":"components/schemas/ConditionalRate","kind":"json-schema","title":"ConditionalRate","data":{"type":"string","title":"ConditionalRate","description":"Conditional rate.","enum":["MILITARY","AAA","GOVERNMENT"],"example":"AAA"}},"components/schemas/DateModel":{"id":"components/schemas/DateModel","kind":"json-schema","title":"Date","data":{"title":"Date","description":"Date in ISO 8601 standard.","type":"object","required":["iso8601"],"properties":{"iso8601":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$","example":"2017-07-21"}}}},"components/schemas/DateTimeLocal":{"id":"components/schemas/DateTimeLocal","kind":"json-schema","title":"DateTimeLocal","data":{"title":"DateTimeLocal","description":"Local date and time in ISO 8601 format.","type":"object","required":["iso8601"],"properties":{"iso8601":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$","example":"2017-07-21T17:32"}}}},"components/schemas/DeckLevel":{"id":"components/schemas/DeckLevel","kind":"json-schema","title":"DeckLevel","data":{"type":"string","description":"The deck level of the rail.","enum":["UPPER_DECK","LOWER_DECK"],"example":"UPPER_DECK"}},"components/schemas/Dimensions":{"id":"components/schemas/Dimensions","kind":"json-schema","title":"Dimensions","data":{"type":"object","title":"Dimensions","description":"Image dimensions ie width and height.","properties":{"height":{"type":"integer","format":"int32","example":120},"width":{"type":"integer","format":"int32","example":240}}}},"components/schemas/Duration":{"id":"components/schemas/Duration","kind":"json-schema","title":"Duration","data":{"type":"object","title":"Duration","description":"Represents a duration of time with specific units of time.","properties":{"iso8601":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Durations define the amount of intervening time in a time interval and are represented by the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"format P[n]Y[n]M[n]DT[n]H[n]M[n]S."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The [n] is replaced by the value for each of the date and time elements that follow the [n]."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Leading zeros are not required. The capital letters P, Y, M, W, D, T, H, M, and S are"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"designators for each of the date and time elements and are not replaced. P is the duration"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"designator (for period) placed at the start of the duration representation."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Y is the year designator."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"M is the month designator."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"W is the week designator."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"D is the day designator."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"T is the time designator."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"H is the hour designator."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"M is the minute designator."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"S is the second designator and can include decimal digits with arbitrary precision."},"children":[]}]}]}],"type":"string","example":"PT19H55M"}}}},"components/schemas/EliteLevel":{"id":"components/schemas/EliteLevel","kind":"json-schema","title":"EliteLevel","data":{"type":"string","title":"EliteLevel","description":"Elite level description of Marriott Bonvoy member","enum":["MEMBER","SILVER","GOLD","PLATINUM","TITANIUM","AMBASSADOR"]}},"components/schemas/EmergencyContact":{"id":"components/schemas/EmergencyContact","kind":"json-schema","title":"EmergencyContact","data":{"type":"object","title":"EmergencyContact","description":"Emergency contact information.","required":["name","phoneNumbers"],"properties":{"name":{"type":"string","description":"Full name of contact.","example":"John Smith","x-pii":"SENSITIVE"},"email":{"type":"string","description":"Email address of contact.","format":"email","example":"emergency-contact@email.com","x-pii":"IDENTIFIER"},"designation":{"deprecated":true,"x-sunset":"2026-07-01","type":"string","description":"Job title of contact.","example":"MANAGER"},"relation":{"type":"string","description":"Relation of contact to user.","example":"SPOUSE","enum":["RELATION_UNKNOWN","SPOUSE","PARENT","SIBLING","CHILD","FRIEND","RELATIVE","COLLEAGUE","OTHER"]},"phoneNumbers":{"type":"array","description":"Phone numbers of contact.","x-pii":"IDENTIFIER","items":{"$ref":"#/components/schemas/PhoneNumber"}},"preferredLanguage":{"type":"string","description":"Language preferred by user.","example":"en-US"}}}},"components/schemas/EmergencyContactInfo":{"id":"components/schemas/EmergencyContactInfo","kind":"json-schema","title":"EmergencyContactInfo","data":{"type":"object","title":"EmergencyContactInfo","description":"Emergency contact information.","required":["email"],"properties":{"address":{"$ref":"#/components/schemas/PostalAddress","x-pii":"SENSITIVE"},"designation":{"type":"string","example":"MANAGER"},"email":{"type":"string","format":"email","example":"emergency-contact@email.com","x-pii":"IDENTIFIER"},"name":{"$ref":"#/components/schemas/Name"},"phoneNumber":{"$ref":"#/components/schemas/PhoneNumber","x-pii":"IDENTIFIER"},"userOrgId":{"$ref":"#/components/schemas/UserOrgId"}}}},"components/schemas/EngineType":{"id":"components/schemas/EngineType","kind":"json-schema","title":"EngineType","data":{"type":"string","title":"EngineType","description":"Engine types.","enum":["UNKNOWN_ENGINE","PETROL","DIESEL","ELECTRIC","CNG","HYBRID","HYDROGEN","MULTI_FUEL","ETHANOL"],"example":"PETROL"}},"components/schemas/EntityId":{"id":"components/schemas/EntityId","kind":"json-schema","title":"EntityId","data":{"type":"object","description":"Identifier of an object","required":["id"],"properties":{"id":{"type":"string","format":"uuid","example":"b93dc51f-12dd-46c7-b7d6-1cb12cd3f5b3"}}}},"components/schemas/ErrorParameter":{"id":"components/schemas/ErrorParameter","kind":"json-schema","title":"ErrorParameter","data":{"type":"object","title":"ErrorParameter","description":"Error parameter","properties":{"name":{"type":"string","description":"Parameter name"},"value":{"type":"string","description":"Parameter value"}}}},"components/schemas/ErrorResponse":{"id":"components/schemas/ErrorResponse","kind":"json-schema","title":"ErrorResponse","data":{"type":"object","properties":{"debugIdentifier":{"type":"string","description":"Link to debug the error internally."},"errorMessages":{"type":"array","items":{"type":"object","properties":{"errorCode":{"type":"string","description":"Error code to identify the specific errors."},"message":{"type":"string","description":"Message containing details of error."},"errorParameters":{"type":"array","description":"Error message parameters.","items":{"$ref":"#/components/schemas/ErrorParameter"}},"errorDetail":{"type":"string","description":"More details about the error."}}}}}}},"components/schemas/ExternalIdObject":{"id":"components/schemas/ExternalIdObject","kind":"json-schema","title":"ExternalIdObject","data":{"type":"object","title":"ExternalIdObject","description":"User's external id within partner database.","required":["externalId"],"properties":{"externalId":{"type":"string","description":"A partner-assigned user identifier. This value must be unique for all travelers within a PNR.","example":"user-1"}}}},"components/schemas/FarePref":{"id":"components/schemas/FarePref","kind":"json-schema","title":"FarePref","data":{"type":"object","title":"FarePref","description":"Fare preferences.","required":["fareTypes"],"properties":{"fareTypes":{"type":"array","items":{"type":"string","enum":["UNKNOWN_TYPE","CHANGEABLE","REFUNDABLE"],"example":"CHANGEABLE"}}}}},"components/schemas/FavoriteItem":{"id":"components/schemas/FavoriteItem","kind":"json-schema","title":"FavoriteItem","data":{"type":"object","title":"FavoriteItem","description":"A single favorite item.","properties":{"favoriteId":{"type":"string","description":"Unique identifier for the favorite item."},"type":{"type":"string","description":"The type of favorite."},"params":{"type":"object","description":"Key-value pairs of parameters for the favorite.","additionalProperties":{"type":"string"}},"displayName":{"type":"string","description":"Display name for the favorite item."},"createdAt":{"type":"string","format":"date-time","description":"Timestamp when the favorite was created."}}}},"components/schemas/FreshdeskConfig":{"id":"components/schemas/FreshdeskConfig","kind":"json-schema","title":"FreshdeskConfig","data":{"type":"object","title":"FreshdeskConfig","description":"Configuration for freshdesk.","required":["enabled","hasCredentials"],"properties":{"enabled":{"type":"boolean","description":"Whether freshdesk is enabled or not.","default":true,"example":true},"hasCredentials":{"type":"boolean","description":"Whether the company has its own freshdesk credentials.","default":false,"example":false},"credentials":{"description":"Credentials for the fresh desk. This field has no impact in create/update APIs. The \nprocess to store / update the credentials are manual.\n","$ref":"#/components/schemas/FreshdeskCredentials"}}}},"components/schemas/FreshdeskCredentialDetails":{"id":"components/schemas/FreshdeskCredentialDetails","kind":"json-schema","title":"FreshdeskCredentialDetails","data":{"type":"object","title":"FreshdeskCredentialDetails","description":"Credentials related to freshdesk.","required":["domain","appId","appKey"],"properties":{"domain":{"type":"string","description":"Domain related to fresh desk."},"appId":{"type":"string","description":"An identifier for fresh desk's app."},"appKey":{"type":"string","description":"A secret key assigned to user's app by fresh desk."}}}},"components/schemas/FreshdeskCredentials":{"id":"components/schemas/FreshdeskCredentials","kind":"json-schema","title":"FreshdeskCredentials","data":{"type":"object","title":"FreshdeskCredentials","description":"Mobile and web Credentials related to freshdesk.","properties":{"webCredentials":{"$ref":"#/components/schemas/FreshdeskCredentialDetails"},"mobileCredentials":{"$ref":"#/components/schemas/FreshdeskCredentialDetails"}}}},"components/schemas/Gender":{"id":"components/schemas/Gender","kind":"json-schema","title":"Gender","data":{"title":"Gender","type":"string","x-pii":"SENSITIVE","enum":["MALE","FEMALE","UNSPECIFIED","UNDISCLOSED","GENDER_REDACTED"],"example":"FEMALE"}},"components/schemas/GetManagedTravelersResponse":{"id":"components/schemas/GetManagedTravelersResponse","kind":"json-schema","title":"GetManagedTravelersResponse","data":{"type":"object","title":"GetManagedTravelersResponse","description":"Response containing travelers managed by the user.","required":["travelers"],"properties":{"travelers":{"type":"array","items":{"$ref":"#/components/schemas/ManagedTravelerInfo"}}}}},"components/schemas/GetMarriottBonvoyMemberDataResponse":{"id":"components/schemas/GetMarriottBonvoyMemberDataResponse","kind":"json-schema","title":"GetMarriottBonvoyMemberDataResponse","data":{"type":"object","title":"GetMarriottBonvoyMemberDataResponse","description":"Marriott Bonvoy member data. All fields are omitted when the traveler has no linked Bonvoy account or when member data could not be fetched from Marriott.","properties":{"activeCoBrandCardHolder":{"type":"string","description":"Whether the user is an active co-brand card holder.","example":"Y"},"alternateCustomerId":{"type":"string","description":"Alternate Marriott ID","example":"ADA0555952BAEA2001CE5855074B12094.01"},"eliteLevel":{"$ref":"#/components/schemas/EliteLevel"},"eliteLevelId":{"type":"string","description":"Marriott elite level id (R, S, G, P). Stable across member locales.","example":"S"},"eliteLevelDescription":{"type":"string","description":"Elite level display text, localized by Marriott and passed through as-is.","example":"Silver Elite"},"isCardHolder":{"type":"boolean","description":"Whether the member holds an active Marriott co-brand credit card. Derived from activeCoBrandCardHolder.","example":true},"pointBalance":{"type":"integer","description":"Point balance of Marriott Bonvoy member. Can be negative.","example":2000},"accountStatus":{"type":"string","description":"Account status of Marriott Bonvoy member","example":"Active"}}}},"components/schemas/GetRbacInfoResponse":{"id":"components/schemas/GetRbacInfoResponse","kind":"json-schema","title":"GetRbacInfoResponse","data":{"type":"object","title":"GetRbacInfoResponse","description":"Response containing RBAC info for a user.","required":["hasOthersTripAccess","permissions"],"properties":{"hasOthersTripAccess":{"type":"boolean","description":"Flag indicating whether user has access to trips of other travelers.","example":true},"permissions":{"type":"array","description":"List of permissions with their associated actions for the user.","items":{"$ref":"#/components/schemas/PermissionWithActions"}}}}},"components/schemas/HotelBrand":{"id":"components/schemas/HotelBrand","kind":"json-schema","title":"HotelBrand","data":{"type":"object","title":"HotelBrand","description":"The brand of hotel.","properties":{"brandCode":{"type":"string","description":"The code of hotel brand.","example":"HY"},"brandName":{"type":"string","description":"The name of hotel brand.","example":"Global Hytt Corp."}}}},"components/schemas/HotelChain":{"id":"components/schemas/HotelChain","kind":"json-schema","title":"HotelChain","data":{"type":"object","title":"HotelChain","description":"The chain of hotel.","properties":{"chainCode":{"type":"string","description":"The code of hotel chain.","example":"EM"},"chainName":{"type":"string","description":"The name of hotel chain.","example":"Mariott"}}}},"components/schemas/HotelPref":{"id":"components/schemas/HotelPref","kind":"json-schema","title":"HotelPref","data":{"type":"object","title":"HotelPref","description":"Travel preferences related to hotel.","properties":{"hotelParentChains":{"type":"array","description":"A list of hotel parent chains.","items":{"$ref":"#/components/schemas/HotelChain"}},"hotelBrands":{"type":"array","description":"A list of hotel brands.","items":{"$ref":"#/components/schemas/HotelBrand"}},"hotelAmenityTypes":{"type":"array","description":"A list of HotelAmenities.","items":{"$ref":"#/components/schemas/HotelPrefAmenity"}},"roomPreference":{"$ref":"#/components/schemas/RoomPreference"},"conditionalRates":{"type":"array","description":"A list of conditional rates for rail.","items":{"$ref":"#/components/schemas/ConditionalRate"}}}}},"components/schemas/HotelPrefAmenity":{"id":"components/schemas/HotelPrefAmenity","kind":"json-schema","title":"HotelPrefAmenity","data":{"type":"string","description":"Preferred hotel amenity.","enum":["PARKING","FREE_PARKING","FREE_BREAKFAST","POOL","WIFI","FITNESS_CENTER","FAMILY_FRIENDLY","RECEPTION","SPA","RESTAURANT","BAR","TRANSPORTATION","PET_FRIENDLY","BUSINESS_CENTER","AIR_CONDITIONING","BEACH_ACCESS","LAUNDRY_SERVICES","ROOM_SERVICE","ACCESSIBLE"]}},"components/schemas/IdentityDocument":{"id":"components/schemas/IdentityDocument","kind":"json-schema","title":"IdentityDocument","data":{"type":"object","title":"IdentityDocument","description":"Identity document details. Currently supported documents are passport, immigration document, \nknown traveler number, redress number and national document.\n","oneOf":[{"$ref":"#/components/schemas/PassportWrapper"},{"$ref":"#/components/schemas/ImmigrationDocumentWrapper"},{"$ref":"#/components/schemas/RedressNumberWrapper"},{"$ref":"#/components/schemas/KnownTravelerNumberWrapper"},{"$ref":"#/components/schemas/NationalDocWrapper"}]}},"components/schemas/Image":{"id":"components/schemas/Image","kind":"json-schema","title":"Image","data":{"type":"object","title":"Image","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"An image with meta data. Either the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"data"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"url"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" property must be supplied to load the image."},"children":[]}]}]}],"properties":{"data":{"type":"string","format":"byte","example":"6935813e12584abda0e43d71cd2ea260"},"dimensions":{"$ref":"#/components/schemas/Dimensions"},"url":{"type":"string","example":"https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp"},"metadata":{"$ref":"#/components/schemas/ImageMetadata"}}}},"components/schemas/ImageMetadata":{"id":"components/schemas/ImageMetadata","kind":"json-schema","title":"ImageMetadata","data":{"type":"object","title":"ImageMetadata","description":"Metadata associated with an image.","properties":{"variant":{"type":"string","description":"Image variant.","enum":["LIGHT","DARK"],"default":"LIGHT","example":"LIGHT"}}}},"components/schemas/ImmigrationDocument":{"id":"components/schemas/ImmigrationDocument","kind":"json-schema","title":"ImmigrationDocument","data":{"type":"object","title":"ImmigrationDocument","description":"Immigration document details.","required":["docId","expiryDate","issueCountry"],"properties":{"authorizedStayDuration":{"description":"Duration of the stay authorized by the immigration document.","$ref":"#/components/schemas/Duration"},"docId":{"type":"string","description":"The ID of the immigration document.","example":"ImmigrationDocumentID","x-pii":"IDENTIFIER"},"expiryDate":{"description":"The date on which the immigration document expires.","$ref":"#/components/schemas/DateModel","x-pii":"SENSITIVE"},"issueCountry":{"type":"string","description":"The country that issued the immigration document.","example":"IN"},"issuedDate":{"description":"The date on which the immigration document was issued.","$ref":"#/components/schemas/DateModel","x-pii":"SENSITIVE"},"nationalityCountry":{"type":"string","example":"IN","x-pii":"SENSITIVE"},"reentryRequirementDuration":{"$ref":"#/components/schemas/Duration"},"type":{"type":"string","enum":["UNKNOWN","VISA"],"example":"VISA"}}}},"components/schemas/ImmigrationDocumentWrapper":{"id":"components/schemas/ImmigrationDocumentWrapper","kind":"json-schema","title":"ImmigrationDocumentWrapper","data":{"type":"object","title":"ImmigrationDocumentWrapper","properties":{"immigrationDoc":{"$ref":"#/components/schemas/ImmigrationDocument"}}}},"components/schemas/KnownTravelerNumber":{"id":"components/schemas/KnownTravelerNumber","kind":"json-schema","title":"KnownTravelerNumber","data":{"type":"object","title":"KnownTravelerNumber","description":"Information about the Known Traveler Number (KTN).","required":["number","issueCountry"],"properties":{"number":{"type":"string","example":"12345","x-pii":"IDENTIFIER"},"issueCountry":{"type":"string","example":"US"}}}},"components/schemas/KnownTravelerNumberWrapper":{"id":"components/schemas/KnownTravelerNumberWrapper","kind":"json-schema","title":"KnownTravelerNumberWrapper","data":{"type":"object","title":"KnownTravelerNumberWrapper","properties":{"ktn":{"$ref":"#/components/schemas/KnownTravelerNumber"}}}},"components/schemas/Latlng":{"id":"components/schemas/Latlng","kind":"json-schema","title":"Latlng","data":{"title":"Latlng","description":"Latitude and Longitude for a Location","type":"object","required":["latitude","longitude"],"properties":{"latitude":{"type":"number","description":"Latitude of the Location","format":"double","example":77.1025},"longitude":{"type":"number","description":"Longitude of the Location","format":"double","example":28.7041}}}},"components/schemas/ListFavoritesResponse":{"id":"components/schemas/ListFavoritesResponse","kind":"json-schema","title":"ListFavoritesResponse","data":{"type":"object","title":"ListFavoritesResponse","description":"Response containing a list of resolved favorites.","properties":{"favorites":{"type":"array","items":{"$ref":"#/components/schemas/ResolvedFavorite"}}}}},"components/schemas/ListUsersV3CompanyId":{"id":"components/schemas/ListUsersV3CompanyId","kind":"json-schema","title":"ListUsersV3CompanyId","data":{"type":"object","title":"ListUsersV3CompanyId","description":"Company ID","required":["companyId"],"properties":{"companyId":{"description":"Company ID","$ref":"#/components/schemas/EntityId"}}}},"components/schemas/ListUsersV3Request":{"id":"components/schemas/ListUsersV3Request","kind":"json-schema","title":"ListUsersV3Request","data":{"type":"object","title":"ListUsersV3Request","description":"List users request","required":["pagination"],"oneOf":[{"$ref":"#/components/schemas/ListUsersV3TmcId"},{"$ref":"#/components/schemas/ListUsersV3CompanyId"}],"properties":{"userStatusFilter":{"type":"string","enum":["ACTIVE","INACTIVE","ALL"],"description":"Retrieve active, inactive, or all users.","default":"ACTIVE","example":"INACTIVE"},"searchText":{"type":"string","description":"Query text to search users. The match would be case-insensitive.","example":"chi"},"pagination":{"$ref":"#/components/schemas/OffsetBasedPaginationRequestParams"},"filters":{"type":"array","description":"Filters to refine the list of users returned. Users matching with any of the filters would be returned.","items":{"$ref":"#/components/schemas/UserListFilter"}},"region":{"type":"string","description":"Optional region filter to fetch user data from non US regions.","example":"DE"},"includeApiUsers":{"type":"boolean","description":"Whether to include API users in the results.","default":false,"example":true},"sort":{"$ref":"#/components/schemas/UserSort"}}}},"components/schemas/ListUsersV3Response":{"id":"components/schemas/ListUsersV3Response","kind":"json-schema","title":"ListUsersV3Response","data":{"type":"object","title":"ListUsersV3Response","description":"List users response","properties":{"users":{"type":"array","description":"Users matching the filters specified in the request.","items":{"$ref":"#/components/schemas/UserDetail"}},"pagination":{"$ref":"#/components/schemas/OffsetBasedPaginationResponseParams"}}}},"components/schemas/ListUsersV3TmcId":{"id":"components/schemas/ListUsersV3TmcId","kind":"json-schema","title":"ListUsersV3TmcId","data":{"type":"object","title":"ListUsersV3TmcId","description":"TMC ID","required":["tmcId"],"properties":{"tmcId":{"description":"TMC ID","$ref":"#/components/schemas/EntityId"}}}},"components/schemas/LoyaltyInfo":{"id":"components/schemas/LoyaltyInfo","kind":"json-schema","title":"LoyaltyInfo","data":{"type":"object","title":"LoyaltyInfo","description":"Loyalty Info details.","required":["id","type","issuedBy"],"properties":{"appliedTo":{"type":"array","items":{"type":"string","example":"TAJ"}},"id":{"type":"string","example":"firstId","x-pii":"IDENTIFIER"},"issuedBy":{"type":"string","example":"firstIssuedBy"},"type":{"type":"string","enum":["UNKNOWN_TYPE","AIR","HOTEL","CAR","RAIL"],"example":"AIR"},"linked":{"type":"boolean","description":"Indicates if this loyalty account is linked to the external provider. Only applicable for certain loyalty types.","default":false,"example":false},"tier":{"$ref":"#/components/schemas/LoyaltyTier"}}}},"components/schemas/LoyaltyTier":{"id":"components/schemas/LoyaltyTier","kind":"json-schema","title":"LoyaltyTier","data":{"type":"string","description":"Loyalty membership tier name echoed from the supplier.","example":"GOLD"}},"components/schemas/ManagedTravelerInfo":{"id":"components/schemas/ManagedTravelerInfo","kind":"json-schema","title":"ManagedTravelerInfo","data":{"type":"object","title":"ManagedTravelerInfo","description":"Managed traveler information.","required":["userId"],"properties":{"name":{"$ref":"#/components/schemas/Name"},"email":{"type":"string","format":"email","example":"example@email.com"},"phoneNumbers":{"type":"array","items":{"$ref":"#/components/schemas/PhoneNumber"}},"userId":{"$ref":"#/components/schemas/UserId"},"status":{"$ref":"#/components/schemas/TravelerArrangerStatus"},"receiveEmails":{"type":"boolean","description":"Whether to receive emails of booking, flight notifications etc.","default":true}}}},"components/schemas/ManagedTravelerWithUpdatableFields":{"id":"components/schemas/ManagedTravelerWithUpdatableFields","kind":"json-schema","title":"ManagedTravelerWithUpdatableFields","data":{"type":"object","title":"ManagedTravelerWithUpdatableFields","description":"Managed traveler with updatable fields.","required":["userId"],"properties":{"userId":{"$ref":"#/components/schemas/UserId"},"receiveEmails":{"type":"boolean","description":"Whether to receive emails of booking, flight notifications etc.","default":true}}}},"components/schemas/MealPref":{"id":"components/schemas/MealPref","kind":"json-schema","title":"MealPref","data":{"type":"object","title":"MealPref","description":"Meal preferences.","properties":{"exclMealPrefs":{"type":"array","items":{"$ref":"#/components/schemas/MealType"}},"inclMealPrefs":{"type":"array","items":{"$ref":"#/components/schemas/MealType"}},"specialMealDescription":{"type":"string","example":"Veg only meal"}}}},"components/schemas/MealType":{"id":"components/schemas/MealType","kind":"json-schema","title":"MealType","data":{"type":"string","title":"MealType","description":"Type of the meal","enum":["UNKNOWN_MEAL","AVML","BBML","BLML","CHML","DBML","FPML","GFML","HFML","HNML","KSML","LCML","LFML","LPML","LSML","MOML","NLML","NSML","ORML","PFML","RVML","SFML","SPML","VGML","VJML","VLML","VOML"],"example":"VGML"}},"components/schemas/MembershipInfo":{"id":"components/schemas/MembershipInfo","kind":"json-schema","title":"MembershipInfo","data":{"type":"object","description":"User's loyalty program membership details.","properties":{"membershipInfos":{"type":"array","items":{"$ref":"#/components/schemas/LoyaltyInfo"}},"isLoyaltyBlocked":{"type":"boolean","description":"Whether user is blocked to use loyalty programs. This is a read only field.","example":false}}}},"components/schemas/Name":{"id":"components/schemas/Name","kind":"json-schema","title":"Name","data":{"type":"object","title":"Name","description":"Full name containing first, middle, last (family) names, and suffix.","required":["given","family1"],"properties":{"family1":{"type":"string","description":"Last (family) name.","example":"Gandas"},"family2":{"type":"string","example":"FamilyTwo"},"given":{"type":"string","description":"First (given) name.","example":"Vichitr"},"middle":{"type":"string","description":"Middle name.","example":"Kumar"},"suffix":{"$ref":"#/components/schemas/NameSuffix","description":"Suffix used with the name. For example SR or JR.","example":"SR"},"preferred":{"type":"string","description":"Informal preferred name added by traveler. This is not used on any PNR or tickets","example":"Don"}}}},"components/schemas/NameSuffix":{"id":"components/schemas/NameSuffix","kind":"json-schema","title":"NameSuffix","data":{"title":"NameSuffix","description":"Suffix for name","type":"string","enum":["NAME_SUFFIX_UNKNOWN","SR","JR","MD","PHD","II","III","IV","DO","ATTY","V","VI","ESQ","DC","DDS","VM","JD","SECOND","THIRD"],"example":"SR"}},"components/schemas/NationalDoc":{"id":"components/schemas/NationalDoc","kind":"json-schema","title":"NationalDoc","data":{"type":"object","title":"NationalDoc","description":"National Document Id details.","required":["docId","issueCountry"],"properties":{"docId":{"type":"string","description":"Unique id identifying the national document.","example":"NationalDocId","x-pii":"IDENTIFIER"},"issueCountry":{"type":"string","description":"IS0 2 letter country code of the country issuing this id.","example":"IN"},"issuedDate":{"$ref":"#/components/schemas/DateModel","x-pii":"SENSITIVE"},"expiryDate":{"$ref":"#/components/schemas/DateModel","x-pii":"SENSITIVE"},"type":{"type":"string","enum":["DNI","NIE","CPF","MTP","CIN","NID"],"example":"DNI"}}}},"components/schemas/NationalDocWrapper":{"id":"components/schemas/NationalDocWrapper","kind":"json-schema","title":"NationalDocWrapper","data":{"type":"object","title":"NationalDocWrapper","properties":{"nationalDoc":{"$ref":"#/components/schemas/NationalDoc"}}}},"components/schemas/NotificationEmailPreference":{"id":"components/schemas/NotificationEmailPreference","kind":"json-schema","title":"NotificationEmailPreference","data":{"type":"object","title":"NotificationEmailPreference","description":"Email preference for notification type.","properties":{"enabled":{"type":"boolean","description":"Whether the email preference is enabled or not.","default":true},"ccEmails":{"type":"array","description":"List of cc emails for the email preference.","items":{"type":"string","format":"email"}}}}},"components/schemas/NotificationPreferencePerType":{"id":"components/schemas/NotificationPreferencePerType","kind":"json-schema","title":"NotificationPreferencePerType","data":{"type":"object","title":"NotificationPreferencePerType","description":"Notification preference for a notification type.","properties":{"notificationType":{"$ref":"#/components/schemas/NotificationType"},"emailPreference":{"$ref":"#/components/schemas/NotificationEmailPreference"}}}},"components/schemas/NotificationPreferences":{"id":"components/schemas/NotificationPreferences","kind":"json-schema","title":"NotificationPreferences","data":{"type":"object","title":"NotificationPreferences","description":"Notification preferences of a user for different notification types.","properties":{"preferences":{"type":"array","items":{"$ref":"#/components/schemas/NotificationPreferencePerType"}}}}},"components/schemas/NotificationType":{"id":"components/schemas/NotificationType","kind":"json-schema","title":"NotificationType","data":{"type":"string","enum":["FLIGHT_NOTIFICATION","BOOKING_NOTIFICATION"]}},"components/schemas/NumStopsPref":{"id":"components/schemas/NumStopsPref","kind":"json-schema","title":"NumStopsPref","data":{"type":"object","title":"NumStopsPref","description":"Preferred number of stops.","required":["numOfStops"],"properties":{"numOfStops":{"type":"integer","format":"int64","example":34}}}},"components/schemas/OffsetBasedPaginationRequestParams":{"id":"components/schemas/OffsetBasedPaginationRequestParams","kind":"json-schema","title":"OffsetBasedPaginationRequestParams","data":{"type":"object","title":"OffsetBasedPaginationRequestParams","description":"Pagination parameters for requests.","properties":{"offset":{"type":"integer","format":"int32","description":"The starting index in the list from which results are returned. The value must be greater than or equal to 0.","default":0,"minimum":0},"limit":{"type":"integer","format":"int32","description":"Maximum number of results to be fetched.","minimum":1,"default":100}}}},"components/schemas/OffsetBasedPaginationResponseParams":{"id":"components/schemas/OffsetBasedPaginationResponseParams","kind":"json-schema","title":"PaginationResponseParams","data":{"type":"object","title":"PaginationResponseParams","description":"Pagination parameters for response.","required":["totalNumResults"],"properties":{"totalNumResults":{"type":"integer","format":"int32","description":"Total number of results."}}}},"components/schemas/OrganizationAgencyId":{"id":"components/schemas/OrganizationAgencyId","kind":"json-schema","title":"OrganizationAgencyId","data":{"type":"object","title":"OrganizationAgencyId","description":"Agency id for the organization.","deprecated":true,"x-sunset":"2026-07-01","required":["id"],"properties":{"id":{"type":"string"}}}},"components/schemas/OrganizationId":{"id":"components/schemas/OrganizationId","kind":"json-schema","title":"OrganizationId","data":{"type":"object","title":"OrganizationId","description":"Organization id for traveler.","required":["id"],"properties":{"id":{"type":"string"}}}},"components/schemas/Passport":{"id":"components/schemas/Passport","kind":"json-schema","title":"Passport","data":{"type":"object","title":"Passport","description":"Passport details.","required":["docId","expiryDate","issueCountry","nationalityCountry"],"properties":{"docId":{"type":"string","example":"PassportID","x-pii":"IDENTIFIER"},"expiryDate":{"$ref":"#/components/schemas/DateModel","x-pii":"SENSITIVE"},"issueCountry":{"type":"string","example":"IN"},"issuedDate":{"$ref":"#/components/schemas/DateModel","x-pii":"SENSITIVE"},"nationalityCountry":{"type":"string","example":"IN","x-pii":"SENSITIVE"},"type":{"type":"string","enum":["UNKNOWN","REGULAR"],"example":"REGULAR"}}}},"components/schemas/PassportWrapper":{"id":"components/schemas/PassportWrapper","kind":"json-schema","title":"PassportWrapper","data":{"type":"object","title":"PassportWrapper","properties":{"passport":{"$ref":"#/components/schemas/Passport"}}}},"components/schemas/PatchAdhocUserInfo":{"id":"components/schemas/PatchAdhocUserInfo","kind":"json-schema","title":"PatchAdhocUserInfo","data":{"type":"object","title":"PatchAdhocUserInfo","description":"Ad-hoc traveler profile info for PATCH requests. All fields are optional.","properties":{"profileOwner":{"oneOf":[{"$ref":"#/components/schemas/PatchProfileOwner"},{"type":"null"}]},"isSaved":{"nullable":true,"type":"boolean","description":"A boolean flag to show if ad-hoc traveler is visible in search. While updating the user\nif client tries to update this field, it will throw exception.\n"}}}},"components/schemas/PatchAirPref":{"id":"components/schemas/PatchAirPref","kind":"json-schema","title":"PatchAirPref","data":{"type":"object","title":"PatchAirPref","description":"Travel preferences related to air travel for PATCH requests. All fields are optional and nullable.","properties":{"airlinePrefs":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/AirlinePref"}},"alliancePref":{"oneOf":[{"$ref":"#/components/schemas/AlliancePref"},{"type":"null"}]},"farePref":{"oneOf":[{"$ref":"#/components/schemas/FarePref"},{"type":"null"}]},"homeAirport":{"nullable":true,"type":"string","example":"NEW YORK"},"mealPref":{"oneOf":[{"$ref":"#/components/schemas/PatchMealPref"},{"type":"null"}]},"numStopPref":{"oneOf":[{"$ref":"#/components/schemas/PatchNumStopsPref"},{"type":"null"}]},"seatAmenityPref":{"oneOf":[{"$ref":"#/components/schemas/SeatAmenityPref"},{"type":"null"}]},"seatLocationPrefs":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/PatchSeatLocationPref"}},"preferredAirports":{"nullable":true,"type":"array","description":"A list of user preferred airports.","items":{"$ref":"#/components/schemas/PreferredAirport"}}}}},"components/schemas/PatchBusinessInfo":{"id":"components/schemas/PatchBusinessInfo","kind":"json-schema","title":"PatchBusinessInfo","data":{"type":"object","title":"PatchBusinessInfo","description":"User business information for PATCH requests. All fields are optional and nullable.","properties":{"departmentRef":{"oneOf":[{"$ref":"#/components/schemas/PatchReference"},{"type":"null"}]},"designation":{"nullable":true,"type":"string","example":"MANAGER"},"email":{"nullable":true,"type":"string","format":"email","example":"user@business.com","x-pii":"IDENTIFIER"},"employeeId":{"nullable":true,"description":"Unique employee id. Can use email if a company don't use employee ids.","type":"string","example":"101"},"gradeRef":{"oneOf":[{"$ref":"#/components/schemas/PatchReference"},{"type":"null"}]},"legalEntityRef":{"oneOf":[{"$ref":"#/components/schemas/PatchReference"},{"type":"null"}]},"managerRef":{"oneOf":[{"$ref":"#/components/schemas/PatchReference"},{"type":"null"}]},"officeRef":{"oneOf":[{"$ref":"#/components/schemas/PatchReference"},{"type":"null"}]},"organizationRef":{"oneOf":[{"$ref":"#/components/schemas/PatchReference"},{"type":"null"}]},"phoneNumbers":{"nullable":true,"type":"array","x-pii":"IDENTIFIER","items":{"$ref":"#/components/schemas/PhoneNumber"}},"costCenterRef":{"oneOf":[{"$ref":"#/components/schemas/PatchReference"},{"type":"null"}]},"countryCode":{"nullable":true,"type":"string","description":"alpha-2 or alpha-3 ISO country code.","example":"USA"},"workerType":{"oneOf":[{"$ref":"#/components/schemas/WorkerType"},{"type":"null"}]},"accountingCode":{"nullable":true,"type":"string","description":"Code used for accounting.","example":"123"},"companySpecifiedAttributes":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/PatchCompanySpecifiedAttribute"}},"designatedApproverRefs":{"nullable":true,"type":"array","description":"A list of references for designated approvers.","items":{"$ref":"#/components/schemas/PatchReference"}},"authorizerEmail":{"nullable":true,"type":"string","description":"Email address to be used as approval authorizer, when a manager is not present.","example":"example@email.com","x-pii":"IDENTIFIER"}}}},"components/schemas/PatchCarPref":{"id":"components/schemas/PatchCarPref","kind":"json-schema","title":"PatchCarPref","data":{"type":"object","title":"PatchCarPref","description":"Travel preferences related to car for PATCH requests. All fields are optional and nullable.","properties":{"vendors":{"nullable":true,"type":"array","description":"A list of car vendors.","items":{"$ref":"#/components/schemas/CarVendor"}},"carTypes":{"nullable":true,"type":"array","description":"A list of types of car.","items":{"$ref":"#/components/schemas/CarType"}},"engineTypes":{"nullable":true,"type":"array","description":"A list of types of engine.","items":{"$ref":"#/components/schemas/EngineType"}},"transmissionTypes":{"nullable":true,"type":"array","description":"A list of types of transmission.","items":{"$ref":"#/components/schemas/TransmissionSearchFilter"}},"conditionalRates":{"nullable":true,"type":"array","description":"A list of conditional rates for car.","items":{"$ref":"#/components/schemas/ConditionalRate"}}}}},"components/schemas/PatchCompanySpecifiedAttribute":{"id":"components/schemas/PatchCompanySpecifiedAttribute","kind":"json-schema","title":"PatchCompanySpecifiedAttribute","data":{"type":"object","description":"Company specified user arbitrary attribute for PATCH requests. All fields are optional.","properties":{"fixedColumnName":{"nullable":true,"type":"string","example":"contingentType"},"value":{"nullable":true,"type":"string","example":"FSTV"}}}},"components/schemas/PatchDateModel":{"id":"components/schemas/PatchDateModel","kind":"json-schema","title":"PatchDateModel","data":{"title":"PatchDateModel","description":"Date in ISO 8601 standard for PATCH requests.","type":"object","properties":{"iso8601":{"nullable":true,"type":"string","pattern":"^\\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$","example":"2027-07-21"}}}},"components/schemas/PatchEmergencyContact":{"id":"components/schemas/PatchEmergencyContact","kind":"json-schema","title":"PatchEmergencyContact","data":{"type":"object","title":"PatchEmergencyContact","description":"Emergency contact information for PATCH requests.","properties":{"name":{"nullable":true,"type":"string","description":"Full name of contact.","example":"John Smith","x-pii":"SENSITIVE"},"email":{"nullable":true,"type":"string","description":"Email address of contact.","format":"email","example":"emergency-contact@email.com","x-pii":"IDENTIFIER"},"relation":{"nullable":true,"type":"string","description":"Relation of contact to user.","example":"SPOUSE","enum":["RELATION_UNKNOWN","SPOUSE","PARENT","SIBLING","CHILD","FRIEND","RELATIVE","COLLEAGUE","OTHER"]},"phoneNumbers":{"nullable":true,"type":"array","description":"Phone numbers of contact.","x-pii":"IDENTIFIER","items":{"$ref":"#/components/schemas/PhoneNumber"}},"preferredLanguage":{"nullable":true,"type":"string","description":"Language preferred by user.","example":"en-US"}}}},"components/schemas/PatchHotelPref":{"id":"components/schemas/PatchHotelPref","kind":"json-schema","title":"PatchHotelPref","data":{"type":"object","title":"PatchHotelPref","description":"Travel preferences related to hotel for PATCH requests. All fields are optional and nullable.","properties":{"hotelParentChains":{"nullable":true,"type":"array","description":"A list of hotel parent chains.","items":{"$ref":"#/components/schemas/HotelChain"}},"hotelBrands":{"nullable":true,"type":"array","description":"A list of hotel brands.","items":{"$ref":"#/components/schemas/HotelBrand"}},"hotelAmenityTypes":{"nullable":true,"type":"array","description":"A list of HotelAmenities.","items":{"$ref":"#/components/schemas/HotelPrefAmenity"}},"roomPreference":{"oneOf":[{"$ref":"#/components/schemas/PatchRoomPreference"},{"type":"null"}]},"conditionalRates":{"nullable":true,"type":"array","description":"A list of conditional rates for hotel.","items":{"$ref":"#/components/schemas/ConditionalRate"}}}}},"components/schemas/PatchLatlng":{"id":"components/schemas/PatchLatlng","kind":"json-schema","title":"PatchLatlng","data":{"title":"PatchLatlng","description":"Latitude and Longitude for a Location for PATCH requests.","type":"object","properties":{"latitude":{"nullable":true,"type":"number","description":"Latitude of the Location","format":"double","example":77.1025},"longitude":{"nullable":true,"type":"number","description":"Longitude of the Location","format":"double","example":28.7041}}}},"components/schemas/PatchLoyaltyInfo":{"id":"components/schemas/PatchLoyaltyInfo","kind":"json-schema","title":"PatchLoyaltyInfo","data":{"type":"object","title":"PatchLoyaltyInfo","description":"Loyalty Info details for PATCH requests. All fields are optional.","properties":{"appliedTo":{"nullable":true,"type":"array","items":{"type":"string","example":"TAJ"}},"id":{"nullable":true,"type":"string","example":"firstId","x-pii":"IDENTIFIER"},"issuedBy":{"nullable":true,"type":"string","example":"firstIssuedBy"},"type":{"nullable":true,"type":"string","enum":["UNKNOWN_TYPE","AIR","HOTEL","CAR","RAIL"],"example":"AIR"},"linked":{"nullable":true,"type":"boolean","description":"Indicates if this loyalty account is linked to the external provider. Only applicable for certain loyalty types.","example":false},"tier":{"oneOf":[{"$ref":"#/components/schemas/LoyaltyTier"},{"type":"null"}]}}}},"components/schemas/PatchMealPref":{"id":"components/schemas/PatchMealPref","kind":"json-schema","title":"PatchMealPref","data":{"type":"object","title":"PatchMealPref","description":"Meal preferences for PATCH requests. All fields are optional and nullable.","properties":{"exclMealPrefs":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/MealType"}},"inclMealPrefs":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/MealType"}},"specialMealDescription":{"nullable":true,"type":"string","example":"Veg only meal"}}}},"components/schemas/PatchMembershipInfo":{"id":"components/schemas/PatchMembershipInfo","kind":"json-schema","title":"PatchMembershipInfo","data":{"type":"object","title":"PatchMembershipInfo","description":"User's loyalty program membership details for PATCH requests. All fields are optional and nullable.","properties":{"membershipInfos":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/PatchLoyaltyInfo"}},"isLoyaltyBlocked":{"nullable":true,"type":"boolean","description":"Whether user is blocked to use loyalty programs. This is a read only field.","example":false}}}},"components/schemas/PatchName":{"id":"components/schemas/PatchName","kind":"json-schema","title":"PatchName","data":{"type":"object","title":"PatchName","description":"Full name for PATCH requests. All fields are optional.","properties":{"family1":{"nullable":true,"type":"string","description":"Last (family) name.","example":"Gandas"},"family2":{"nullable":true,"type":"string","example":"FamilyTwo"},"given":{"nullable":true,"type":"string","description":"First (given) name.","example":"Vichitr"},"middle":{"nullable":true,"type":"string","description":"Middle name.","example":"Kumar"},"suffix":{"description":"Suffix used with the name.","example":"SR","oneOf":[{"$ref":"#/components/schemas/NameSuffix"},{"type":"null"}]},"preferred":{"nullable":true,"type":"string","description":"Informal preferred name added by traveler. This is not used on any PNR or tickets","example":"Don"}}}},"components/schemas/PatchNumStopsPref":{"id":"components/schemas/PatchNumStopsPref","kind":"json-schema","title":"PatchNumStopsPref","data":{"type":"object","title":"PatchNumStopsPref","description":"Preferred number of stops for PATCH requests. All fields are optional and nullable.","properties":{"numOfStops":{"nullable":true,"type":"integer","format":"int64","example":34}}}},"components/schemas/PatchPostalAddress":{"id":"components/schemas/PatchPostalAddress","kind":"json-schema","title":"PatchPostalAddress","data":{"title":"PatchPostalAddress","description":"Postal Address Details for PATCH requests. All fields are optional.","type":"object","properties":{"addressLines":{"nullable":true,"description":"Address lines","type":"array","items":{"type":"string","example":"Golden Gate Bridge"}},"administrativeArea":{"nullable":true,"type":"string","description":"Code of administrative area. For example: DL for Delhi, India.\n","example":"CA"},"administrativeAreaName":{"nullable":true,"type":"string","description":"Name of administrative area.\n","example":"California"},"description":{"nullable":true,"description":"Address description","type":"string","example":"San Francisco Home"},"isDefault":{"nullable":true,"description":"Whether this address is default address in case multiple addresses are specified.","type":"boolean","example":true},"languageCode":{"nullable":true,"type":"string","example":"en"},"locality":{"nullable":true,"description":"Generally refers to the city/town portion of the address.","type":"string","example":"San Francisco"},"locationCode":{"nullable":true,"description":"IATA 3-letter location code.","type":"string","example":"LAX"},"organization":{"nullable":true,"description":"The name of the organization at the address.","type":"string","example":"Spotnana"},"postalCode":{"nullable":true,"description":"Postal code of the address.","type":"string","example":"94130"},"continentCode":{"nullable":true,"description":"2 letter continent code.","type":"string","example":"AF"},"recipients":{"nullable":true,"description":"The recipient at the address.","type":"array","items":{"type":"string"}},"regionCode":{"nullable":true,"description":"Region code of the country/region of the address.","type":"string","example":"US"},"regionName":{"nullable":true,"description":"Region name of the country/region of the address.","type":"string","example":"America"},"revision":{"nullable":true,"type":"integer","format":"int32","example":1},"sortingCode":{"nullable":true,"type":"string","example":"Jamaica"},"sublocality":{"nullable":true,"description":"Sublocality of the address.","type":"string"},"timezone":{"nullable":true,"description":"Time zone of the address.","type":"string","example":"America/Los_Angeles"},"coordinates":{"description":"Map coordinates of the address.","oneOf":[{"$ref":"#/components/schemas/PatchLatlng"},{"type":"null"}]}}}},"components/schemas/PatchProfileOwner":{"id":"components/schemas/PatchProfileOwner","kind":"json-schema","title":"PatchProfileOwner","data":{"type":"object","title":"PatchProfileOwner","description":"Profile owner info for PATCH requests. All fields are optional.","properties":{"userId":{"oneOf":[{"$ref":"#/components/schemas/PatchUserId"},{"type":"null"}]}}}},"components/schemas/PatchRailPref":{"id":"components/schemas/PatchRailPref","kind":"json-schema","title":"PatchRailPref","data":{"type":"object","title":"PatchRailPref","description":"Travel preferences related to rail for PATCH requests. All fields are optional and nullable.","properties":{"preferredRailStations":{"nullable":true,"type":"array","description":"A list of user preferred rail stations.","items":{"$ref":"#/components/schemas/PreferredRailStation"}},"seatPreference":{"oneOf":[{"$ref":"#/components/schemas/PatchSeatPref"},{"type":"null"}]},"travelClasses":{"nullable":true,"type":"array","description":"A list of class of service for rail.","items":{"$ref":"#/components/schemas/RailTravelClass"}},"coachPreferences":{"nullable":true,"type":"array","description":"A list of coach preference for rail.","items":{"$ref":"#/components/schemas/CoachPref"}},"conditionalRates":{"nullable":true,"type":"array","description":"A list of conditional rates for rail.","items":{"$ref":"#/components/schemas/ConditionalRate"}}}}},"components/schemas/PatchReference":{"id":"components/schemas/PatchReference","kind":"json-schema","title":"Reference object containing uuid and name of the entity.","data":{"type":"object","title":"Reference object containing uuid and name of the entity.","description":"Reference of an entity for PATCH requests.","properties":{"id":{"nullable":true,"type":"string","format":"uuid","example":"b93dc51f-12dd-46c7-b7d6-1cb12cd3f5b3"},"name":{"nullable":true,"type":"string","example":"Name"}}}},"components/schemas/PatchRoomPreference":{"id":"components/schemas/PatchRoomPreference","kind":"json-schema","title":"PatchRoomPreference","data":{"type":"object","title":"PatchRoomPreference","description":"Room options and stay preference for PATCH requests. All fields are optional and nullable.","properties":{"isMobilityAccessible":{"nullable":true,"type":"boolean","description":"Whether or not mobility accessible room, tub.","example":false},"bedCount":{"nullable":true,"type":"string","description":"The number of bed in the room.","enum":["ONE_BED","TWO_BEDS"],"example":"ONE_BED"},"roomType":{"nullable":true,"type":"string","description":"Single selection of type of room.","enum":["SMOKING","NON_SMOKING"],"example":"SMOKING"},"mostImportantFact":{"nullable":true,"type":"string","description":"Single selection of the most import fact.","enum":["ROOM_TYPE","BED_COUNT","ROOM_LOCATION"],"example":"BED_COUNT"},"roomLocation":{"nullable":true,"type":"string","description":"Location of the hotel room","enum":["HIGH_FLOOR","LOW_FLOOR","NEAR_ELEVATOR"],"example":"HIGH_FLOOR"},"pillowType":{"nullable":true,"type":"string","description":"The type of pillow in hotel room.","enum":["FOAM","EXTRA_FOAM","EXTRA_FEATHER"],"example":"FOAM"},"roomAmenityPrefs":{"nullable":true,"type":"array","items":{"type":"string","description":"Amenity preference of the room.","enum":["FEATHER_FREE_ROOM","EXTRA_TOWELS","REFRIGERATOR"],"example":"EXTRA_TOWELS"}}}}},"components/schemas/PatchSeatLocationPref":{"id":"components/schemas/PatchSeatLocationPref","kind":"json-schema","title":"PatchSeatLocationPref","data":{"type":"object","title":"PatchSeatLocationPref","description":"Seat location preference for PATCH requests. All fields are optional and nullable.","properties":{"cabins":{"nullable":true,"type":"array","items":{"type":"string","enum":["UNKNOWN_CABIN","ECONOMY","PREMIUM_ECONOMY","BUSINESS","FIRST"],"example":"FIRST"}},"isBulkHeadPref":{"nullable":true,"type":"boolean","example":false},"maxFlightDurationInHours":{"nullable":true,"type":"integer","format":"int32","example":3},"position":{"nullable":true,"type":"string","enum":["UNKNOWN_POSITION","AISLE","WINDOW","AISLE_OR_WINDOW"],"example":"WINDOW"}}}},"components/schemas/PatchSeatPref":{"id":"components/schemas/PatchSeatPref","kind":"json-schema","title":"PatchSeatPref","data":{"type":"object","title":"PatchSeatPref","description":"Preference about seat of rail for PATCH requests. All fields are optional and nullable.","properties":{"hasAccessibility":{"nullable":true,"type":"boolean","description":"Whether or not requires assistance for disability.","example":false},"seatTypes":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/SeatPrefType"}},"seatLocations":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/SeatPrefLocation"}},"deckLevels":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/DeckLevel"}},"seatDirections":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/SeatPrefDirection"}}}}},"components/schemas/PatchTravelPref":{"id":"components/schemas/PatchTravelPref","kind":"json-schema","title":"PatchTravelPref","data":{"type":"object","title":"PatchTravelPref","description":"Travel preferences for PATCH requests. All fields are optional and nullable.","properties":{"airPref":{"oneOf":[{"$ref":"#/components/schemas/PatchAirPref"},{"type":"null"}]},"preferredCurrency":{"nullable":true,"type":"string","example":"USD"},"railCards":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/RailCard"}},"railPref":{"oneOf":[{"$ref":"#/components/schemas/PatchRailPref"},{"type":"null"}]},"carPref":{"oneOf":[{"$ref":"#/components/schemas/PatchCarPref"},{"type":"null"}]},"hotelPref":{"oneOf":[{"$ref":"#/components/schemas/PatchHotelPref"},{"type":"null"}]}}}},"components/schemas/PatchTravelPreferences":{"id":"components/schemas/PatchTravelPreferences","kind":"json-schema","title":"PatchTravelPreferences","data":{"type":"object","title":"PatchTravelPreferences","description":"User's travel preferences for PATCH requests. All fields are optional and nullable.","properties":{"preferences":{"oneOf":[{"$ref":"#/components/schemas/PatchTravelPref"},{"type":"null"}]}}}},"components/schemas/PatchUserId":{"id":"components/schemas/PatchUserId","kind":"json-schema","title":"PatchUserId","data":{"type":"object","title":"PatchUserId","description":"User identifier for PATCH requests. All fields are optional.","properties":{"id":{"nullable":true,"type":"string","format":"uuid"}}}},"components/schemas/PatchUserPersonalInfo":{"id":"components/schemas/PatchUserPersonalInfo","kind":"json-schema","title":"PatchUserPersonalInfo","data":{"type":"object","title":"PatchUserPersonalInfo","description":"User details for PATCH requests. All fields are optional and nullable.","properties":{"addresses":{"nullable":true,"type":"array","x-pii":"SENSITIVE","items":{"$ref":"#/components/schemas/PatchPostalAddress"}},"dob":{"x-pii":"SENSITIVE","oneOf":[{"$ref":"#/components/schemas/PatchDateModel"},{"type":"null"}]},"email":{"nullable":true,"type":"string","format":"email","example":"example@email.com","x-pii":"IDENTIFIER"},"gender":{"x-pii":"SENSITIVE","oneOf":[{"$ref":"#/components/schemas/Gender"},{"type":"null"}]},"identityDocs":{"nullable":true,"type":"array","description":"List of user identity documents.","items":{"$ref":"#/components/schemas/IdentityDocument"}},"name":{"oneOf":[{"$ref":"#/components/schemas/PatchName"},{"type":"null"}]},"phoneNumbers":{"nullable":true,"type":"array","x-pii":"IDENTIFIER","items":{"$ref":"#/components/schemas/PhoneNumber"}},"profilePicture":{"x-pii":"SENSITIVE","oneOf":[{"$ref":"#/components/schemas/Image"},{"type":"null"}]},"nationality":{"nullable":true,"type":"string","example":"Indian","description":"Nationality of user","x-pii":"SENSITIVE"},"title":{"oneOf":[{"$ref":"#/components/schemas/UserTitle"},{"type":"null"}]},"preferredLanguage":{"nullable":true,"type":"string","description":"Language preferred by user.","example":"en-US"},"preferredPronoun":{"description":"Pronoun preferred by user.","oneOf":[{"$ref":"#/components/schemas/PreferredPronoun"},{"type":"null"}]},"travelerName":{"description":"A name of user that does not contain special characters.","oneOf":[{"$ref":"#/components/schemas/PatchName"},{"type":"null"}]},"emergencyContact":{"oneOf":[{"$ref":"#/components/schemas/PatchEmergencyContact"},{"type":"null"}]}}}},"components/schemas/PatchUserUpdateRequest":{"id":"components/schemas/PatchUserUpdateRequest","kind":"json-schema","title":"PatchUserUpdateRequest","data":{"type":"object","description":"Patch request for updating traveler details. All fields are optional and nullable.","properties":{"personalInfo":{"oneOf":[{"$ref":"#/components/schemas/PatchUserPersonalInfo"},{"type":"null"}]},"businessInfo":{"oneOf":[{"$ref":"#/components/schemas/PatchBusinessInfo"},{"type":"null"}]},"persona":{"oneOf":[{"$ref":"#/components/schemas/Persona"},{"type":"null"}]},"tier":{"oneOf":[{"$ref":"#/components/schemas/Tier"},{"type":"null"}]},"stealthType":{"oneOf":[{"$ref":"#/components/schemas/StealthType"},{"type":"null"}]},"travelPreferences":{"oneOf":[{"$ref":"#/components/schemas/PatchTravelPreferences"},{"type":"null"}]},"membershipInfo":{"oneOf":[{"$ref":"#/components/schemas/PatchMembershipInfo"},{"type":"null"}]},"notificationPreferences":{"oneOf":[{"$ref":"#/components/schemas/NotificationPreferences"},{"type":"null"}]},"adhocUserInfo":{"oneOf":[{"$ref":"#/components/schemas/PatchAdhocUserInfo"},{"type":"null"}]},"externalId":{"nullable":true,"type":"string","description":"The partner-assigned user identifier."}}}},"components/schemas/PermissionAction":{"id":"components/schemas/PermissionAction","kind":"json-schema","title":"PermissionAction","data":{"type":"string","title":"PermissionAction","description":"Actions which can be performed for a given permission.","enum":["ALL","CREATE","READ","WRITE","DELETE","PURGE"],"example":"READ"}},"components/schemas/PermissionName":{"id":"components/schemas/PermissionName","kind":"json-schema","title":"PermissionName","data":{"type":"string","title":"PermissionName","description":"Permission","enum":["PLATFORM_MANAGEMENT","TMC_MANAGEMENT","COMPANY_MANAGEMENT","USER_MANAGEMENT","USER_PROFILE","EVENT_MANAGEMENT","REPORT_MANAGEMENT","ACCESS_MANAGEMENT","TRIP_MANAGEMENT","AGENT","DEVELOPER_PLATFORM_MANAGEMENT","THIRD_PARTY_NOTIFICATION_MANAGEMENT","AGENT_CONTACT_CENTER_MANAGEMENT","AGENT_CONTACT_CENTER_SUPPORT_MANAGEMENT","AGENT_CONTACT_CENTER_TEAM_MANAGEMENT","AGENT_CONTACT_CENTER_ANALYTICS_MANAGEMENT","AGENT_CONTACT_CENTER_SETTINGS_MANAGEMENT"],"example":"COMPANY_MANAGEMENT"}},"components/schemas/PermissionWithActions":{"id":"components/schemas/PermissionWithActions","kind":"json-schema","title":"PermissionWithActions","data":{"type":"object","title":"PermissionWithActions","description":"Permission with actions","required":["permission","actions"],"properties":{"permission":{"$ref":"#/components/schemas/PermissionName","example":"USER_MANAGEMENT"},"actions":{"type":"array","items":{"$ref":"#/components/schemas/PermissionAction"},"description":"Actions allowed on the permission like read/write/delete.","example":["READ","WRITE"]}}}},"components/schemas/Persona":{"id":"components/schemas/Persona","kind":"json-schema","title":"Persona","data":{"type":"string","title":"Persona","description":"Persona of the user","enum":["UNKNOWN_PERSONA","EMPLOYEE","GUEST","PERSONAL","RELATIVE","ADHOC"],"example":"EMPLOYEE"}},"components/schemas/PersonalDetail":{"id":"components/schemas/PersonalDetail","kind":"json-schema","title":"PersonalDetail","data":{"type":"object","title":"PersonalDetail","description":"Personal details of the user","properties":{"name":{"$ref":"#/components/schemas/Name"},"title":{"$ref":"#/components/schemas/UserTitle"},"gender":{"$ref":"#/components/schemas/Gender"},"pronoun":{"$ref":"#/components/schemas/PreferredPronoun"},"preferredLanguage":{"type":"string","description":"Preferred language of the user"},"nationality":{"type":"string","description":"Nationality of the user"},"profilePicture":{"$ref":"#/components/schemas/Image"}}}},"components/schemas/PhoneNumber":{"id":"components/schemas/PhoneNumber","kind":"json-schema","title":"PhoneNumber","data":{"type":"object","title":"PhoneNumber","description":"Properly formatted phone number.","properties":{"countryCode":{"type":"integer","format":"int32","description":"two digit country code","example":91},"countryCodeSource":{"type":"string","enum":["UNSPECIFIED","FROM_NUMBER_WITH_PLUS_SIGN","FROM_NUMBER_WITH_IDD","FROM_NUMBER_WITHOUT_PLUS_SIGN","FROM_DEFAULT_COUNTRY"],"example":"FROM_NUMBER_WITH_PLUS_SIGN"},"extension":{"description":"phone number extension","type":"string","example":"222"},"isoCountryCode":{"description":"ISO alpha-2 code","type":"string","example":"IN"},"italianLeadingZero":{"type":"boolean","default":false,"example":true},"nationalNumber":{"type":"integer","format":"int64","example":8150},"numberOfLeadingZeros":{"type":"integer","format":"int32","default":0,"example":1},"preferredDomesticCarrierCode":{"type":"string","example":"7"},"rawInput":{"type":"string","example":"77777"},"type":{"type":"string","enum":["UNKNOWN_TYPE","MOBILE","LANDLINE"],"example":"MOBILE"}}}},"components/schemas/PolicyBasicInfo":{"id":"components/schemas/PolicyBasicInfo","kind":"json-schema","title":"PolicyBasicInfo","data":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","description":"Id for policy.","example":"348fcc1c-c33a-4942-8834-a7888913dd66"},"name":{"type":"string","description":"Name of the policy","example":"HR Policy"}}}},"components/schemas/PostalAddress":{"id":"components/schemas/PostalAddress","kind":"json-schema","title":"PostalAddress","data":{"title":"PostalAddress","description":"Postal Address Details","type":"object","required":["addressLines","regionCode"],"properties":{"addressLines":{"description":"Address lines","type":"array","items":{"type":"string","example":"Golden Gate Bridge"}},"administrativeArea":{"type":"string","description":"Code of administrative area. For example: DL for Delhi, India.\nHighest administrative subdivision which is used for postal\naddresses of a country or region.\nFor example, this can be a state, a province, an oblast, or a prefecture.\nSpecifically, for Spain this is the province and not the autonomous\ncommunity (e.g. \"Barcelona\" and not \"Catalonia\").\nMany countries don't use an administrative area in postal addresses. E.g.\nin Switzerland this should be left unpopulated.\n","example":"CA"},"administrativeAreaName":{"type":"string","description":"Name of administrative area. This is full name corresponding to administrativeArea. \nLike Delhi for DL area code. For some places, code and name maybe same as well like Tokyo.\n","example":"California"},"description":{"description":"Address description","type":"string","example":"San Francisco Home"},"isDefault":{"description":"Whether this address is default address in case multiple addresses are specified.","type":"boolean","example":true},"languageCode":{"description":"BCP-47 language code of the contents of this address (if known). This is often the UI \nlanguage of the input form or is expected to match one of the languages used in the \naddress' country/region, or their transliterated equivalents.\nThis can affect formatting in certain countries, but is not critical to the correctness \nof the data and will never affect any validation or other non-formatting related operations.\nExamples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".\n","type":"string","example":"en"},"locality":{"description":"Generally refers to the city/town portion of the address.","type":"string","example":"San Francisco"},"locationCode":{"description":"IATA 3-letter location code. See https://www.iata.org/en/services/codes.","type":"string","example":"LAX"},"organization":{"description":"The name of the organization at the address.","type":"string","example":"Spotnana"},"postalCode":{"description":"Postal code of the address. This is a required field when setting for a user/legal entity/company etc.","type":"string","example":"94130"},"continentCode":{"description":"2 letter continent code of the continent this address falls in.","type":"string","example":"AF"},"recipients":{"description":"The recipient at the address.","type":"array","items":{"type":"string"}},"regionCode":{"description":"Region code of the country/region of the address.","type":"string","example":"US"},"regionName":{"description":"Region name of the country/region of the address.","type":"string","example":"America"},"revision":{"type":"integer","format":"int32","example":1},"sortingCode":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Additional, country-specific, sorting code. This is not used"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"in most regions. Where it is used, the value is either a string like"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"\"CEDEX\", optionally followed by a number (e.g. \"CEDEX 7\"), or just a number"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\""},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"(Malawi) or \"post office indicator\" (e.g. Côte d'Ivoire)."},"children":[]}]}]}],"type":"string","example":"Jamaica"},"sublocality":{"description":"Sublocality of the address. This can be neighborhoods, boroughs, districts.","type":"string"},"timezone":{"description":"Time zone of the address.","type":"string","example":"America/Los_Angeles"},"coordinates":{"description":"Map coordinates of the address.","$ref":"#/components/schemas/Latlng"}}}},"components/schemas/PreferredAirport":{"id":"components/schemas/PreferredAirport","kind":"json-schema","title":"PreferredAirport","data":{"type":"object","title":"PreferredAirport","description":"Airport preferred by traveler.","required":["airportCode","label"],"properties":{"airportName":{"type":"string","description":"Airport name.","example":"San Francisco International Airport"},"airportCode":{"type":"string","description":"IATA airport code.","example":"SFO"},"label":{"$ref":"#/components/schemas/PreferredLocationLabel"}}}},"components/schemas/PreferredLocationLabel":{"id":"components/schemas/PreferredLocationLabel","kind":"json-schema","title":"PreferredLocationLabel","data":{"type":"string","title":"PreferredLocationLabel","description":"The label of preferred airport or rail station.","enum":["HOME","WORK","OTHER"],"example":"HOME"}},"components/schemas/PreferredPronoun":{"id":"components/schemas/PreferredPronoun","kind":"json-schema","title":"PreferredPronoun","data":{"title":"PreferredPronoun","type":"string","enum":["SHE_HER_HERS","HE_HIM_HIS","THEY_THEM_THEIRS"],"example":"SHE_HER_HERS"}},"components/schemas/PreferredRailStation":{"id":"components/schemas/PreferredRailStation","kind":"json-schema","title":"PreferredRailStation","data":{"type":"object","title":"PreferredRailStation","description":"Rail station preferred by traveler.","required":["stationCode","label"],"properties":{"stationName":{"type":"string","description":"Rail station name.","example":"Chicago Union Station"},"stationCode":{"type":"string","description":"Rail station code.","example":"CHI"},"cityName":{"type":"string","description":"Name of city where the rail station is located.","example":"Chicago"},"countryCode":{"type":"string","description":"Alpha-2 country code where the rail station is located."},"label":{"$ref":"#/components/schemas/PreferredLocationLabel"}}}},"components/schemas/PrimaryServiceProviderTmc":{"id":"components/schemas/PrimaryServiceProviderTmc","kind":"json-schema","title":"PrimaryServiceProviderTmc","data":{"type":"object","title":"PrimaryServiceProviderTmc","description":"Primary service provider TMC info","required":["tmcId"],"properties":{"tmcId":{"$ref":"#/components/schemas/CompanyId","description":"Id of the service provider TMC."}}}},"components/schemas/ProfileOwner":{"id":"components/schemas/ProfileOwner","kind":"json-schema","title":"ProfileOwner","data":{"type":"object","title":"ProfileOwner","description":"Basic information about the owner of the ad-hoc user.","required":["userId"],"properties":{"userId":{"$ref":"#/components/schemas/UserId"}}}},"components/schemas/RailCard":{"id":"components/schemas/RailCard","kind":"json-schema","title":"RailCard","data":{"type":"object","title":"RailCard","description":"Rail card","required":["name","spotnanaCode","vendor"],"properties":{"cardNumber":{"type":"string","description":"Number of card"},"expiryDate":{"description":"Expiry date of the Rail Card.","$ref":"#/components/schemas/DateModel"},"name":{"type":"string","description":"Name of the Rail Card.","example":"Veterans Railcard"},"spotnanaCode":{"description":"Unique Spotnana code/identifier for Rail Card.","type":"string","example":"VET"},"vendor":{"type":"string","description":"Vendor Name.","example":"ATOC"}}}},"components/schemas/RailPref":{"id":"components/schemas/RailPref","kind":"json-schema","title":"RailPref","data":{"type":"object","title":"RailPref","description":"Travel preferences related to rail station.","properties":{"preferredRailStations":{"type":"array","description":"A list of user preferred rail stations.","items":{"$ref":"#/components/schemas/PreferredRailStation"}},"seatPreference":{"$ref":"#/components/schemas/SeatPref"},"travelClasses":{"type":"array","description":"A list of class of service for rail.","items":{"$ref":"#/components/schemas/RailTravelClass"}},"coachPreferences":{"type":"array","description":"A list of coach preference for rail.","items":{"$ref":"#/components/schemas/CoachPref"}},"conditionalRates":{"type":"array","description":"A list of conditional rates for rail.","items":{"$ref":"#/components/schemas/ConditionalRate"}}}}},"components/schemas/RailTravelClass":{"id":"components/schemas/RailTravelClass","kind":"json-schema","title":"RailTravelClass","data":{"description":"Travel class","type":"string","enum":["FIRST","STANDARD","BUSINESS","SLEEPER","STANDARD_PREMIUM","BUSINESS_PREMIUM","COACH","ROOM","EXECUTIVE"],"example":"FIRST"}},"components/schemas/RedressNumber":{"id":"components/schemas/RedressNumber","kind":"json-schema","title":"RedressNumber","data":{"type":"object","title":"RedressNumber","description":"Redress details","required":["number","issueCountry"],"properties":{"number":{"type":"string","example":"12345","x-pii":"IDENTIFIER"},"issueCountry":{"type":"string","example":"US"}}}},"components/schemas/RedressNumberWrapper":{"id":"components/schemas/RedressNumberWrapper","kind":"json-schema","title":"RedressNumberWrapper","data":{"type":"object","title":"RedressNumberWrapper","properties":{"redress":{"$ref":"#/components/schemas/RedressNumber"}}}},"components/schemas/Reference":{"id":"components/schemas/Reference","kind":"json-schema","title":"Reference object containing uuid and name of the entity.","data":{"type":"object","title":"Reference object containing uuid and name of the entity.","description":"Reference of an entity","required":["id"],"properties":{"id":{"type":"string","format":"uuid","example":"b93dc51f-12dd-46c7-b7d6-1cb12cd3f5b3"},"name":{"type":"string","example":"Name"}}}},"components/schemas/Relation":{"id":"components/schemas/Relation","kind":"json-schema","title":"Relation","data":{"deprecated":true,"x-sunset":"2026-07-01","type":"string","enum":["SPOUSE","CHILD","FRIEND","PARENT","OTHER"],"example":"SPOUSE"}},"components/schemas/RelativeOf":{"id":"components/schemas/RelativeOf","kind":"json-schema","title":"RelativeOf","data":{"type":"object","description":"Link to primary traveler","properties":{"userRef":{"$ref":"#/components/schemas/Reference"},"relation":{"$ref":"#/components/schemas/Relation"}}}},"components/schemas/RemoveManagedTravelersRequest":{"id":"components/schemas/RemoveManagedTravelersRequest","kind":"json-schema","title":"RemoveManagedTravelersRequest","data":{"type":"object","title":"RemoveManagedTravelersRequest","description":"Request to remove managed travelers for a given user.","required":["travelers"],"properties":{"travelers":{"type":"array","description":"Travelers to be removed.","items":{"$ref":"#/components/schemas/UserId"}}}}},"components/schemas/ResolvedFavorite":{"id":"components/schemas/ResolvedFavorite","kind":"json-schema","title":"ResolvedFavorite","data":{"type":"object","title":"ResolvedFavorite","description":"A favorite item with its URL.","properties":{"favorite":{"$ref":"#/components/schemas/FavoriteItem"},"type":{"type":"string","description":"The type of favorite."},"url":{"type":"string","description":"The URL for this favorite."}}}},"components/schemas/RoleConfig":{"id":"components/schemas/RoleConfig","kind":"json-schema","title":"RoleConfig","data":{"type":"object","description":"Role Info","properties":{"roleType":{"$ref":"#/components/schemas/RoleTypeEnum"},"roleMetadata":{"deprecated":true,"x-sunset":"2026-07-01","$ref":"#/components/schemas/RoleMeta"},"metadata":{"$ref":"#/components/schemas/RoleMetadataV2"}}}},"components/schemas/RoleMeta":{"id":"components/schemas/RoleMeta","kind":"json-schema","title":"RoleMeta","data":{"type":"object","properties":{"travelArrangerMetadata":{"$ref":"#/components/schemas/TravelArrangerMetadata"}}}},"components/schemas/RoleMetadataV2":{"id":"components/schemas/RoleMetadataV2","kind":"json-schema","title":"RoleMetadataV2","data":{"type":"object","discriminator":{"propertyName":"roleType","mapping":{"TRAVEL_ARRANGER":"#/components/schemas/TravelArrangerMetadataV2","COMPANY_ADMIN":"#/components/schemas/CompanyRoleInfo","COMPANY_TRAVEL_ARRANGER":"#/components/schemas/CompanyRoleInfo","COMPANY_REPORT_ADMIN":"#/components/schemas/CompanyRoleInfo","TMC_ADMIN":"#/components/schemas/TmcRoleInfo","TMC_AGENT":"#/components/schemas/TmcRoleInfo"}},"oneOf":[{"$ref":"#/components/schemas/TravelArrangerMetadataV2"},{"$ref":"#/components/schemas/CompanyRoleInfo"},{"$ref":"#/components/schemas/TmcRoleInfo"}]}},"components/schemas/RoleType":{"id":"components/schemas/RoleType","kind":"json-schema","title":"RoleType","data":{"type":"string","enum":["UNKNOWN_TYPE","COMPANY_ADMIN","COMPANY_TRAVEL_ARRANGER","TRAVEL_ARRANGER","COMPANY_REPORT_ADMIN","GLOBAL_ADMIN","GLOBAL_AGENT","TMC_AGENT","TMC_ADMIN"],"example":"TRAVEL_ARRANGER"}},"components/schemas/RoleTypeEnum":{"id":"components/schemas/RoleTypeEnum","kind":"json-schema","title":"RoleTypeEnum","data":{"type":"string","enum":["COMPANY_ADMIN","COMPANY_TRAVEL_ARRANGER","TRAVEL_ARRANGER","COMPANY_REPORT_ADMIN","TMC_ADMIN","TMC_AGENT","GLOBAL_ADMIN","GLOBAL_AGENT"]}},"components/schemas/RolesConfig":{"id":"components/schemas/RolesConfig","kind":"json-schema","title":"RolesConfig","data":{"type":"object","description":"User's roles and associated metadata","required":["roles"],"properties":{"roles":{"type":"array","items":{"$ref":"#/components/schemas/RoleConfig"}}}}},"components/schemas/RoomPreference":{"id":"components/schemas/RoomPreference","kind":"json-schema","title":"RoomPreference","data":{"type":"object","title":"RoomPreference","description":"Room options and stay preference.","properties":{"isMobilityAccessible":{"type":"boolean","description":"Whether or not mobility accessible room, tub.","default":false,"example":false},"bedCount":{"type":"string","description":"The number of bed in the room.","enum":["ONE_BED","TWO_BEDS"],"example":"ONE_BED"},"roomType":{"type":"string","description":"Single selection of type of room.","enum":["SMOKING","NON_SMOKING"],"example":"SMOKING"},"mostImportantFact":{"type":"string","description":"Single selection of the most import fact.","enum":["ROOM_TYPE","BED_COUNT","ROOM_LOCATION"],"example":"BED_COUNT"},"roomLocation":{"type":"string","description":"Location of the hotel room","enum":["HIGH_FLOOR","LOW_FLOOR","NEAR_ELEVATOR"],"example":"HIGH_FLOOR"},"pillowType":{"type":"string","description":"The type of pillow in hotel room.","enum":["FOAM","EXTRA_FOAM","EXTRA_FEATHER"],"example":"FOAM"},"roomAmenityPrefs":{"type":"array","items":{"type":"string","description":"Amenity preference of the room.","enum":["FEATHER_FREE_ROOM","EXTRA_TOWELS","REFRIGERATOR"],"example":"EXTRA_TOWELS"}}}}},"components/schemas/SeatAmenityPref":{"id":"components/schemas/SeatAmenityPref","kind":"json-schema","title":"SeatAmenityPref","data":{"type":"object","title":"SeatAmenityPref","description":"Seat amenity preference.","required":["seatAmenityTypes"],"properties":{"seatAmenityTypes":{"type":"array","items":{"type":"string","enum":["UNKNOWN_AIR_SEAT_AMENITY_TYPE","FLAT_BED","WIFI","IN_SEAT_POWER"],"example":"WIFI"}}}}},"components/schemas/SeatLocationPref":{"id":"components/schemas/SeatLocationPref","kind":"json-schema","title":"SeatLocationPref","data":{"type":"object","title":"SeatLocationPref","description":"Seat location preference.","properties":{"cabins":{"type":"array","items":{"type":"string","enum":["UNKNOWN_CABIN","ECONOMY","PREMIUM_ECONOMY","BUSINESS","FIRST"],"example":"FIRST"}},"isBulkHeadPref":{"type":"boolean","example":false},"maxFlightDurationInHours":{"type":"integer","format":"int32","example":3},"position":{"type":"string","enum":["UNKNOWN_POSITION","AISLE","WINDOW","AISLE_OR_WINDOW"],"example":"WINDOW"}}}},"components/schemas/SeatPref":{"id":"components/schemas/SeatPref","kind":"json-schema","title":"SeatPref","data":{"type":"object","title":"SeatPref","description":"Preference about seat of rail.","properties":{"hasAccessibility":{"type":"boolean","description":"Whether or not requires assistance for disability.","default":false,"example":false},"seatTypes":{"type":"array","items":{"$ref":"#/components/schemas/SeatPrefType"}},"seatLocations":{"type":"array","items":{"$ref":"#/components/schemas/SeatPrefLocation"}},"deckLevels":{"type":"array","items":{"$ref":"#/components/schemas/DeckLevel"}},"seatDirections":{"type":"array","items":{"$ref":"#/components/schemas/SeatPrefDirection"}}}}},"components/schemas/SeatPrefDirection":{"id":"components/schemas/SeatPrefDirection","kind":"json-schema","title":"SeatPrefDirection","data":{"type":"string","description":"The direction of seat of the rail.","enum":["FORWARD","BACKWARD"],"example":"FORWARD"}},"components/schemas/SeatPrefLocation":{"id":"components/schemas/SeatPrefLocation","kind":"json-schema","title":"SeatPrefLocation","data":{"type":"string","description":"The location of seat of the rail.","enum":["AISLE","WINDOW","SOLO"],"example":"AISLE"}},"components/schemas/SeatPrefType":{"id":"components/schemas/SeatPrefType","kind":"json-schema","title":"SeatPrefType","data":{"type":"string","description":"The type of seat of the rail.","enum":["SLEEPER_BED","NORMAL","TABLE_SEAT"],"example":"NORMAL"}},"components/schemas/SecondaryServiceProviderTmc":{"id":"components/schemas/SecondaryServiceProviderTmc","kind":"json-schema","title":"SecondaryServiceProviderTmc","data":{"type":"object","title":"SecondaryServiceProviderTmc","description":"Secondary service provider TMC info","required":["tmcId","supplier","travelType"],"properties":{"tmcId":{"$ref":"#/components/schemas/CompanyId","description":"Id of the service provider TMC."},"supplier":{"$ref":"#/components/schemas/SupplierType","description":"Supplier for which this service provider should be used."},"travelType":{"$ref":"#/components/schemas/TravelType","description":"Travel type for which this service provider should be used."}}}},"components/schemas/StealthMode":{"id":"components/schemas/StealthMode","kind":"json-schema","title":"StealthMode","data":{"type":"object","title":"StealthMode","description":"Stealth mode configuration with type and label.","required":["stealthType","label"],"properties":{"stealthType":{"$ref":"#/components/schemas/StealthType"},"label":{"type":"string","description":"Customer specific label for the stealth mode."}}}},"components/schemas/StealthType":{"id":"components/schemas/StealthType","kind":"json-schema","title":"StealthType","data":{"type":"string","description":"Stealth type.","enum":["STEALTH_TYPE_1","STEALTH_TYPE_2","STEALTH_TYPE_3"],"example":"STEALTH_TYPE_1","x-ignoreBreakingChanges":["StealthType->STEALTH_TYPE_4","StealthType->STEALTH_TYPE_5","StealthType->STEALTH_TYPE_6"]}},"components/schemas/SupplierType":{"id":"components/schemas/SupplierType","kind":"json-schema","title":"SupplierType","data":{"type":"string","description":"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","ENTERPRISE","HYATT","HILTON","NATIONAL","ALAMO","HERTZ","DOLLAR","THRIFTY","FIREFLY","EUROSTAR","AVIS","BUDGET","AMADEUS_NDC","SIXT"],"x-ignoreBreakingChanges":["SupplierType->PREMIER_INN","SupplierType->HILTON","SupplierType->SIXT"],"example":"SABRE"}},"components/schemas/SupportConfig":{"id":"components/schemas/SupportConfig","kind":"json-schema","title":"SupportConfig","data":{"type":"object","title":"SupportConfig","description":"Support Configuration for company","properties":{"contactNumbers":{"type":"array","description":"List of support phone numbers.","items":{"$ref":"#/components/schemas/PhoneNumber"}},"emailAddresses":{"type":"array","description":"List of the support email addresses.","uniqueItems":true,"items":{"type":"string","example":"support@spotnana.com"}},"freshdeskConfig":{"$ref":"#/components/schemas/FreshdeskConfig"},"tier":{"$ref":"#/components/schemas/Tier","default":"BASIC"},"genesysConfig":{"type":"object","title":"GenesysConfig","description":"Configuration for genesys.","required":["enabled","dataUrl"],"properties":{"enabled":{"type":"boolean","description":"Whether genesys is enabled or not.","default":false,"example":true},"dataUrl":{"type":"string","description":"Data url for genesys."}}},"portalUrls":{"type":"array","description":"List of the support portal urls.","uniqueItems":true,"items":{"type":"string","example":"www.support.spotnana.com"}},"zendeskConfig":{"type":"object","title":"ZendeskConfig","description":"Configuration for zendesk.","required":["enabled","integrationId"],"properties":{"enabled":{"type":"boolean","description":"Whether Zendesk Chat is enabled or not.","default":false,"example":true},"integrationId":{"type":"string","description":"Integration ID for Zendesk Chat for Web.","example":"1234567890"},"androidIntegrationId":{"type":"string","description":"Integration ID for Zendesk Chat for Android.","example":"1234567890"},"iosIntegrationId":{"type":"string","description":"Integration ID for Zendesk Chat for iOS.","example":"1234567890"}}},"genesysCloudConfig":{"type":"object","title":"GenesysCloudConfig","description":"Configuration for Genesys cloud.","required":["enabled","deploymentId","environment","genesysScriptUrl"],"properties":{"enabled":{"type":"boolean","description":"Whether Genesys Cloud is enabled or not.","default":false,"example":true},"deploymentId":{"type":"string","description":"DeploymentId for Genesys Cloud.","example":"52dc2a6f-772a-4edf-96d3-b3f0c49400a7"},"environment":{"type":"string","description":"Environment for Genesys Cloud.","example":"usa-1"},"genesysScriptUrl":{"type":"string","description":"Url for Genesys Cloud Script.","example":"https://test.test.com"},"clientId":{"type":"string","description":"Client ID for Genesys Cloud.","example":"1ab2cd3efghijklmnop4qr5s6t"}}},"twilioChatConfig":{"type":"object","title":"TwilioChatConfig","description":"Configuration for Twilio Chat.","required":["enabled"],"properties":{"enabled":{"type":"boolean","description":"Whether Twilio Chat is enabled or not."}}},"cognigyChatConfig":{"type":"object","title":"CognigyChatConfig","description":"Cognigy Chat Config.","properties":{"enabled":{"type":"boolean","description":"Whether Cognigy chat is enabled or not.","x-requiredFrom":"2025-05-12"},"scriptUrl":{"type":"string","description":"Url for Cognigy Script.","example":"https://your-cognigy-instance.com/script/abcdef123456","x-requiredFrom":"2025-05-12"},"initWebchatEndpoint":{"type":"string","description":"Endpoint for Cognigy initWebchat method.","example":"https://your-cognigy-instance.com/initWebchat","x-requiredFrom":"2025-05-12"},"sessionTimeout":{"type":"integer","format":"integer","description":"Session timeout (in minutes) for Cognigy Chat.","example":30,"x-requiredFrom":"2025-05-12"},"cssUrl":{"type":"string","description":"Url for Cognigy Chat CSS.","example":"https://your-server.com/css/chat.css"}}}}}},"components/schemas/SupportConfigs":{"id":"components/schemas/SupportConfigs","kind":"json-schema","title":"SupportConfigs","data":{"title":"SupportConfigs","type":"object","properties":{"length":{"type":"integer","format":"int32"},"elements":{"type":"array","description":"Support Configurations List.","items":{"$ref":"#/components/schemas/SupportConfig"}}}}},"components/schemas/Tier":{"id":"components/schemas/Tier","kind":"json-schema","title":"Tier","data":{"type":"string","title":"Tier","description":"Tier of User.\nNote: In default UI, BASIC is displayed as Standard, and SEAT1A is displayed as VIP.\nDisplay names for other tiers are driven by the company tier configuration.\n","enum":["BASIC","SEAT1A","TIER_2","TIER_3","TIER_4","TIER_5","TIER_6","TIER_7","TIER_8","TIER_9","TIER_10","TIER_11","TIER_12","TIER_13","TIER_14","TIER_15","TIER_16","TIER_17","TIER_18","TIER_19","TIER_20","TIER_21","TIER_22","TIER_23","TIER_24","TIER_25","TIER_26","TIER_27","TIER_28","TIER_29","TIER_30","TIER_31"],"x-enum-varnames":["BASIC","SEAT1A","TIER_2","TIER_3","TIER_4","TIER_5","TIER_6","TIER_7","TIER_8","TIER_9","TIER_10","TIER_11","TIER_12","TIER_13","TIER_14","TIER_15","TIER_16","TIER_17","TIER_18","TIER_19","TIER_20","TIER_21","TIER_22","TIER_23","TIER_24","TIER_25","TIER_26","TIER_27","TIER_28","TIER_29","TIER_30","TIER_31"],"example":"SEAT1A","default":"BASIC"}},"components/schemas/TmcBasicInfo":{"id":"components/schemas/TmcBasicInfo","kind":"json-schema","title":"TmcBasicInfo","data":{"type":"object","title":"TmcBasicInfo","description":"TMC related basic information.","required":["contractingTmc","bookingTmc"],"properties":{"contractingTmc":{"$ref":"#/components/schemas/CompanyRef","description":"Contracting TMC is the TMC the user/organization contracted."},"bookingTmc":{"$ref":"#/components/schemas/CompanyRef","description":"Booking TMC is the TMC used for the bookings for the user/organization."}}}},"components/schemas/TmcInfo":{"id":"components/schemas/TmcInfo","kind":"json-schema","title":"TmcInfo","data":{"type":"object","title":"TmcInfo","description":"TMC config information.","required":["id","primaryServiceProviderTmc"],"properties":{"id":{"$ref":"#/components/schemas/CompanyId","description":"TMC id."},"primaryServiceProviderTmc":{"$ref":"#/components/schemas/PrimaryServiceProviderTmc","description":"Primary service provider TMC for the TMC."},"secondaryServiceProviderTmcs":{"type":"array","description":"Secondary service provider TMCs for the TMC.","items":{"$ref":"#/components/schemas/SecondaryServiceProviderTmc"}},"partnerTmcId":{"$ref":"#/components/schemas/CompanyId","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Useful to identify the clients onboarded by a PARTNER_TMC"},"children":[]}]}]}]}}}},"components/schemas/TmcRoleInfo":{"id":"components/schemas/TmcRoleInfo","kind":"json-schema","title":"TmcRoleInfo","data":{"type":"object","title":"TmcRoleInfo","required":["tmcRef","roleType"],"properties":{"tmcRef":{"$ref":"#/components/schemas/Reference"},"roleType":{"type":"string","description":"Role type for which tmc reference metadata is specified."}}}},"components/schemas/TransmissionSearchFilter":{"id":"components/schemas/TransmissionSearchFilter","kind":"json-schema","title":"TransmissionSearchFilter","data":{"type":"string","description":"Transmission type for Filters","title":"TransmissionSearchFilter","enum":["MANUAL","AUTOMATIC"],"example":"AUTOMATIC"}},"components/schemas/TravelArrangerBasicInfo":{"id":"components/schemas/TravelArrangerBasicInfo","kind":"json-schema","title":"TravelArrangerBasicInfo","data":{"type":"object","title":"TravelArrangerBasicInfo","description":"Traveler arranger information.","required":["userId"],"properties":{"name":{"$ref":"#/components/schemas/Name"},"email":{"type":"string","format":"email","example":"example@email.com"},"phoneNumbers":{"type":"array","items":{"$ref":"#/components/schemas/PhoneNumber"}},"userId":{"$ref":"#/components/schemas/UserId"},"status":{"$ref":"#/components/schemas/TravelerArrangerStatus"}}}},"components/schemas/TravelArrangerMetadata":{"id":"components/schemas/TravelArrangerMetadata","kind":"json-schema","title":"TravelArrangerMetadata","data":{"type":"object","required":["arrangerFor"],"properties":{"arrangerFor":{"type":"array","items":{"$ref":"#/components/schemas/TravelerConfigForArranger"}}}}},"components/schemas/TravelArrangerMetadataV2":{"id":"components/schemas/TravelArrangerMetadataV2","kind":"json-schema","title":"TravelArrangerMetadataV2","data":{"type":"object","title":"TravelArrangerMetadataV2","required":["roleType","arrangerFor"],"properties":{"roleType":{"type":"string","description":"Discriminator property for role metadata.","default":"TRAVEL_ARRANGER"},"arrangerFor":{"type":"array","items":{"$ref":"#/components/schemas/TravelerConfigForArranger"}}}}},"components/schemas/TravelPref":{"id":"components/schemas/TravelPref","kind":"json-schema","title":"TravelPref","data":{"type":"object","title":"TravelPref","description":"Travel preferences.","properties":{"airPref":{"$ref":"#/components/schemas/AirPref"},"preferredCurrency":{"type":"string","example":"USD"},"railCards":{"type":"array","items":{"$ref":"#/components/schemas/RailCard"}},"railPref":{"$ref":"#/components/schemas/RailPref"},"carPref":{"$ref":"#/components/schemas/CarPref"},"hotelPref":{"$ref":"#/components/schemas/HotelPref"}}}},"components/schemas/TravelPreferences":{"id":"components/schemas/TravelPreferences","kind":"json-schema","title":"TravelPreferences","data":{"type":"object","description":"User's travel preferences","properties":{"preferences":{"$ref":"#/components/schemas/TravelPref"}}}},"components/schemas/TravelType":{"id":"components/schemas/TravelType","kind":"json-schema","title":"TravelType","data":{"type":"string","title":"TravelType","description":"Travel Type","enum":["AIR","HOTEL","CAR","RAIL","LIMO","MISC","ALL"],"example":"AIR"}},"components/schemas/TravelerArrangerStatus":{"id":"components/schemas/TravelerArrangerStatus","kind":"json-schema","title":"TravelerArrangerStatus","data":{"type":"string","title":"TravelerArrangerStatus","description":"Status of the traveler-arranger assignment.","enum":["PENDING","ACCEPTED","DENIED"],"example":"PENDING"}},"components/schemas/TravelerConfigForArranger":{"id":"components/schemas/TravelerConfigForArranger","kind":"json-schema","title":"TravelerConfigForArranger","data":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"sendConfirmationEmail":{"type":"boolean","description":"Whether or not to send confirmation emails to user.","example":false,"default":false},"sendFlightStatsNotificationEmail":{"type":"boolean","description":"Whether or not to send flight stat notifications to user.","example":false,"default":false}}}},"components/schemas/UpdateManagedTravelersRequest":{"id":"components/schemas/UpdateManagedTravelersRequest","kind":"json-schema","title":"UpdateManagedTravelersRequest","data":{"type":"object","title":"UpdateManagedTravelersRequest","description":"Request to update managed travelers for a given user.","required":["travelers"],"properties":{"travelers":{"type":"array","description":"Travelers to be updated.","items":{"$ref":"#/components/schemas/ManagedTravelerWithUpdatableFields"}}}}},"components/schemas/UpdateTravelArrangersStatusRequest":{"id":"components/schemas/UpdateTravelArrangersStatusRequest","kind":"json-schema","title":"UpdateTravelArrangersStatusRequest","data":{"type":"object","title":"UpdateTravelArrangersStatusRequest","description":"Request to bulk approve travel arrangers.","required":["arrangers"],"properties":{"arrangers":{"type":"array","description":"Arrangers to be approved.","items":{"$ref":"#/components/schemas/UserIdWithArrangerStatus"}}}}},"components/schemas/UserApplicablePolicies":{"id":"components/schemas/UserApplicablePolicies","kind":"json-schema","title":"UserApplicablePolicies","data":{"type":"object","description":"Applicable policies for users.","properties":{"policies":{"type":"array","items":{"$ref":"#/components/schemas/PolicyBasicInfo"}}}}},"components/schemas/UserCreateRequest":{"id":"components/schemas/UserCreateRequest","kind":"json-schema","title":"UserCreateRequest","data":{"type":"object","description":"Traveler details.","required":["persona"],"x-ignoreBreakingChanges":["personalInfo","UsersApi.yaml->UserCreateRequest->personalInfo"],"properties":{"personalInfo":{"$ref":"#/components/schemas/UserPersonalInfo","x-optionalFrom":"2025-05-19"},"businessInfo":{"$ref":"#/components/schemas/BusinessInfo"},"persona":{"$ref":"#/components/schemas/Persona"},"relativeOf":{"deprecated":true,"x-sunset":"2026-07-01","$ref":"#/components/schemas/RelativeOf"},"billingCurrency":{"type":"string","description":"Preferred billing currency of the user","example":"INR"},"tier":{"$ref":"#/components/schemas/Tier"},"stealthType":{"$ref":"#/components/schemas/StealthType"},"externalId":{"type":"string","description":"A partner-assigned user identifier. This value must be unique for all travelers within a PNR.\n"},"travelPreferences":{"$ref":"#/components/schemas/TravelPreferences"},"membershipInfo":{"$ref":"#/components/schemas/MembershipInfo"},"notificationPreferences":{"$ref":"#/components/schemas/NotificationPreferences"},"travelArrangers":{"deprecated":true,"x-sunset":"2026-07-01","$ref":"#/components/schemas/UserTravelArrangers"},"adhocUserInfo":{"$ref":"#/components/schemas/AdhocUserInfo"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/RoleConfig"}}}}},"components/schemas/UserDetail":{"id":"components/schemas/UserDetail","kind":"json-schema","title":"UserDetail","data":{"type":"object","title":"UserDetail","description":"Details of the user","required":["userId","organization","persona","isActive","personalDetail","businessDetail","createdAt","lastUpdatedAt"],"properties":{"userId":{"$ref":"#/components/schemas/UserId"},"organization":{"description":"The organization associated with the user.","$ref":"#/components/schemas/Reference"},"persona":{"description":"Persona of the user like EMPLOYEE, GUEST etc.","$ref":"#/components/schemas/Persona"},"isActive":{"description":"Whether user is active or not.","type":"boolean"},"externalId":{"description":"External ID of the user.","type":"string"},"personalDetail":{"description":"Personal details of the user.","$ref":"#/components/schemas/PersonalDetail"},"businessDetail":{"description":"Business details of the user.","$ref":"#/components/schemas/BusinessDetail"},"createdAt":{"description":"Date and time of the user profile creation.","$ref":"#/components/schemas/DateTimeLocal"},"lastUpdatedAt":{"description":"Date and time of the latest update made to the user profile.","$ref":"#/components/schemas/DateTimeLocal"}}}},"components/schemas/UserId":{"id":"components/schemas/UserId","kind":"json-schema","title":"UserId","data":{"type":"object","title":"UserId","description":"User identifier","required":["id"],"properties":{"id":{"type":"string","format":"uuid"}}}},"components/schemas/UserIdWithArrangerStatus":{"id":"components/schemas/UserIdWithArrangerStatus","kind":"json-schema","title":"UserIdWithArrangerStatus","data":{"type":"object","title":"UserIdWithArrangerStatus","description":"User id with traveler-arranger status.","required":["userId","status"],"properties":{"userId":{"$ref":"#/components/schemas/UserId"},"status":{"$ref":"#/components/schemas/TravelerArrangerStatus"}}}},"components/schemas/UserListFilter":{"id":"components/schemas/UserListFilter","kind":"json-schema","title":"UserListFilter","data":{"type":"object","title":"UserListFilter","description":"Filter object for listing users. AND operation is applied between all the filter conditions.","properties":{"legalEntityIds":{"description":"Filter by legal entity ids.","type":"array","items":{"$ref":"#/components/schemas/EntityId"}},"officeIds":{"description":"Filter by offices.","type":"array","items":{"$ref":"#/components/schemas/EntityId"}},"departmentIds":{"description":"Filter by department IDs.","type":"array","items":{"$ref":"#/components/schemas/EntityId"}},"costCenterIds":{"description":"Filter by cost center IDs.","type":"array","items":{"$ref":"#/components/schemas/EntityId"}},"userIds":{"type":"array","description":"Filter by user IDs.","items":{"$ref":"#/components/schemas/EntityId"}},"emails":{"type":"array","description":"Filter by user email IDs.","items":{"type":"string"}},"externalIds":{"type":"array","description":"Filter by partner-assigned external identifiers for users.","items":{"type":"string"}},"personas":{"type":"array","description":"Filter by user personas.","items":{"$ref":"#/components/schemas/Persona"}},"roles":{"type":"array","description":"Filter by user roles.","items":{"$ref":"#/components/schemas/RoleType"}},"designations":{"type":"array","description":"Filter by job titles or designations.","items":{"type":"string"}},"tiers":{"type":"array","description":"Filter by tiers.","items":{"$ref":"#/components/schemas/Tier"}}}}},"components/schemas/UserOrgId":{"id":"components/schemas/UserOrgId","kind":"json-schema","title":"UserOrgId","data":{"type":"object","title":"UserOrgId","description":"User and user's organization information.","required":["userId","organizationId"],"properties":{"organizationAgencyId":{"$ref":"#/components/schemas/OrganizationAgencyId"},"organizationId":{"$ref":"#/components/schemas/OrganizationId"},"userId":{"$ref":"#/components/schemas/UserId"},"tmcInfo":{"$ref":"#/components/schemas/TmcInfo","deprecated":true,"x-sunset":"2026-07-01"},"tmcBasicInfo":{"$ref":"#/components/schemas/TmcBasicInfo"}}}},"components/schemas/UserPersonalInfo":{"id":"components/schemas/UserPersonalInfo","kind":"json-schema","title":"UserPersonalInfo","data":{"type":"object","title":"UserPersonalInfo","description":"User details.","properties":{"addresses":{"type":"array","x-pii":"SENSITIVE","items":{"$ref":"#/components/schemas/PostalAddress"}},"dob":{"$ref":"#/components/schemas/DateModel","x-pii":"SENSITIVE"},"email":{"type":"string","format":"email","example":"example@email.com","x-pii":"IDENTIFIER"},"emergencyContactInfo":{"deprecated":true,"x-sunset":"2026-07-01","$ref":"#/components/schemas/EmergencyContactInfo"},"gender":{"$ref":"#/components/schemas/Gender","x-pii":"SENSITIVE"},"identityDocs":{"type":"array","description":"List of user identity documents.","items":{"$ref":"#/components/schemas/IdentityDocument"},"example":[{"passport":{"docId":"PASSPORTID","expiryDate":{"iso8601":"2017-07-21"},"issueCountry":"IN","issuedDate":{"iso8601":"2017-07-21"},"nationalityCountry":"IN","type":"REGULAR"}},{"ktn":{"number":"123456","issueCountry":"US"}}]},"name":{"$ref":"#/components/schemas/Name"},"phoneNumbers":{"type":"array","x-pii":"IDENTIFIER","items":{"$ref":"#/components/schemas/PhoneNumber"}},"profilePicture":{"$ref":"#/components/schemas/Image","x-pii":"SENSITIVE"},"nationality":{"type":"string","example":"Indian","description":"Nationality of user","x-pii":"SENSITIVE"},"title":{"$ref":"#/components/schemas/UserTitle"},"preferredLanguage":{"type":"string","description":"Language preferred by user.","example":"en-US"},"preferredPronoun":{"description":"Pronoun preferred by user.","$ref":"#/components/schemas/PreferredPronoun"},"travelerName":{"description":"A name of user that does not contain special characters.","$ref":"#/components/schemas/Name"},"emergencyContact":{"$ref":"#/components/schemas/EmergencyContact"}}}},"components/schemas/UserProfile":{"id":"components/schemas/UserProfile","kind":"json-schema","title":"UserProfile","data":{"type":"object","description":"Traveler details.","properties":{"id":{"type":"string","format":"uuid","example":"b93dc51f-12dd-46c7-b7d6-1cb12cd3f5b3"},"personalInfo":{"$ref":"#/components/schemas/UserPersonalInfo"},"businessInfo":{"$ref":"#/components/schemas/BusinessInfo"},"persona":{"$ref":"#/components/schemas/Persona"},"isActive":{"type":"boolean","description":"Indicates if traveler is active.","example":true},"tier":{"$ref":"#/components/schemas/Tier"},"stealthType":{"deprecated":true,"x-sunset":"2026-02-01","$ref":"#/components/schemas/StealthType"},"stealthMode":{"$ref":"#/components/schemas/StealthMode"},"relativeOf":{"deprecated":true,"x-sunset":"2026-07-01","$ref":"#/components/schemas/RelativeOf"},"travelPreferences":{"$ref":"#/components/schemas/TravelPreferences"},"membershipInfo":{"$ref":"#/components/schemas/MembershipInfo"},"notificationPreferences":{"$ref":"#/components/schemas/NotificationPreferences"},"travelArrangers":{"$ref":"#/components/schemas/UserTravelArrangers"},"adhocUserInfo":{"$ref":"#/components/schemas/AdhocUserInfo"},"externalId":{"type":"string","description":"The partner-assigned user identifier."},"contractingTmcRef":{"$ref":"#/components/schemas/Reference","description":"Contracting TMC for the user."},"bookingTmcRef":{"$ref":"#/components/schemas/Reference","description":"Booking TMC for the user."}}}},"components/schemas/UserSort":{"id":"components/schemas/UserSort","kind":"json-schema","title":"UserSort","data":{"type":"object","title":"UserSort","required":["sortBy","sortOrder"],"properties":{"sortBy":{"type":"string","description":"The column on which the sorting should be applied.","enum":["NAME"],"default":"NAME","example":"NAME"},"sortOrder":{"type":"string","description":"Order of sorting ie ascending or descending.","enum":["ASCENDING","DESCENDING"],"default":"ASCENDING","example":"DESCENDING"}}}},"components/schemas/UserSummary":{"id":"components/schemas/UserSummary","kind":"json-schema","title":"UserSummary","data":{"type":"object","title":"UserSummary","description":"Reference object containing uuid and name and other identifiers.","required":["id"],"properties":{"id":{"type":"string","format":"uuid"},"email":{"type":"string","format":"email"},"externalId":{"type":"string","description":"The partner-assigned user identifier.","example":"user-1"},"persona":{"$ref":"#/components/schemas/Persona"},"isActive":{"type":"boolean","description":"Whether the user is active or not."}}}},"components/schemas/UserSummaryList":{"id":"components/schemas/UserSummaryList","kind":"json-schema","title":"UserSummaryList","data":{"type":"object","properties":{"length":{"type":"integer","format":"int32"},"elements":{"type":"array","description":"List of references containing id and name.","items":{"$ref":"#/components/schemas/UserSummary"}}}}},"components/schemas/UserTitle":{"id":"components/schemas/UserTitle","kind":"json-schema","title":"UserTitle","data":{"title":"UserTitle","type":"string","x-pii":"SENSITIVE","enum":["TITLE_UNKNOWN","MR","MS","MRS","MX","MASTER","MISS","DR","PROFESSOR","CAPTAIN","REVEREND","HONOURABLE","SIR","LADY","AMBASSADOR","LORD","BRIGADIER","SENATOR","DAME","JUSTICE","UK","TITLE_REDACTED"],"example":"MR"}},"components/schemas/UserTravelArrangers":{"id":"components/schemas/UserTravelArrangers","kind":"json-schema","title":"UserTravelArrangers","data":{"type":"object","title":"UserTravelArrangers","description":"Travel arrangers for a user.","required":["travelArrangers"],"properties":{"travelArrangers":{"type":"array","items":{"$ref":"#/components/schemas/TravelArrangerBasicInfo"}}}}},"components/schemas/UserUpdateRequest":{"id":"components/schemas/UserUpdateRequest","kind":"json-schema","title":"UserUpdateRequest","data":{"type":"object","description":"Update Traveler details.","required":["persona","businessInfo"],"x-ignoreBreakingChanges":["personalInfo","UsersApi.yaml->UserUpdateRequest->personalInfo"],"properties":{"personalInfo":{"$ref":"#/components/schemas/UserPersonalInfo","x-optionalFrom":"2025-05-19"},"businessInfo":{"$ref":"#/components/schemas/BusinessInfo"},"persona":{"$ref":"#/components/schemas/Persona"},"tier":{"$ref":"#/components/schemas/Tier"},"stealthType":{"$ref":"#/components/schemas/StealthType"},"relativeOf":{"deprecated":true,"x-sunset":"2026-07-01","$ref":"#/components/schemas/RelativeOf"},"travelPreferences":{"$ref":"#/components/schemas/TravelPreferences"},"membershipInfo":{"$ref":"#/components/schemas/MembershipInfo"},"notificationPreferences":{"$ref":"#/components/schemas/NotificationPreferences"},"adhocUserInfo":{"$ref":"#/components/schemas/AdhocUserInfo"},"externalId":{"type":"string","description":"The partner-assigned user identifier."},"travelArrangers":{"deprecated":true,"x-sunset":"2026-07-01","$ref":"#/components/schemas/UserTravelArrangers"}}}},"components/schemas/WorkerType":{"id":"components/schemas/WorkerType","kind":"json-schema","title":"WorkerType","data":{"type":"string","description":"The type of worker.","enum":["EMPLOYEE","CONTINGENT","SEASONAL","INTERN","GUEST"],"example":"EMPLOYEE","x-enumValidFrom":{"GUEST":"2025-06-03"}}},"schema_0":{"kind":"json-schema","data":{"type":"string","format":"uuid"},"id":"schema_0"},"schema_1":{"kind":"json-schema","data":{"type":"string","format":"email"},"id":"schema_1"},"schema_2":{"kind":"json-schema","data":{"type":"string"},"id":"schema_2"},"schema_3":{"kind":"json-schema","data":{"type":"boolean","default":false},"id":"schema_3"},"schema_4":{"kind":"json-schema","data":{"type":"boolean","default":false,"example":true},"id":"schema_4"},"schema_5":{"kind":"json-schema","data":{"type":"string","format":"uuid","example":"f49d00fe-1eda-4304-ba79-a980f565281d"},"id":"schema_5"},"schema_6":{"kind":"json-schema","data":{"type":"array","items":{"type":"string"}},"id":"schema_6"}},"exampleStore":{},"securitySchemeStore":{"Bearer":{"id":"Bearer","type":"http","scheme":"bearer"}},"servers":[{"url":"https://api-ext-sboxmeta.partners.spotnana.com","description":"Sandbox URL"},{"url":"/_mock/openapi/usersapi","isMockServer":true,"description":"Spotnana mock server"}],"specType":"openapi"},"options":{"codeSamples":{"languages":[{"lang":"curl"},{"lang":"JavaScript"},{"lang":"Node.js"},{"lang":"Python"}]},"feedback":{"hide":true,"settings":{"label":""}},"mockServer":{"url":"/_mock/openapi/usersapi","position":"last","description":"Spotnana mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/openapi/UsersApi.json?download"},{"url":"/_bundle/openapi/UsersApi.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"User Management API"}},"baseSlug":"/openapi/usersapi","routesMapping":{}}