{"swagger":"2.0","info":{"title":"BokaMera Legacy API","description":"BokaMera Booking System API\n\nThis API provides services for:\n- Service and resource management\n- Booking operations\n- Customer management\n- Payment integrations (Stripe, Qvickly)\n- Calendar integrations\n\nAuthentication: Most endpoints require an API key sent via the \u0027x-api-key\u0027 header.\nRate Limiting: Endpoints are throttled based on their [Throttling] attribute.","contact":{"name":"BokaMera Support","url":"https://bokamera.zendesk.com/hc/sv/articles/360021053160-API-dokumentation","email":"support@bokamera.se"},"version":"v1"},"host":"api.bookmore.com","basePath":"/","schemes":["https"],"consumes":["application/json"],"produces":["application/json"],"paths":{"/accesskeytypes":{"get":{"tags":["accesskeytypes"],"summary":"Get all AccessKeyTypes","description":"Get all AccessKeyTypes","operationId":"AccessKeyTypeQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Skip","in":"query","type":"integer","format":"int32"},{"name":"Take","in":"query","type":"integer","format":"int32"},{"name":"OrderBy","in":"query","type":"string"},{"name":"OrderByDesc","in":"query","type":"string"},{"name":"Include","in":"query","type":"string"},{"name":"Fields","in":"query","type":"string"},{"name":"Meta","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_AccessKeyTypeResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/users/agreement":{"get":{"tags":["users"],"summary":"Gets latest not agreed agreement with optional history","description":"","operationId":"UserAgreementQueryagreement_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"UserId","in":"query","type":"string","x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserAgreementQueryResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/UserAgreementQueryResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/UserAgreementQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["users"],"summary":"Marks agreement as agreed for user","description":"","operationId":"CreateUserAgreementagreement_Post","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"UserId","in":"query","type":"string","x-nullable":false},{"name":"AgreementId","in":"query","type":"string","x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateUserAgreement"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CreateUserAgreementResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/CreateUserAgreementResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/CreateUserAgreementResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/users/forgotpassword":{"post":{"tags":["users"],"summary":"Forgot Password for user","description":"Will send a restore password link to the user by the email provided.","operationId":"ForgotUserPasswordforgotpassword_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"Email","in":"formData","type":"string","required":true},{"name":"Realm","in":"formData","description":"The user realm for identity server.  BookMore = 1, BookMoreAdmin = 2 ","type":"string","required":true,"enum":["BookMore","BookMoreAdmin","SuperAdmin"],"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/ForgotUserPassword"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotUserPasswordResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/ForgotUserPasswordResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/ForgotUserPasswordResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/users/favorite":{"post":{"tags":["users"],"summary":"Add an company as favorite to the logged in user","description":"Add an company as favorite to the logged in user.","operationId":"AddFavoritefavorite_Post","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"path","description":"Id of the company","type":"string","required":true,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddFavorite"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFavorites"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/UserFavorites"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/UserFavorites"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["users"],"summary":"Remove an company as favorite to the logged in user","description":"Remove an company as favorite to the logged in user.","operationId":"DeleteFavoritefavorite_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"path","description":"Id of the company","type":"string","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFavorites"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/UserFavorites"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/UserFavorites"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/users/confirmemail":{"post":{"tags":["users"],"summary":"Confirm my new email","description":"","operationId":"UpdateUserEmailconfirmemail_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"Token","in":"formData","type":"string","required":true},{"name":"Realm","in":"formData","description":"The user realm for identity server.  BookMore = 1, BookMoreAdmin = 2 ","type":"string","required":true,"enum":["BookMore","BookMoreAdmin","SuperAdmin"],"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateUserEmail"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UpdateUserEmailResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/UpdateUserEmailResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/UpdateUserEmailResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/agreements":{"get":{"tags":["agreements"],"summary":"Gets agreements","description":"","operationId":"AgreementQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AgreementQueryResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/AgreementQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/articles":{"get":{"tags":["articles"],"summary":"Get articles","description":"Gets all articles.","operationId":"GetArticles_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"","type":"integer","format":"int32","required":true},{"name":"Active","in":"query","description":"","type":"boolean","required":true},{"name":"IncludeServiceInformation","in":"query","description":"","type":"boolean","required":false,"x-nullable":false},{"name":"CompanyId","in":"query","description":"","type":"string","required":false},{"name":"ArticleTypeId","in":"query","description":"Article type to filter articles","type":"integer","format":"int32","required":true},{"name":"IsArticlePayable","in":"query","description":"If true, only returns articles with payable types. If false, only returns non-payable types. If null, no filtering is applied.","type":"boolean","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_ArticleResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["articles"],"summary":"Add new article","description":"Add article to the company for the currently logged in user","operationId":"CreateArticle_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"","type":"string","required":false},{"name":"Name","in":"formData","description":"","type":"string","required":true},{"name":"ArticleTypeId","in":"formData","description":"","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Description","in":"formData","description":"","type":"string","required":true},{"name":"ImageUrl","in":"formData","schema":{"$ref":"#/definitions/Uri"},"description":"","required":false},{"name":"Active","in":"formData","description":"","type":"boolean","required":true,"x-nullable":false},{"name":"Amount","in":"formData","description":"","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Duration","in":"formData","description":"If the article is a service article, the duration in minutes.","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"SortOrder","in":"formData","description":"SortOrder","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"Price","in":"formData","description":"The price of the article.","type":"number","format":"double","required":true,"x-nullable":false},{"name":"CurrencyId","in":"formData","description":"The payment currency id","type":"string","required":true},{"name":"VAT","in":"formData","description":"The price VAT in percent","type":"number","format":"double","required":false},{"name":"ServiceIds","in":"query","description":"Query for specific services.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"ValidDays","in":"formData","description":"Number of days the article is valid from the purchase date. Used to calculate ValidToDate on rebate codes, punch tickets, and gift cards.","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"SendNotification","in":"formData","description":"If true, an email notification is sent to NotificationEmail when this article is purchased.","type":"boolean","required":false,"x-nullable":false},{"name":"NotificationEmail","in":"formData","description":"Email address to notify when the article is purchased. Only used when SendNotification is true.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateArticle"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ArticleResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/articles/{Id}":{"put":{"tags":["articles"],"summary":"Updates article","description":"Updates article for the currently logged in user","operationId":"UpdateArticleId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"CompanyId","in":"formData","description":"","type":"string","required":false},{"name":"Name","in":"formData","description":"","type":"string","required":false},{"name":"ArticleTypeId","in":"formData","description":"","type":"integer","format":"int32","required":false},{"name":"Description","in":"formData","description":"","type":"string","required":false},{"name":"ImageUrl","in":"formData","schema":{"$ref":"#/definitions/Uri"},"description":"","required":false},{"name":"SortOrder","in":"formData","description":"SortOrder","type":"integer","format":"int32","required":false},{"name":"Active","in":"formData","description":"","type":"boolean","required":false},{"name":"Amount","in":"formData","description":"","type":"integer","format":"int32","required":false},{"name":"Duration","in":"formData","description":"If the article is a service article, the duration in minutes.","type":"integer","format":"int32","required":true},{"name":"Price","in":"formData","description":"The updated price of the article.","type":"number","format":"double","required":false},{"name":"CurrencyId","in":"formData","description":"The payment currency id","type":"string","required":false},{"name":"VAT","in":"formData","description":"The price VAT in percent","type":"number","format":"double","required":false},{"name":"ServiceIds","in":"query","description":"Query for specific services.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"ValidDays","in":"formData","description":"Number of days the article is valid from the purchase date. Used to calculate ValidToDate on rebate codes, punch tickets, and gift cards.","type":"integer","format":"int32","required":false},{"name":"SendNotification","in":"formData","description":"If true, an email notification is sent to NotificationEmail when this article is purchased.","type":"boolean","required":false},{"name":"NotificationEmail","in":"formData","description":"Email address to notify when the article is purchased. Only used when SendNotification is true.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateArticle"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ArticleResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["articles"],"summary":"Delete article","description":"Deletes article for the currently logged in user","operationId":"DeleteArticleId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"","type":"string","required":false},{"name":"Id","in":"query","description":"","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"title":"string","type":"integer","format":"int32"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/articles/types":{"get":{"tags":["articles"],"summary":"Query article types","description":"Query article types","operationId":"ArticleTypeQuerytypes_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ArticleTypesQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/articles/payments":{"get":{"tags":["articles"],"summary":"Query payment logs","description":"Query payment logs","operationId":"PaymentLogQuerypayments_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"CreatedFrom","in":"query","description":"Start of interval to query for payments when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time","required":false},{"name":"CreatedTo","in":"query","description":"End of interval to query for payments when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time","required":false},{"name":"ArticleTypeId","in":"query","description":"Article type (Could be Service, rebate code types, etc..","type":"integer","format":"int32","required":true},{"name":"IncludeArticleType","in":"query","description":"","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_PaymentLogQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/articles/{InternalReferenceId}/reports":{"get":{"tags":["articles"],"summary":"Get a report as a PDF file","description":"Get a PDF report.","operationId":"ExportPayableEntityReportInternalReferenceIdreports_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"InternalReferenceId","in":"path","description":"Id of the internal reference (booking, rebate code, etc)","type":"string","required":true},{"name":"ArticleTypeId","in":"query","description":"Article type (Could be Service, rebate code types, etc..","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/billing/company/invoices/{InvoiceId}":{"get":{"tags":["billing"],"summary":"Get a invoice as a PDF file","description":"Get a PDF invoice","operationId":"ExportInvoicecompanyinvoicesInvoiceId_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"InvoiceId","in":"path","description":"Id of the invoice","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/billing/methods":{"get":{"tags":["billing"],"summary":"Get billing methods","description":"Get all valid billing methods.","operationId":"BillingMethodQuerymethods_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CountryId","in":"query","description":"If you want to only get billing methods that are valid for a specific country","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_BillingMethodQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_BillingMethodQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/billing/company":{"get":{"tags":["billing"],"summary":"Get billing details for the company.","description":"Get billing details for the company.","operationId":"CompanyBillingInformationcompany_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"IncludeBillingMethodOptions","in":"query","description":"If you want to include the billing methods to select from","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_BillingMethodQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_BillingMethodQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/billing/company/":{"put":{"tags":["billing"],"summary":"Update billing information.","description":"Update billing information.","operationId":"UpdateBillingInformationcompany_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"LicensePlanId","in":"formData","description":"License plan of how license should be billed.","type":"integer","format":"int32","required":true},{"name":"Name","in":"formData","description":"The name that should be printed on the billing information, normally this would be your company name.","type":"string","required":false},{"name":"Attention","in":"formData","description":"If you want to add the attention to the billing address.","type":"string","required":false},{"name":"Street1","in":"formData","description":"The street for the billing adress. This is required when having postal invoice as billing method.","type":"string","required":false},{"name":"Street2","in":"formData","description":"The street for the billing adress.","type":"string","required":false},{"name":"Email","in":"formData","description":"The billing email. This is required when having email invoice as billing method.","type":"string","required":false},{"name":"PaymentTermsDays","in":"formData","description":"The billing payment terms in days. This is default 15 days.","type":"integer","format":"int32","required":false},{"name":"VatRegistrationNumber","in":"formData","description":"The company vat registration number.","type":"string","required":false},{"name":"GLN","in":"formData","description":"The company global location number.","type":"string","required":false},{"name":"ReferenceLine1","in":"formData","description":"Your internal reference.","type":"string","required":false},{"name":"ReferenceLine2","in":"formData","description":"Your internal reference.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateBillingInformation"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BillingInformationResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BillingInformationResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["billing"],"summary":"Add new billing information.","description":"Add new billing information.","operationId":"AddBillingInformationcompany_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"LicensePlanId","in":"formData","description":"License plan ID.","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Name","in":"formData","description":"The name that should be printed on the billing information, normally this would be your company name.","type":"string","required":false},{"name":"Attention","in":"formData","description":"If you want to add the attention to the billing person.","type":"string","required":false},{"name":"Street1","in":"formData","description":"The street for the billing adress. This is required when having postal invoice as billing method.","type":"string","required":false},{"name":"Street2","in":"formData","description":"The street for the billing adress.","type":"string","required":false},{"name":"Email","in":"formData","description":"The billing email. This is required when having email invoice as billing method.","type":"string","required":false},{"name":"PaymentTermsDays","in":"formData","description":"The billing payment terms in days. This is default 15 days.","type":"integer","format":"int32","required":false},{"name":"VatRegistrationNumber","in":"formData","description":"The company vat registration number.","type":"string","required":false},{"name":"GLN","in":"formData","description":"The company global location number.","type":"string","required":false},{"name":"ReferenceLine1","in":"formData","description":"Your internal reference.","type":"string","required":false},{"name":"ReferenceLine2","in":"formData","description":"Your internal reference.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddBillingInformation"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BillingInformationResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BillingInformationResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/billing/company/invoices":{"get":{"tags":["billing"],"summary":"Get all company invoices for the subscription","description":"Get all company invoices for the subscription you have assigned to.","operationId":"CompanyInvoiceQuerycompanyinvoices_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"query","description":"Id of the invoice","type":"integer","format":"int32","required":false},{"name":"StatusId","in":"query","description":"Id of the invoice","type":"integer","format":"int32","required":false},{"name":"IncludeInvoiceLines","in":"query","description":"If you want to include the invoice lines","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCurrencyInformation","in":"query","description":"If you want to include the currency information","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeInvoiceStatusInformation","in":"query","description":"If you want to include the invoice status information","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_CompanyInvoiceQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookinglog":{"get":{"tags":["bookinglog"],"summary":"Find booking log for booking.","description":"Find booking log for booking.","operationId":"BookingLogQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company and booking id you want to see log for, if blank company id and you are an admin, your company id will be used","type":"string","required":true},{"name":"BookingId","in":"query","description":"Enter the booking id you want to get the log","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_BookingLogQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_BookingLogQueryResponse_"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/QueryResponse_BookingLogQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["bookinglog"],"summary":"Add a new event to booking log","description":"Add a new event to the booking of the company of the currently logged in user, only administrators are allowed to add items to event log.","operationId":"CreateBookingLogItem_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"BookingId","in":"formData","description":"The booking id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"EventTypeId","in":"formData","description":"The type of event","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Comments","in":"formData","description":"Comments that could be added to the event log item","type":"string","required":true},{"name":"Created","in":"formData","description":"The date when the event occurred. Leave blank for the current datetime","type":"string","format":"date-time","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateBookingLogItem"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingLogQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookingLogQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/BookingLogQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/status":{"get":{"tags":["bookings"],"summary":"Get all available booking statuses","description":"This service is used to get all valid status a booking can have.","operationId":"BookingStatusQuerystatus_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Skip","in":"query","type":"integer","format":"int32"},{"name":"Take","in":"query","type":"integer","format":"int32"},{"name":"OrderBy","in":"query","type":"string"},{"name":"OrderByDesc","in":"query","type":"string"},{"name":"Include","in":"query","type":"string"},{"name":"Fields","in":"query","type":"string"},{"name":"Meta","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_BookingStatusQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_BookingStatusQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/grouped":{"get":{"tags":["bookings"],"summary":"Find booked events for currently logged in user grouped by booking from date","description":"This service is used to get bookings for the current user, the result will grouped by the bookings from date and paged if the query returns a to large set of values.\n\n**Rate Limit:** One request every 3.25 seconds per API key. Exceeding this limit returns HTTP 429 (Too Many Requests).","operationId":"GroupedBookingQuerygrouped_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"BookingResourceRelationResourceIds","in":"query","description":"Query for specific Booked Resources, default is all resources","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"BookingResourceRelationResourceTypeIds","in":"query","description":"Query for specific Booked Resource types, default is all resource types","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the booking","type":"integer","format":"int32","required":true},{"name":"BookingStart","in":"query","description":"Start of interval to query for bookings. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time","required":false},{"name":"BookingEnd","in":"query","description":"End of interval to query for bookings. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time","required":false},{"name":"CompanyBookings","in":"query","description":"Set to true if you want to include all bookings for the company. Only administrators are allowed to do this.","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeStatuses","in":"query","description":"Query for specific booking statuses. Valid statuses are TimeBooked = 1, TimeUnbooked = 2, TimeReserved = 3, TimeCanceled = 4. Default is 1,3 for active statuses.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"IncludeCustomFields","in":"query","description":"If you want to include the connected resourcetypes and resources","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCustomFieldValues","in":"query","description":"If you want to include the connected custom fields","type":"boolean","required":false,"x-nullable":false},{"name":"IncludePriceInformation","in":"query","description":"If you want to include the price information on the booking","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeStatusInformation","in":"query","description":"If you want to include booking status information","type":"boolean","required":false,"x-nullable":false},{"name":"IncludePaymentLog","in":"query","description":"If you want to include the payment log on the booking","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCheckouts","in":"query","description":"If you want to include the checkouts","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeBookedResourceTypes","in":"query","description":"If you want to include the booked resourcetypes and it\u0027s booked resources","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCompanyInformation","in":"query","description":"If you want to include the company information for the booking","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCustomerInformation","in":"query","description":"If you want to include the customer information for the booking","type":"boolean","required":false,"x-nullable":false},{"name":"CreatedFrom","in":"query","description":"Start of interval to query for bookings when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time","required":false},{"name":"CreatedTo","in":"query","description":"End of interval to query for bookings when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time","required":false},{"name":"StatusIds","in":"query","description":"Query for specific booking statuses. Valid statuses are TimeBooked = 1, TimeUnbooked = 2, TimeReserved = 3, TimeCanceled = 4, AwaitingPayment = 5, AwaitingPaymentNoTimeLimit = 6, BookedAndPayed = 7, 8 = AwaitingPaymentRequestFromAdmin, 9 = AwaitingPaymentFromProvider. Default is all.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"CustomerId","in":"query","description":"Query for specific customer","type":"string","required":false},{"name":"MaxLimit","in":"query","description":"The max limit of records you want to retrieve, default is 100","type":"int","format":"int32","required":false},{"name":"IncludeTags","in":"query","description":"If you want to include the tags attached to the booking. Requires administrator access.","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_GroupedBookingQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/{Id}":{"put":{"tags":["bookings"],"summary":"Update existing booking","description":"Updates an existing booking if you are authorized to do so. Note. Price is not updated automatically when changing number of spots or resources.","operationId":"UpdateBookingId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the booking","type":"integer","format":"int32","required":true},{"name":"UnbookedComments","in":"formData","description":"If you want to add comments when canceling a booking you can add them here, this comments are send in the confirmation to the customer","type":"string","required":false},{"name":"BookedComments","in":"formData","description":"If you want to add comments to a booking you can add them here, this comments are never shared with the customer","type":"string","required":false},{"name":"CommentsToCustomer","in":"formData","description":"If you want to add comments to the booking that is sent to the customer, you can add them here. Comments will be sent in the booking confirmation","type":"string","required":false},{"name":"CustomFields","in":"formData","description":"If Custom Fields are added to the booking, here you will send the id and the value for each custom field to be updated","type":"array","items":{"$ref":"#/definitions/AddCustomField"},"collectionFormat":"multi","required":false},{"name":"Resources","in":"formData","schema":{"$ref":"#/definitions/ResourceToUpdate"},"description":"Resources you want to change, leave it empty if no changes to the booked resources","required":false},{"name":"AllowBookingOutsideSchedules","in":"formData","description":"If want to allow to book outside the service schedules. This means you can book a time after the schedule opening hours as long as the resource are available. This is only allowed by administrators","type":"boolean","required":false,"x-nullable":false},{"name":"Comment","in":"formData","description":"Any comment to save to the log when changing the booking.","type":"string","required":false},{"name":"Message","in":"formData","description":"Any comment sent to user if SendSmsConfirmation or SendEmailConfirmation","type":"string","required":false},{"name":"SendSmsConfirmation","in":"formData","description":"If you want to send SMS confirmation. If null, it will take the default value of the bookings SendSMSConfirmation.","type":"boolean","required":false},{"name":"SendEmailConfirmation","in":"formData","description":"If you want to send Email confirmation. If null, it will take the default value of the bookings SendEmailConfirmation.","type":"boolean","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateBooking"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookingQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["bookings"],"summary":"Canceling existing booking","description":"Canceling an existing booking if you are authorized to do so.\n\n**Rate Limit:** One request every 3 seconds per API key. Exceeding this limit returns HTTP 429 (Too Many Requests).","operationId":"DeleteBookingId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"path","description":"Id of the booking","type":"integer","format":"int32","required":true},{"name":"UnBookedComments","in":"query","description":"If you want to add comments when canceling a booking you can add them here and it will be saved to the log","type":"string","required":false},{"name":"Message","in":"query","description":"Any comment sent to user if SendSmsConfirmation or SendEmailConfirmation","type":"string","required":false},{"name":"SendSmsConfirmation","in":"query","description":"If you want to send SMS confirmation. If null, it will take the default value of the bookings SendSMSConfirmation.","type":"boolean","required":false},{"name":"SendEmailConfirmation","in":"query","description":"If you want to send Email confirmation. If null, it will take the default value of the bookings SendEmailConfirmation.","type":"boolean","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookingQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/repeat":{"post":{"tags":["bookings"],"summary":"Create new bookings","description":"Create new bookings if you are authorized to do so.","operationId":"CreateBookingsrepeat_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"DatesToRepeat","in":"formData","description":"Set the dates you want to book and it\u0027s quantities. It\u0027s an array of dates and quantities.","type":"List\u003CDatesToRepeat\u003E","items":{"$ref":"#/definitions/DatesToRepeat"},"collectionFormat":"multi","required":true},{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"CustomerId","in":"formData","description":"If you want to book on an existing customer instead of CustomerToBook info set the CustomerId here. Set Empty Guid (00000000-0000-0000-0000-000000000000) if you want to book without any customer, this is only allowed by admin. The customer id is shown in the customer list named as id. When booking as customer (no admin) leave this field blank.","type":"string","required":false},{"name":"PinCode","in":"formData","description":"If company requires to be authenticated or a pin code entered to book on a specific customer, enter it here.","type":"string","required":false},{"name":"Customer","in":"formData","schema":{"$ref":"#/definitions/CustomerToHandle"},"description":"If you want to book with customer information instead of the Customer Id send the customer information here. Note: If customer profile already exists with the same email the information will not be changed, instead the provided information will be added as BookingsComments if it differs from the ordinary profile. ","required":false},{"name":"InvoiceAddress","in":"formData","schema":{"$ref":"#/definitions/InvoiceAddressToHandle"},"description":"If you want to book with customer information instead of the Customer Id send the customer information here. Note: If customer profile already exists with the same email the information will not be changed, instead the provided information will be added as BookingsComments if it differs from the ordinary profile. ","required":false},{"name":"ServiceId","in":"formData","description":"The service to be booked","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"BookedComments","in":"formData","description":"If you want to add comments to a booking you can add them here, this comments are never shared with the customer","type":"string","required":false},{"name":"CommentsToCustomer","in":"formData","description":"If you want to add comments to the booking that is sent to the customer, you can add them here. Comments will be sent in the booking confirmation","type":"string","required":false},{"name":"RebateCodeIds","in":"formData","description":"Rebate codes applied to booking","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"Articles","in":"formData","description":"Article ids that should be booked with the service. The articles must be of type ServiceAddonArticle and connected to the service.","type":"array","items":{"$ref":"#/definitions/ArticleToCreateBase"},"collectionFormat":"multi","required":true},{"name":"SendEmailReminder","in":"formData","description":"If you want to send Email reminder","type":"boolean","required":false},{"name":"SendSmsReminder","in":"formData","description":"If you want to send SMS reminder","type":"boolean","required":false},{"name":"SendSmsConfirmation","in":"formData","description":"If you want to send SMS confirmation","type":"boolean","required":false},{"name":"SendEmailConfirmation","in":"formData","description":"Only admins are allowed to not send an email confirmation. Default is true","type":"boolean","required":false},{"name":"PaymentOption","in":"formData","description":"If payment is enabled and you\u0027re an administrator, optional to choose payment option, if empty then the default settings will be used. Following payment options exists. DefaultSetting = 0, BookWithoutPayment = 1 (will be direcyly booked without payment), BookWithPaymentMessageToCustomer = 2 (will set status AwaitingPayment and send payment instructions to customer), BookWithManualPayment = 3 (Will set status AwaitingPaymentNoTimeLimit and Admin will need to manually mark the booking as payed when recieved payment).","type":"string","required":false,"enum":["DefaultSetting","BookWithoutPayment","BookWithPaymentMessageToCustomer","BookWithManualPayment"],"x-nullable":false},{"name":"CustomFields","in":"formData","description":"If Custom Fields are added to the booking, here you will send the id and the value for each custom field to be saved","type":"array","items":{"$ref":"#/definitions/AddCustomField"},"collectionFormat":"multi","required":false},{"name":"CustomerCustomFields","in":"formData","description":"If Custom Fields are added to the customer, here you will send the id and the value for each custom field to be updated","type":"array","items":{"$ref":"#/definitions/AddCustomField"},"collectionFormat":"multi","required":false},{"name":"AllowBookingOutsideSchedules","in":"formData","description":"If want to allow to book outside the service schedules. This means you can book a time after the schedule opening hours as long as the resource are available. This is only allowed by administrators","type":"boolean","required":false,"x-nullable":false},{"name":"TagIds","in":"formData","description":"Ids of tags to attach to the booking at creation time. Tags must have Scope = Booking and belong to the company.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateBookings"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CreateBookingsResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CreateBookingsResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/reports/":{"get":{"tags":["bookings"],"summary":"Get all reports","description":"Get a list of all existing reports.","operationId":"ReportQueryreports_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_ReportQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings":{"get":{"tags":["bookings"],"summary":"Find booked events for currently logged in user","description":"This service is used to get bookings for the current user, the result will be paged if the query returns a to large set of values.\n\n**Rate Limit:** One request every 3.25 seconds per API key. Exceeding this limit returns HTTP 429 (Too Many Requests).","operationId":"BookingQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"BookingResourceRelationResourceIds","in":"query","description":"Query for specific Booked Resources, default is all resources","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"BookingResourceRelationResourceTypeIds","in":"query","description":"Query for specific Booked Resource types, default is all resource types","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the booking","type":"integer","format":"int32","required":true},{"name":"CancellationCode","in":"query","description":"The cancellation code of the booking, can be used if you want to get a booking without being authenticated","type":"string","required":false},{"name":"BookingStart","in":"query","description":"Start of interval to query for bookings. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time","required":false},{"name":"BookingEnd","in":"query","description":"End of interval to query for bookings. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time","required":false},{"name":"CreatedFrom","in":"query","description":"Start of interval to query for bookings when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time","required":false},{"name":"CreatedTo","in":"query","description":"End of interval to query for bookings when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time","required":false},{"name":"CompanyBookings","in":"query","description":"Set to true if you want to include the bookings for the company you are logged in as administrator on, if false only bookings for the logged in user will be retrieved. Only administrators are allowed to do this.","type":"boolean","required":false,"x-nullable":false},{"name":"ServiceIds","in":"query","description":"Query for specific services.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"StatusIds","in":"query","description":"Query for specific booking statuses. Valid statuses are TimeBooked = 1, TimeUnbooked = 2, TimeReserved = 3, TimeCanceled = 4, AwaitingPayment = 5, AwaitingPaymentNoTimeLimit = 6, BookedAndPayed = 7, 8 = AwaitingPaymentRequestFromAdmin, 9 = AwaitingPaymentFromProvider. Default is all.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"CustomerId","in":"query","description":"Query for specific customer","type":"string","required":false},{"name":"IncludeExternalReferences","in":"query","description":"If you want to include the external references for the booking","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCustomFields","in":"query","description":"If you want to include the connected resource types and resources","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCustomFieldValues","in":"query","description":"If you want to include the connected custom fields","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeBookedResourceTypes","in":"query","description":"If you want to include the booked resources","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCompanyInformation","in":"query","description":"If you want to include the company information for the booking","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeServiceInformation","in":"query","description":"If you want to include the service information for the booking","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCustomerInformation","in":"query","description":"If you want to include the customer information for the booking","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeInvoiceAddress","in":"query","description":"If you want to include invoice address specific to this booking","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeLog","in":"query","description":"If you want to include the log of all events on the booking","type":"boolean","required":false,"x-nullable":false},{"name":"IncludePaymentLog","in":"query","description":"If you want to include the payment log on the booking","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCheckoutLog","in":"query","description":"If you want to include the checkouts","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeQuantityInformation","in":"query","description":"If you want to include the quantity and price information on the booking","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCalendarExportStatus","in":"query","description":"If you want to include google calendar sync status","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeStatusInformation","in":"query","description":"If you want to include booking status information","type":"boolean","required":false,"x-nullable":false},{"name":"MaxLimit","in":"query","description":"The max limit of records you want to retrieve, default is 100","type":"int","format":"int32","required":false},{"name":"IncludeTags","in":"query","description":"If you want to include the tags for the booking. Requires administrator access.","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_BookingQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_BookingQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["bookings"],"summary":"Create a new booking","description":"Create a new booking if you are authorized to do so.","operationId":"CreateBooking_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"From","in":"formData","description":"The datetime you want to start the booking.","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"To","in":"formData","description":"The datetime you want to end the booking.","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"Quantities","in":"formData","description":"Set the number of spots you want to book. You add number of spots per price category. Multiple spots require that the service has GroupBooking enabled. Default is one spot.","type":"array","items":{"$ref":"#/definitions/QuantityToBook"},"collectionFormat":"multi","required":false},{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"CustomerId","in":"formData","description":"If you want to book on an existing customer instead of CustomerToBook info set the CustomerId here. Set Empty Guid (00000000-0000-0000-0000-000000000000) if you want to book without any customer, this is only allowed by admin. The customer id is shown in the customer list named as id. When booking as customer (no admin) leave this field blank.","type":"string","required":false},{"name":"PinCode","in":"formData","description":"If company requires to be authenticated or a pin code entered to book on a specific customer, enter it here.","type":"string","required":false},{"name":"Customer","in":"formData","schema":{"$ref":"#/definitions/CustomerToHandle"},"description":"If you want to book with customer information instead of the Customer Id send the customer information here. Note: If customer profile already exists with the same email the information will not be changed, instead the provided information will be added as BookingsComments if it differs from the ordinary profile. ","required":false},{"name":"InvoiceAddress","in":"formData","schema":{"$ref":"#/definitions/InvoiceAddressToHandle"},"description":"If you want to book with customer information instead of the Customer Id send the customer information here. Note: If customer profile already exists with the same email the information will not be changed, instead the provided information will be added as BookingsComments if it differs from the ordinary profile. ","required":false},{"name":"ServiceId","in":"formData","description":"The service to be booked","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"BookedComments","in":"formData","description":"If you want to add comments to a booking you can add them here, this comments are never shared with the customer","type":"string","required":false},{"name":"CommentsToCustomer","in":"formData","description":"If you want to add comments to the booking that is sent to the customer, you can add them here. Comments will be sent in the booking confirmation","type":"string","required":false},{"name":"RebateCodeIds","in":"formData","description":"Rebate codes applied to booking","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"Articles","in":"formData","description":"Article ids that should be booked with the service. The articles must be of type ServiceAddonArticle and connected to the service.","type":"array","items":{"$ref":"#/definitions/ArticleToCreateBase"},"collectionFormat":"multi","required":true},{"name":"SendEmailReminder","in":"formData","description":"If you want to send Email reminder","type":"boolean","required":false},{"name":"SendSmsReminder","in":"formData","description":"If you want to send SMS reminder","type":"boolean","required":false},{"name":"SendSmsConfirmation","in":"formData","description":"If you want to send SMS confirmation","type":"boolean","required":false},{"name":"SendEmailConfirmation","in":"formData","description":"Only admins are allowed to not send an email confirmation. Default is true","type":"boolean","required":false},{"name":"PaymentOption","in":"formData","description":"If payment is enabled and you\u0027re an administrator, optional to choose payment option, if empty then the default settings will be used. Following payment options exists. DefaultSetting = 0, BookWithoutPayment = 1 (will be direcyly booked without payment), BookWithPaymentMessageToCustomer = 2 (will set status AwaitingPayment and send payment instructions to customer), BookWithManualPayment = 3 (Will set status AwaitingPaymentNoTimeLimit and Admin will need to manually mark the booking as payed when recieved payment).","type":"string","required":false,"enum":["DefaultSetting","BookWithoutPayment","BookWithPaymentMessageToCustomer","BookWithManualPayment"],"x-nullable":false},{"name":"CustomFields","in":"formData","description":"If Custom Fields are added to the booking, here you will send the id and the value for each custom field to be saved","type":"array","items":{"$ref":"#/definitions/AddCustomField"},"collectionFormat":"multi","required":false},{"name":"CustomerCustomFields","in":"formData","description":"If Custom Fields are added to the customer, here you will send the id and the value for each custom field to be updated","type":"array","items":{"$ref":"#/definitions/AddCustomField"},"collectionFormat":"multi","required":false},{"name":"AllowBookingOutsideSchedules","in":"formData","description":"If want to allow to book outside the service schedules. This means you can book a time after the schedule opening hours as long as the resource are available. This is only allowed by administrators","type":"boolean","required":false,"x-nullable":false},{"name":"TagIds","in":"formData","description":"Ids of tags to attach to the booking at creation time. Tags must have Scope = Booking and belong to the company.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateBooking"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookingQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/{Id}/resources/available":{"get":{"tags":["bookings"],"summary":"Find available resources.","description":"Find available resources.","operationId":"ResourceTypeAvailableResourcesQueryIdresourcesavailable_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company and id you want to see the information for a resourcetype, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ","type":"string","required":false},{"name":"Id","in":"path","description":"Enter the id for the booking.","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"ResourceTypeId","in":"query","description":"Enter the id for a resourcetype.","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResourceTypeAvailableResourcesQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/ResourceTypeAvailableResourcesQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/ResourceTypeAvailableResourcesQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/{Id}/refund/{PaymentLogId}":{"put":{"tags":["bookings"],"summary":"Refund a payment on a booking. ","description":"","operationId":"RefundBookingPaymentIdrefundPaymentLogId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"The booking id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"PaymentLogId","in":"path","description":"The booking payment log id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Amount","in":"formData","description":"The amount to refund on the checkout.","type":"number","format":"double","required":true,"x-nullable":false},{"name":"Comments","in":"formData","description":"Any comments to be saved in log.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/RefundBookingPayment"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/{BookingId}/quantity/{Id}":{"put":{"tags":["bookings"],"summary":"Update an existing booking quantity","description":"Updates an existing booking quantity if you are authorized to do so. Note: Updating quantity wont updated the number of booked resources.","operationId":"UpdateQuantityBookingIdquantityId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"BookingId","in":"path","description":"Id of the booking","type":"integer","format":"int32","required":true},{"name":"Id","in":"path","description":"Id of the quantity","type":"integer","format":"int32","required":true},{"name":"OccupiesSpot","in":"formData","description":"If the quantity you add should occupy a spot. Default is true. If no it will only be a row that includes price information.","type":"boolean","required":false},{"name":"Quantity","in":"formData","description":"The quantity for booked on this price category","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"Price","in":"formData","description":"The price","type":"number","format":"double","required":false},{"name":"CurrencyId","in":"formData","description":"The price currency","type":"string","required":false},{"name":"Category","in":"formData","description":"The price category","type":"string","required":false},{"name":"VAT","in":"formData","description":"The price VAT in percent","type":"number","format":"double","required":false},{"name":"Comments","in":"formData","description":"Any comments to be stored in the event log.","type":"string","required":false},{"name":"Refund","in":"formData","description":"If you want the amount to be refunded automatically if amount is lower than paid","type":"boolean","required":false,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateQuantity"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookedQuantity"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookedQuantity"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/BookedQuantity"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/{BookingId}/reports/{ReportId}":{"get":{"tags":["bookings"],"summary":"Get a report as a PDF file","description":"Get a PDF report.","operationId":"ExportBookingReportBookingIdreportsReportId_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"BookingId","in":"path","description":"Id of the booking","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ReportId","in":"path","description":"Id of the report","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/{BookingId}/tags/{TagId}":{"delete":{"tags":["bookings"],"summary":"Remove a tag from a booking","description":"Detaches a tag from an existing booking.","operationId":"RemoveTagFromBookingBookingIdtagsTagId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"BookingId","in":"path","description":"The booking id.","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"TagId","in":"path","description":"The tag id to remove.","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"404":{"description":"Returned if the booking or tag relation was not found","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/BookingQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/deletebycode/{Id}":{"delete":{"tags":["bookings"],"summary":"Canceling existing booking","description":"Canceling an existing booking if you are authorized to do so.\n\n**Rate Limit:** One request every 3 seconds per API key. Exceeding this limit returns HTTP 429 (Too Many Requests).","operationId":"DeleteBookingByCodedeletebycodeId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"path","description":"Id of the booking","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"UnBookedComments","in":"query","description":"If you want to add comments when canceling a booking you can add them here and it will be saved to the log","type":"string","required":false},{"name":"CancellationCode","in":"query","description":"The unique cancelation code for that booking","type":"string","required":true}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/resources/move":{"put":{"tags":["bookings"],"summary":"Move all booked resources from one resource to another","description":"This service is used to move all bookings from one resource to another.","operationId":"BookingMoveResourcesresourcesmove_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ResourceId","in":"formData","description":"Id of the resource you want to move from","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Test","in":"formData","description":"If you want to see what bookings, just set this to true. Will not update anything just retrieve the bookings","type":"boolean","required":true,"x-nullable":false},{"name":"ResourceTypeId","in":"formData","description":"If you only want to move from a specific resource group then enter the id here. If blank it will move from all resourcetypes where the resource id exists","type":"integer","format":"int32","required":true},{"name":"NewResourceId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"NewResourceTypeId","in":"formData","description":"If you want to move to another resourcetype then enter the new resource group id. If blank it will not move it to another resourcetype","type":"integer","format":"int32","required":false},{"name":"BookingStart","in":"formData","description":"Start of interval to query for bookings. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time","required":false},{"name":"BookingEnd","in":"formData","description":"End of interval to query for bookings. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/BookingMoveResources"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookingQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/{Id}/approve":{"put":{"tags":["bookings"],"summary":"Approve a booking that is reserved and awaiting approval","description":"Updates an existing booking with approved status if you are authorized to do so.","operationId":"ApproveBookingIdapprove_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the booking","type":"integer","format":"int32","required":true},{"name":"PaymentOption","in":"formData","description":"If payment is enabled, optional to choose payment option, if blank then the default settings will be used","type":"string","required":false,"enum":["DefaultSetting","BookWithoutPayment","BookWithPaymentMessageToCustomer","BookWithManualPayment"],"x-nullable":false},{"name":"Comment","in":"formData","description":"Any comment logged to the booking history and sent to user if SendSmsConfirmation or SendEmailConfirmation","type":"string","required":false},{"name":"Message","in":"formData","description":"Any comment sent to user if SendSmsConfirmation or SendEmailConfirmation","type":"string","required":false},{"name":"SendSmsConfirmation","in":"formData","description":"If you want to send SMS confirmation. If null, it will take the default value of the bookings SendSMSConfirmation.","type":"boolean","required":false},{"name":"SendEmailConfirmation","in":"formData","description":"If you want to send Email confirmation. If null, it will take the default value of the bookings SendEmailConfirmation.","type":"boolean","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/ApproveBooking"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/BookingQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/{Id}/markaspaid":{"put":{"tags":["bookings"],"summary":"Approve a booking that has status awaitingpayment or awaitingpaymentnotimelimit","description":"Updates an existing booking with paid status if you are authorized to do so.","operationId":"MarkBookingAsPayedIdmarkaspaid_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the booking","type":"integer","format":"int32","required":true},{"name":"Comment","in":"formData","description":"Any comment logged to the booking history","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/MarkBookingAsPayed"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/BookingQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/{BookingId}/quantity/":{"put":{"tags":["bookings"],"summary":"Update all quantities on a booking. Note: all quantity needs to be added, all existing quantities on the booking will be deleted","description":"Update all quantities on a booking. You will need to provide all quantities in this call to be added/updated. Note: all quantity needs to be added, all existing quantities on the booking will be deleted.","operationId":"UpdateAllQuantitiesBookingIdquantity_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"BookingId","in":"path","description":"Id of the booking","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Quantities","in":"formData","description":"Set the number of spots you want to book. You add number of spots per price category. Multiple spots require that the service has GroupBooking enabled. Default is one spot.","type":"array","items":{"$ref":"#/definitions/QuantityToUpdate"},"collectionFormat":"multi","required":false},{"name":"Comments","in":"formData","description":"Any comments to be stored in the event log.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateAllQuantities"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookedQuantity"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookedQuantity"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/BookedQuantity"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["bookings"],"summary":"Add an booking quantity","description":"Updates an booking quantity if you are authorized to do so. Note: Add quantity wont update the number of booked resources.","operationId":"AddQuantityBookingIdquantity_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"BookingId","in":"path","description":"Id of the booking","type":"integer","format":"int32","required":true},{"name":"Quantity","in":"formData","description":"The quantity for booked on this price category","type":"integer","format":"int32","required":true},{"name":"Price","in":"formData","description":"The price","type":"number","format":"double","required":false},{"name":"CurrencyId","in":"formData","description":"The price currency","type":"string","required":false},{"name":"Category","in":"formData","description":"The price category","type":"string","required":false},{"name":"VAT","in":"formData","description":"The price VAT in percent","type":"number","format":"double","required":false},{"name":"OccupiesSpot","in":"formData","description":"If the quantity you add should occupy a spot. Default is true. If no it will only be a row that includes price information.","type":"boolean","required":false,"x-nullable":false},{"name":"Comments","in":"formData","description":"Any comments to be stored in the event log.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddQuantity"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookedQuantity"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookedQuantity"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/BookedQuantity"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/{Id}/resource":{"put":{"tags":["bookings"],"summary":"Change a resource on a booking","description":"Update an existing booking with a another available resource.","operationId":"ChangeResourceOnBookingIdresource_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the booking","type":"integer","format":"int32","required":true},{"name":"ResourceTypeId","in":"formData","description":"The resource type id","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"ResourceId","in":"formData","description":"The resource id you want to replace","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"NewResourceId","in":"formData","description":"The resource id to be replaced with","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/ChangeResourceOnBooking"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/BookingQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["bookings"],"summary":"Add a resource to a booking","description":"Updates an existing booking with a new resource that must be available (not booked or occupied).","operationId":"AddResourceToBookingIdresource_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the booking","type":"integer","format":"int32","required":true},{"name":"ResourceTypeId","in":"formData","description":"The resource type id","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"ResourceId","in":"formData","description":"The resource id","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddResourceToBooking"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/BookingQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["bookings"],"summary":"Remove a resource to a booking","description":"Updates an existing booking with removing an connected resource.","operationId":"RemoveResourceFromBookingIdresource_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the booking","type":"integer","format":"int32","required":true},{"name":"ResourceTypeId","in":"query","description":"The resource type id","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"ResourceId","in":"query","description":"The resource id","type":"integer","format":"int32","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/BookingQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/{Id}/decline":{"put":{"tags":["bookings"],"summary":"Decline a booking that is reserved and awaiting approval","description":"Updates an existing booking with canceled status if you are authorized to do so.","operationId":"DeclineBookingIddecline_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the booking","type":"integer","format":"int32","required":true},{"name":"Comment","in":"formData","description":"Any comment logged to the booking history","type":"string","required":false},{"name":"Message","in":"formData","description":"Any comment sent to user if SendSmsConfirmation or SendEmailConfirmation","type":"string","required":false},{"name":"SendSmsConfirmation","in":"formData","description":"If you want to send SMS confirmation. If null, it will take the default value of the bookings SendSMSConfirmation.","type":"boolean","required":false},{"name":"SendEmailConfirmation","in":"formData","description":"If you want to send Email confirmation. If null, it will take the default value of the bookings SendEmailConfirmation.","type":"boolean","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/DeclineBooking"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/BookingQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/{Id}/reschedule":{"put":{"tags":["bookings"],"summary":"Reschedule an existing booking","description":"Reschedule an existing booking to a new time slot. Optionally update quantities (spots/resources) and/or selected resources. The same validations as booking/update will be applied (duration, collisions, schedules, and resource availability).","operationId":"RescheduleBookingIdreschedule_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the booking to reschedule","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"From","in":"formData","description":"The new datetime you want to start the booking.","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"To","in":"formData","description":"The new datetime you want to end the booking.","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"Quantities","in":"formData","description":"Set the number of spots/resources you want to book. If null, existing booking quantities are used.","type":"array","items":{"$ref":"#/definitions/QuantityToBook"},"collectionFormat":"multi","required":false},{"name":"Resources","in":"formData","schema":{"$ref":"#/definitions/ResourceToUpdate"},"description":"Resources you want to change. Leave empty to auto-select resources that are available for the new time.","required":false},{"name":"AllowBookingOutsideSchedules","in":"formData","description":"If want to allow booking outside the service schedules. Only allowed by administrators.","type":"boolean","required":false,"x-nullable":false},{"name":"Comments","in":"formData","description":"Any comment to save to the log when rescheduling the booking.","type":"string","required":false},{"name":"SendSmsConfirmation","in":"formData","description":"If you want to send SMS confirmation about the reschedule. If null, it will take the default value of the bookings SendSMSConfirmation.","type":"boolean","required":false},{"name":"SendEmailConfirmation","in":"formData","description":"If you want to send Email confirmation about the reschedule. If null, it will take the default value of the bookings SendEmailConfirmation.","type":"boolean","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/RescheduleBooking"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"404":{"description":"Booking not found","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"409":{"description":"The requested time slot is not available","schema":{"$ref":"#/definitions/BookingQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookings/{BookingId}/tags":{"post":{"tags":["bookings"],"summary":"Add tags to a booking","description":"Attaches one or more tags to an existing booking.","operationId":"AddTagsToBookingBookingIdtags_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"BookingId","in":"path","description":"The booking id.","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"TagIds","in":"formData","description":"The ids of the tags to attach.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddTagsToBooking"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"400":{"description":"Returned if a tag does not belong to this company or has the wrong scope","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"404":{"description":"Returned if the booking was not found","schema":{"$ref":"#/definitions/BookingQueryResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/BookingQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookinguserqueue/{Id}":{"get":{"tags":["bookinguserqueue"],"summary":"Get queue item by Id","description":"","operationId":"GetBookingUserQueueId_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"path","description":"Id of the booking user queue","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"CompanyId","in":"query","description":"","type":"string","required":true,"x-nullable":false},{"name":"CustomerId","in":"query","description":"","type":"string","required":true,"x-nullable":false},{"name":"IncludeServiceInformation","in":"query","description":"If you want to include the service information for the booking","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCompanyInformation","in":"query","description":"If you want to include the company information for the booking","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingUserQueueItemResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookingUserQueueItemResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["bookinguserqueue"],"summary":"Delete queue item by Id","description":"","operationId":"DeleteBookingUserQueueId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"path","description":"Id of the booking user queue","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"CompanyId","in":"query","description":"","type":"string","required":true,"x-nullable":false},{"name":"CustomerId","in":"query","description":"","type":"string","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingUserQueueItemResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookingUserQueueItemResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookinguserqueue/user":{"get":{"tags":["bookinguserqueue"],"summary":"Get all (future) queue items for the logged in user","description":"","operationId":"GetAllBookingQueueuser_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"UserId","in":"query","description":"The user id for your profile. If not set it will set it automatically from your session","type":"string","required":false},{"name":"DateStart","in":"query","description":"Optional start date for the search interval. If not set it will default to todays date.","type":"dateTime","format":"date-time","required":false},{"name":"DateEnd","in":"query","description":"Optional end date for the search interval. If not set all future queue items will be returned.","type":"dateTime","format":"date-time","required":false},{"name":"CompanyQueueItems","in":"query","description":"Set to true if you want to include the queue items for the company you are logged in as administrator on, if false only queue items for the logged in user will be retrieved. Only administrators are allowed to do this.","type":"boolean","required":false,"x-nullable":false},{"name":"ServiceId","in":"query","description":"Optional filter for a specific service id.","type":"int","format":"int32","required":false},{"name":"CustomerId","in":"query","description":"Optional filter for a specific customer id.","type":"Guid","required":false},{"name":"IncludeServiceInformation","in":"query","description":"If you want to include the service information for the booking","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCompanyInformation","in":"query","description":"If you want to include the company information for the booking","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCustomerInformation","in":"query","description":"If you want to include the customer information for the booking","type":"boolean","required":false,"x-nullable":false},{"name":"Skip","in":"query","description":"Number of records to skip (for pagination)","type":"int","format":"int32","required":false},{"name":"Take","in":"query","description":"Maximum number of records to return (for pagination)","type":"int","format":"int32","required":false}],"responses":{"200":{"description":"Success","schema":{"title":"List\u003CBookingUserQueueItemResponse\u003E","type":"array","items":{"$ref":"#/definitions/BookingUserQueueItemResponse"}}},"401":{"description":"You were unauthorized to call this service","schema":{"title":"List\u003CBookingUserQueueItemResponse\u003E","type":"array","items":{"$ref":"#/definitions/BookingUserQueueItemResponse"}}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/bookinguserqueue":{"post":{"tags":["bookinguserqueue"],"summary":"Join user to the booking queue","description":"","operationId":"CreateBookingUserQueue_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CustomFields","in":"formData","description":"If Custom Fields are added to the booking, here you will send the id and the value for each custom field to be saved","type":"array","items":{"$ref":"#/definitions/AddCustomField"},"collectionFormat":"multi","required":false},{"name":"CustomerCustomFields","in":"formData","description":"If Custom Fields are added to the customer, here you will send the id and the value for each custom field to be saved","type":"array","items":{"$ref":"#/definitions/AddCustomField"},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateBookingUserQueue"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingUserQueueItemResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/codelock/settings":{"get":{"tags":["codelock"],"summary":"Get code lock settings for the currently logged in user","description":"Get code lock settings for the currently logged in user.","operationId":"CodeLockSettingQuerysettings_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"IncludeCodeLockSystemOptions","in":"query","description":"If you want to include code locks that is supported.","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["codelock"],"summary":"Update settings for the code locks of the company of the currently logged in user","description":"Update settings for code lock of the company of the currently logged in user.","operationId":"UpdateCodeLockSettingsettings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Active","in":"formData","description":"If code lock sync is active","type":"bool","required":false},{"name":"CodeLockSystemsId","in":"formData","description":"The system type of the code lock","type":"int","format":"int32","required":false},{"name":"ValidBeforeMinutes","in":"formData","description":"Number of minutes the access should be valid before booking starts.","type":"int","format":"int32","required":false},{"name":"ValidAfterMinutes","in":"formData","description":"Number of minutes the access should be valid after booking ends.","type":"int","format":"int32","required":false},{"name":"DeleteOldBySchedule","in":"formData","description":"If it should clean up old bookings after they have passed.","type":"boolean","required":false},{"name":"SendEmailNotification","in":"formData","description":"If a notification should be sent by Email","type":"boolean","required":false},{"name":"SendSMSNotification","in":"formData","description":"If a notification should be sent by SMS","type":"boolean","required":false},{"name":"EmailNotificationTime","in":"formData","description":"How long before the booking starts in minutes the notification should be sent","type":"int","format":"int32","required":false},{"name":"SMSNotificationTime","in":"formData","description":"How long before the booking starts in minutes the notification should be sent","type":"int","format":"int32","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/codelock/axema/settings":{"get":{"tags":["codelock"],"summary":"Get code lock api settings for the currently logged in user","description":"Get code lock api settings for the currently logged in user.","operationId":"CodeLockAxemaSettingQueryaxemasettings_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockAxemaSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockAxemaSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockAxemaSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["codelock"],"summary":"Update settings for the code lock of the company of the currently logged in user","description":"Update settings for code lock of the company of the currently logged in user.","operationId":"UpdateAxemaCodeLockSettingaxemasettings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ApiEndpoint","in":"formData","description":"The api endpoint of the code lock","type":"string","required":false},{"name":"ApiPort","in":"formData","description":"The api port for the code lock.","type":"string","required":false},{"name":"Username","in":"formData","description":"The username to logon to the code lock.","type":"string","required":false},{"name":"Password","in":"formData","description":"The password to logon to the code lock.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateAxemaCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockAxemaSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockAxemaSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockAxemaSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["codelock"],"summary":"Add settings for the code lock of the company of the currently logged in user","description":"Add settings for code lock of the company of the currently logged in user.","operationId":"AddAxemaCodeLockSettingaxemasettings_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ApiEndpoint","in":"formData","description":"The api endpoint of the code lock","type":"string","required":true},{"name":"ApiPort","in":"formData","description":"The api port for the code lock.","type":"string","required":true},{"name":"Username","in":"formData","description":"The username to logon to the code lock.","type":"string","required":true},{"name":"Password","in":"formData","description":"The password to logon to the code lock.","type":"string","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddAxemaCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockAxemaSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockAxemaSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockAxemaSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/codelock/siedle/settings":{"get":{"tags":["codelock"],"summary":"Get code lock api settings for the currently logged in user","description":"Get code lock api settings for the currently logged in user.","operationId":"CodeLockSiedleSettingQuerysiedlesettings_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockSiedleSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockSiedleSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockSiedleSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["codelock"],"summary":"Update settings for the code lock of the company of the currently logged in user","description":"Update settings for code lock of the company of the currently logged in user.","operationId":"UpdateSiedleCodeLockSettingsiedlesettings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ApiEndpoint","in":"formData","description":"The api endpoint of the code lock","type":"string","required":false},{"name":"ApiPort","in":"formData","description":"The api port for the code lock.","type":"string","required":false},{"name":"IntegrationType","in":"formData","description":"The integration type to the code lock. 1 = Local Api,  2 = Cloud Based Api","type":"string","required":false,"enum":["LocalApi","CloudBasedApi"],"x-nullable":false},{"name":"DeviceId","in":"formData","description":"The device id to the code lock.","type":"string","required":false},{"name":"Username","in":"formData","description":"The username to logon to the code lock.","type":"string","required":false},{"name":"Password","in":"formData","description":"The password to logon to the code lock.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateSiedleCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockSiedleSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockSiedleSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockSiedleSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["codelock"],"summary":"Add settings for the code lock of the company of the currently logged in user","description":"Add settings for code lock of the company of the currently logged in user.","operationId":"AddSiedleCodeLockSettingsiedlesettings_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ApiEndpoint","in":"formData","description":"The api endpoint of the code lock","type":"string","required":true},{"name":"ApiPort","in":"formData","description":"The api port for the code lock.","type":"string","required":true},{"name":"DeviceId","in":"formData","description":"The device id to the code lock.","type":"string","required":false},{"name":"IntegrationType","in":"formData","description":"The integration type to the code lock. 1 = Local Api,  2 = Cloud Based Api","type":"string","required":false,"enum":["LocalApi","CloudBasedApi"],"x-nullable":false},{"name":"Username","in":"formData","description":"The username to logon to the code lock.","type":"string","required":true},{"name":"Password","in":"formData","description":"The password to logon to the code lock.","type":"string","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddSiedleCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockSiedleSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockSiedleSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockSiedleSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/codelock/telkey/settings":{"get":{"tags":["codelock"],"summary":"Get code lock api settings for the currently logged in user","description":"Get code lock api settings for the currently logged in user.","operationId":"CodeLockTelkeySettingQuerytelkeysettings_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockTelkeySettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockTelkeySettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockTelkeySettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["codelock"],"summary":"Update settings for the code lock of the company of the currently logged in user","description":"Update settings for code lock of the company of the currently logged in user.","operationId":"UpdateTelkeyCodeLockSettingtelkeysettings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Username","in":"formData","description":"The username for login to the code lock","type":"string","required":false},{"name":"Password","in":"formData","description":"The password for login to the code lock","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateTelkeyCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockTelkeySettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockTelkeySettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockTelkeySettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["codelock"],"summary":"Add settings for the code lock of the company of the currently logged in user","description":"Add settings for code lock of the company of the currently logged in user.","operationId":"AddTelkeyCodeLockSettingtelkeysettings_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Username","in":"formData","description":"The username for login to the code lock","type":"string","required":true},{"name":"Password","in":"formData","description":"The password for login to the code lock","type":"string","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddTelkeyCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockTelkeySettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockTelkeySettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockTelkeySettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/codelock/zesec/settings":{"get":{"tags":["codelock"],"summary":"Get code lock api settings for the currently logged in user","description":"Get code lock api settings for the currently logged in user.","operationId":"CodeLockZesecSettingQueryzesecsettings_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockZesecSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockZesecSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockZesecSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["codelock"],"summary":"Update settings for the code lock of the company of the currently logged in user","description":"Update settings for code lock of the company of the currently logged in user.","operationId":"UpdateZesecCodeLockSettingzesecsettings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"PhoneNumber","in":"formData","description":"The username (phone number) for login to the code lock","type":"string","required":false},{"name":"Password","in":"formData","description":"The password for login to the code lock","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateZesecCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockZesecSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockZesecSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockZesecSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["codelock"],"summary":"Add settings for the code lock of the company of the currently logged in user","description":"Add settings for code lock of the company of the currently logged in user.","operationId":"AddZesecCodeLockSettingzesecsettings_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Password","in":"formData","description":"The password for login to the code lock","type":"string","required":true},{"name":"PhoneNumber","in":"formData","description":"The username (phone number) for login to the code lock","type":"string","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddZesecCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockZesecSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockZesecSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockZesecSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/codelock/zesec/unlock":{"post":{"tags":["codelock"],"summary":"Unlock the door for the code lock of the company of the currently logged in user","description":"Unlock the door for the code lock of the company of the currently logged in user.","operationId":"CodeLockZesecUnlockzesecunlock_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The Company Id of the company you want to unlock the door for.","type":"string","required":false,"x-nullable":false},{"name":"BookingId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CodeLockZesecUnlock"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockZesecUnlockResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockZesecUnlockResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockZesecUnlockResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/codelock/vanderbilt/settings":{"get":{"tags":["codelock"],"summary":"Get code lock api settings for the currently logged in user","description":"Get code lock api settings for the currently logged in user.","operationId":"CodeLockVanderbiltSettingQueryvanderbiltsettings_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockVanderbiltSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockVanderbiltSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockVanderbiltSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["codelock"],"summary":"Update settings for the code lock of the company of the currently logged in user","description":"Update settings for code lock of the company of the currently logged in user.","operationId":"UpdateVanderbiltCodeLockSettingvanderbiltsettings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ApiEndpoint","in":"formData","description":"The api endpoint of the code lock","type":"string","required":false},{"name":"ApiPort","in":"formData","description":"The api port for the code lock.","type":"string","required":false},{"name":"Identifier","in":"formData","description":"The default identifier for the code lock.","type":"string","required":false},{"name":"DefaultFacilityId","in":"formData","description":"The default facility id to be used when no set on the resource.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateVanderbiltCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockVanderbiltSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockVanderbiltSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockVanderbiltSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["codelock"],"summary":"Add settings for the code lock of the company of the currently logged in user","description":"Add settings for code lock of the company of the currently logged in user.","operationId":"AddVanderbiltCodeLockSettingvanderbiltsettings_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ApiEndpoint","in":"formData","description":"The api endpoint of the code lock","type":"string","required":true},{"name":"ApiPort","in":"formData","description":"The api port for the code lock.","type":"string","required":true},{"name":"Identifier","in":"formData","description":"The default identifier for the code lock.","type":"string","required":true},{"name":"DefaultFacilityId","in":"formData","description":"The default facility id to be used when no set on the resource.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddVanderbiltCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockVanderbiltSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockVanderbiltSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockVanderbiltSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/codelock/parakey/settings":{"get":{"tags":["codelock"],"summary":"Get code lock api settings for the currently logged in user","description":"Get code lock api settings for the currently logged in user.","operationId":"CodeLockParakeySettingQueryparakeysettings_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockParakeySettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockParakeySettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockParakeySettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["codelock"],"summary":"Update settings for the code lock of the company of the currently logged in user","description":"Update settings for code lock of the company of the currently logged in user.","operationId":"UpdateParakeyCodeLockSettingparakeysettings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"DomainId","in":"formData","description":"The domain id of the code lock.","type":"string","required":false},{"name":"AccessToken","in":"formData","description":"The access token of the code lock.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateParakeyCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockParakeySettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockParakeySettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockParakeySettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["codelock"],"summary":"Add settings for the code lock of the company of the currently logged in user","description":"Add settings for code lock of the company of the currently logged in user.","operationId":"AddParakeyCodeLockSettingparakeysettings_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"DomainId","in":"formData","description":"The domain id of the code lock.","type":"string","required":true},{"name":"AccessToken","in":"formData","description":"The access token of the code lock.","type":"string","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddParakeyCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockParakeySettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockParakeySettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockParakeySettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/codelock/rcoenabla/settings":{"get":{"tags":["codelock"],"summary":"Get code lock api settings for the currently logged in user","description":"Get code lock api settings for the currently logged in user.","operationId":"CodeLockRcoEnablaSettingQueryrcoenablasettings_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockRcoEnablaSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockRcoEnablaSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockRcoEnablaSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["codelock"],"summary":"Update settings for the code lock of the company of the currently logged in user","description":"Update settings for code lock of the company of the currently logged in user.","operationId":"UpdateRcoEnablaCodeLockSettingrcoenablasettings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"SystemId","in":"formData","description":"The system id of the code lock.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateRcoEnablaCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockRcoEnablaSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockRcoEnablaSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockRcoEnablaSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["codelock"],"summary":"Create settings for the code lock of the company of the currently logged in user","description":"Create settings for code lock of the company of the currently logged in user.","operationId":"CreateRcoEnablaCodeLockSettingrcoenablasettings_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"SystemId","in":"formData","description":"The system id of the code lock.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateRcoEnablaCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockRcoEnablaSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockRcoEnablaSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockRcoEnablaSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/codelock/{CodeLockSystemsId}/reservations/":{"post":{"tags":["codelock"],"summary":"Will delete all reservation that is in the past for each company having schedule delete setting turned on.","description":"Will delete all reservation that is in the past for each company having schedule delete setting turned on.","operationId":"DeleteOldReservationsCodeLockSystemsIdreservations_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"To","in":"formData","description":"The date to delete To. Only bookings that have ended by this date will be deleted.","type":"datetime","format":"date-time","required":false,"x-nullable":false},{"name":"CodeLockSystemsId","in":"path","description":"The system type of the code lock","type":"int","format":"int32","required":true,"x-nullable":false},{"name":"Token","in":"formData","description":"If not logged in you can use token to update","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/DeleteOldReservations"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/DeleteOldReservationsResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/codelock/resync/{BookingId}":{"post":{"tags":["codelock"],"operationId":"ResyncBookingToCodeLockresyncBookingId_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"BookingId","in":"path","description":"Booking id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/ResyncBookingToCodeLock"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/codelock/accessy/settings":{"get":{"tags":["codelock"],"summary":"Get code lock api settings for the currently logged in user","description":"Get code lock api settings for the currently logged in user.","operationId":"CodeLockAccessySettingQueryaccessysettings_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockAccessySettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockAccessySettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockAccessySettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["codelock"],"summary":"Update settings for the code lock of the company of the currently logged in user","description":"Update settings for code lock of the company of the currently logged in user.","operationId":"UpdateAccessyCodeLockSettingaccessysettings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ClientId","in":"formData","description":"The api clientId","type":"string","required":false},{"name":"ClientSecret","in":"formData","description":"The api clientSecret","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateAccessyCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockAccessySettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockAccessySettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockAccessySettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["codelock"],"summary":"Add settings for the code lock of the company of the currently logged in user","description":"Add settings for code lock of the company of the currently logged in user.","operationId":"AddAccessyCodeLockSettingaccessysettings_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ClientId","in":"formData","description":"The api clientId","type":"string","required":false},{"name":"ClientSecret","in":"formData","description":"The api clientSecret","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddAccessyCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockAccessySettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockAccessySettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockAccessySettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/codelock/axema/usersync":{"get":{"tags":["codelock"],"summary":"Query Axema user sync jobs","description":"Returns a list of sync jobs for the company, optionally filtered by status.","operationId":"QueryAxemaUserSyncJobsaxemausersync_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Status","in":"query","description":"Filter by status (0=Pending, 1=Processing, 2=Completed, 3=Failed).","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryAxemaUserSyncJobsResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryAxemaUserSyncJobsResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/QueryAxemaUserSyncJobsResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["codelock"],"summary":"Start a sync of users from the Axema Vaka system into BokaMera customers","description":"This operation runs in the background and may take several minutes. Use the GET endpoint to check status. Only one sync can run at a time per company.","operationId":"CreateAxemaUserSyncaxemausersync_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateAxemaUserSync"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AxemaUserSyncJobResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/AxemaUserSyncJobResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/AxemaUserSyncJobResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/codelock/amido/dax/settings":{"get":{"tags":["codelock"],"summary":"Get code lock api settings for the currently logged in user","description":"Get code lock api settings for the currently logged in user.","operationId":"CodeLockAmidoDaxSettingQueryamidodaxsettings_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockAmidoDaxSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockAmidoDaxSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockAmidoDaxSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["codelock"],"summary":"Update settings for the code lock of the company of the currently logged in user","description":"Update settings for code lock of the company of the currently logged in user.","operationId":"UpdateAmidoDaxCodeLockSettingamidodaxsettings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"InstanceId","in":"formData","description":"The instance id of the code lock","type":"string","required":false},{"name":"PartnerId","in":"formData","description":"The partner id of the code lock","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateAmidoDaxCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockAmidoDaxSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockAmidoDaxSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockAmidoDaxSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["codelock"],"summary":"Add settings for the code lock of the company of the currently logged in user","description":"Add settings for code lock of the company of the currently logged in user.","operationId":"AddAmidoDaxCodeLockSettingamidodaxsettings_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"InstanceId","in":"formData","description":"The instance id of the code lock","type":"string","required":true,"x-nullable":false},{"name":"PartnerId","in":"formData","description":"The partner id of the code lock","type":"string","required":true,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddAmidoDaxCodeLockSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CodeLockAmidoDaxSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CodeLockAmidoDaxSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/CodeLockAmidoDaxSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/codelock/axema/usersync/{Id}":{"get":{"tags":["codelock"],"summary":"Get a single Axema user sync job by id","description":"Returns the sync job details including progress counters.","operationId":"GetAxemaUserSyncJobaxemausersyncId_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"The sync job id.","type":"string","required":true,"x-nullable":false},{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AxemaUserSyncJobResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/AxemaUserSyncJobResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/AxemaUserSyncJobResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/categories":{"get":{"tags":["categories"],"summary":"Find company categories","description":"Find company categories that a company can belong to.","operationId":"CategoryQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"Id of the category","type":"integer","format":"int32","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_CompanyCategoryQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["categories"],"summary":"Edit company categories","description":"Edit company categories that a company can belong to.","operationId":"UpdateCompanyCategory_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"Id","in":"formData","description":"If of the category to update","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateCompanyCategory"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CompanyCategoryQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["categories"],"summary":"Create company categories","description":"Create company categories that a company can belong to.","operationId":"CreateCompanyCategory_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"Name","in":"formData","description":"Name of the category","type":"string","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateCompanyCategory"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CompanyCategoryQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/superadmin/categories":{"get":{"tags":["superadmin"],"summary":"Find company categories","description":"Find company categories that a company can belong to.","operationId":"SuperAdminCategoryQuerycategories_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"Id of the category","type":"integer","format":"int32","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_CompanyCategoryQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/companies/coordinates":{"get":{"tags":["companies"],"operationId":"CompanyCoordinatesQuerycoordinates_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Street1","in":"query","description":"Street address","type":"string","required":true},{"name":"Street2","in":"query","description":"Street adress","type":"string","required":false},{"name":"ZipCode","in":"query","description":"Street zip code","type":"string","required":true},{"name":"City","in":"query","description":"City","type":"string","required":true},{"name":"CountryId","in":"query","description":"Country Id (Example SE= Sweden)","type":"string","required":true}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CompanyCoordinatesQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/companies/types":{"get":{"tags":["companies"],"operationId":"CompanyTypeQuerytypes_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Skip","in":"query","type":"integer","format":"int32"},{"name":"Take","in":"query","type":"integer","format":"int32"},{"name":"OrderBy","in":"query","type":"string"},{"name":"OrderByDesc","in":"query","type":"string"},{"name":"Include","in":"query","type":"string"},{"name":"Fields","in":"query","type":"string"},{"name":"Meta","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_CompanyTypeQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/companies/{CompanyId}":{"put":{"tags":["companies"],"summary":"Update existing company","description":"Updates your company profile information.","operationId":"UpdateCompanyCompanyId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"path","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":true},{"name":"TypeId","in":"formData","description":"What type of company. If it\u0027s used for personal use or as a company. 1 = Company use, 2 = Personal use","type":"int","format":"int32","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateCompany"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CompanyQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CompanyQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/companies":{"get":{"tags":["companies"],"description":"\n\n**Rate Limit:** One request every 6.25 seconds per API key. Exceeding this limit returns HTTP 429 (Too Many Requests).","operationId":"CompanyQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"Id for a specific company you want to retrieve.","type":"string","required":false},{"name":"Categories","in":"query","description":"Include companies in these categories.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"Latitude","in":"query","description":"Search nearby this latitude coordinate.","type":"number","format":"double","required":false},{"name":"Longitude","in":"query","description":"Search nearby this longitude coordinate.","type":"number","format":"double","required":false},{"name":"SitePath","in":"query","description":"The site path url for the company homepage","type":"string","required":false},{"name":"Active","in":"query","description":"Search active companies. You\u0027re only allowed to search active companies.","type":"boolean","required":false,"x-nullable":false},{"name":"OrganisationNumber","in":"query","description":"The organisation number for the company","type":"string","required":false},{"name":"Distance","in":"query","description":"Maxium distance from the coordinates to be included in the result.","type":"number","format":"double","required":false},{"name":"Search","in":"query","description":"Will search by any company name or city that contains the search string provided.","type":"string","required":false},{"name":"CompanyOwnerId","in":"query","description":"Will search by any company owner id. Default is 1 = BokaMera.","type":"integer","format":"int32","required":false},{"name":"IncludeBookingAgreements","in":"query","description":"If you want to get the booking agreements loaded into the field BookingAgreements","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCodeLockSystem","in":"query","description":"If you want to get the code lock system used by the company","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeBookingSettings","in":"query","description":"If you want to get the booking settings loaded into the field BookingSettings","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeSystemSettings","in":"query","description":"If you want to get the system settings loaded into the field SystemSettings","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeWidgetSettings","in":"query","description":"If you want to get the widget settings loaded into the field WidgetSettings","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeHomepageSettings","in":"query","description":"If you want to get the homepage settings loaded into the field HomepageSettings","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCustomerCustomFields","in":"query","description":"If you want to include the connected custom fields for the customers","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCustomFields","in":"query","description":"If you want to include the connected custom fields","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeRatingReviews","in":"query","description":"If you want to include the rating reviews","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeRatingSummary","in":"query","description":"If you want to include the rating summary","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCompanyOwner","in":"query","description":"If you want to include company owner information","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_CompanyQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/companies/":{"post":{"tags":["companies"],"summary":"Create new company","description":"Create your company information.","operationId":"CreateCompany_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"Name","in":"formData","description":"","type":"string","required":true},{"name":"OrganisationNumber","in":"formData","description":"","type":"string","required":true},{"name":"TypeId","in":"formData","description":"What type of company. If it\u0027s used for personal use or as a company. 1 = Company use, 2 = Personal use","type":"int","format":"int32","required":true,"x-nullable":false},{"name":"CompanyOwnerId","in":"formData","description":"What company owner.  1 = BokaMera (default)","type":"int","format":"int32","required":true},{"name":"OpeningHours","in":"formData","description":"","type":"string","required":true},{"name":"Details","in":"formData","description":"","type":"string","required":false},{"name":"CategoryName","in":"formData","description":"","type":"string","required":true},{"name":"LogoType","in":"formData","schema":{"$ref":"#/definitions/Uri"},"description":"","type":"uri","required":true},{"name":"Street1","in":"formData","description":"","type":"string","required":false},{"name":"Street2","in":"formData","description":"","type":"string","required":false},{"name":"ZipCode","in":"formData","description":"","type":"string","required":false},{"name":"City","in":"formData","description":"","type":"string","required":false},{"name":"CountryId","in":"formData","description":"","type":"string","required":false},{"name":"Longitude","in":"formData","description":"","type":"string","required":true},{"name":"Latitude","in":"formData","description":"","type":"string","required":false},{"name":"Phone","in":"formData","description":"","type":"string","required":false},{"name":"Email","in":"formData","description":"","type":"string","required":true},{"name":"Fax","in":"formData","description":"","type":"string","required":false},{"name":"Homepage","in":"formData","description":"","type":"string","required":false},{"name":"SitePath","in":"formData","description":"","type":"string","required":true},{"name":"CompanyUser","in":"formData","schema":{"$ref":"#/definitions/CreateCompanyCompanyUser"},"description":"","required":true},{"name":"LicenseTypeId","in":"formData","description":"Id of the license type. If none is set it\u0027s free license","type":"integer","format":"int32","required":true},{"name":"DomainName","in":"formData","description":"","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateCompany"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CompanyQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CompanyQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/administrators/":{"get":{"tags":["administrators"],"summary":"Get all administrators for a company","description":"This service is used to get all administrators for a company.","operationId":"CompanyUserQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Active","in":"query","description":"If you want to show only active or inactive administrators","type":"boolean","required":false},{"name":"IncludeResourceInformation","in":"query","description":"If you want to include the connected resource for the administrator","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeRolesInformation","in":"query","description":"If you want to include the connected roles for the administrator","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_CompanyUserQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_CompanyUserQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["administrators"],"summary":"Add a new administrator to your company","description":"If you want to add a new administrator to your company. A generated password will be sent to the user.","operationId":"CreateCompanyUser_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company and id for the customer, if blank company id and you are an admin, your company id will be used.","type":"string","required":false},{"name":"Firstname","in":"formData","type":"string","required":true},{"name":"Lastname","in":"formData","type":"string","required":true},{"name":"Phone","in":"formData","type":"string","required":true},{"name":"Email","in":"formData","type":"string","required":true},{"name":"ResourceId","in":"formData","type":"integer","format":"int32","required":false},{"name":"Roles","in":"formData","type":"array","items":{"$ref":"#/definitions/AddCompanyUserRolesResponse"},"collectionFormat":"multi","required":false},{"name":"WorkerId","in":"formData","type":"integer","format":"int32","required":false},{"name":"SendPushNotification","in":"formData","description":"If the admin should receive Push notification when booked","type":"boolean","required":false,"x-nullable":false},{"name":"SendPushNotificationReminder","in":"formData","description":"If the resource should receive Push notification reminders on bookings","type":"boolean","required":false,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateCompanyUser"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CompanyUserQueryResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/CompanyUserQueryResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/CompanyUserQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/administrators/roles":{"get":{"tags":["administrators"],"summary":"Get all administrator roles available","description":"Gets all roles available for an administrator.","operationId":"CompanyUserRolesQueryroles_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/administrators/{Id}":{"put":{"tags":["administrators"],"summary":"Update administrator on your company","description":"If you want to update a administrator to your company.","operationId":"UpdateCompanyUserId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company and id for the application user, if blank company id and you are an admin, your company id will be used.","type":"string","required":false},{"name":"Id","in":"path","description":"Enter the user id for the administrator.","type":"string","required":true,"x-nullable":false},{"name":"Firstname","in":"formData","type":"string","required":false},{"name":"Lastname","in":"formData","type":"string","required":false},{"name":"Phone","in":"formData","type":"string","required":false},{"name":"Email","in":"formData","type":"string","required":false},{"name":"ResourceId","in":"formData","type":"integer","format":"int32","required":false},{"name":"Roles","in":"formData","type":"array","items":{"$ref":"#/definitions/AddCompanyUserRolesResponse"},"collectionFormat":"multi","required":false},{"name":"WorkerId","in":"formData","type":"integer","format":"int32","required":false},{"name":"SendPushNotification","in":"formData","description":"If the admin should receive Push notification when booked","type":"boolean","required":false},{"name":"SendPushNotificationReminder","in":"formData","description":"If the resource should receive Push notification reminders on bookings","type":"boolean","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateCompanyUser"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CompanyUserQueryResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/CompanyUserQueryResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/CompanyUserQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["administrators"],"summary":"Delete a administrator from your company","description":"If you want to delete a administrator from your company.","operationId":"DeleteCompanyUserId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company and id for the application user, if blank company id and you are an admin, your company id will be used.","type":"string","required":false},{"name":"Id","in":"query","description":"Enter the user id for the administrator.","type":"string","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CompanyUserQueryResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/CompanyUserQueryResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/CompanyUserQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/countries":{"get":{"tags":["countries"],"summary":"Get all valid countries","description":"Get all valid countries.","operationId":"CountryQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"Id of the country","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_CountryQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/currencies":{"get":{"tags":["currencies"],"summary":"Get all valid currencies","description":"Get all valid currencies.","operationId":"CurrencyQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"Id of the currency","type":"string","required":false},{"name":"Active","in":"query","description":"Only active currencies","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_CurrencyQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/customerarticle/fromarticle":{"post":{"tags":["customerarticle"],"summary":"Create CustomerArticle.","description":"Create CustomerArticle.","operationId":"CreateCustomerArticleFromArticlefromarticle_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"","type":"string","required":false},{"name":"ArticleId","in":"formData","description":"Article ID for the rebate code","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Customer","in":"formData","schema":{"$ref":"#/definitions/CustomerToHandle"},"description":"Customer information","required":false},{"name":"InvoiceAddress","in":"formData","schema":{"$ref":"#/definitions/InvoiceAddressToHandle"},"description":"If you want to book with customer information instead of the Customer Id send the customer information here. Note: If customer profile already exists with the same email the information will not be changed, instead the provided information will be added as BookingsComments if it differs from the ordinairy profile. ","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateCustomerArticleFromArticle"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CustomerArticleResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CustomerArticleResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/customerarticle/{Id}":{"put":{"tags":["customerarticle"],"summary":"Update an existing CustomerArticle.","description":"Update an existing CustomerArticle.","operationId":"UpdateCustomerArticleId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"Id","in":"path","description":"The customer article id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"StatusId","in":"formData","description":"The new status of the customer article","type":"string","required":false},{"name":"Price","in":"formData","description":"Updated price","type":"number","format":"double","required":false},{"name":"VAT","in":"formData","description":"Updated VAT","type":"number","format":"double","required":false},{"name":"CurrencyId","in":"formData","description":"Updated currency","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateCustomerArticle"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CustomerArticleResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CustomerArticleResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["customerarticle"],"summary":"Delete a CustomerArticle.","description":"Delete a CustomerArticle.","operationId":"DeleteCustomerArticleId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"path","description":"The customer article id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"title":"string","type":"integer","format":"int32"}},"401":{"description":"You were unauthorized to call this service","schema":{"title":"string","type":"integer","format":"int32"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/customerarticle/statuses":{"get":{"tags":["customerarticle"],"summary":"Get all customer article statuses.","description":"Get all customer article statuses.","operationId":"CustomerArticleStatusQuerystatuses_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_CustomerArticleStatusResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_CustomerArticleStatusResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/customerarticle":{"get":{"tags":["customerarticle"],"summary":"Get customerarticle.","description":"Get customerarticle.","operationId":"CustomerArticleQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"query","description":"Id of the stand alone article","type":"integer","format":"int32","required":false},{"name":"StatusId","in":"query","description":"Filter by status","type":"string","required":false},{"name":"CustomerId","in":"query","description":"Filter by customer id","type":"string","required":false},{"name":"IncludeCustomerInformation","in":"query","description":"If you want to include the customer information","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeArticleInformation","in":"query","description":"If you want to include the article information","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCompanyInformation","in":"query","description":"If you want to include the company information","type":"boolean","required":false,"x-nullable":false},{"name":"IncludePaymentLog","in":"query","description":"If you want to include the payment log","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_CustomerArticleResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_CustomerArticleResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["customerarticle"],"summary":"Create a new CustomerArticle.","description":"Create a new CustomerArticle directly with price, status, and customer.","operationId":"CreateCustomerArticle_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ArticleId","in":"formData","description":"The article id to base this customer article on","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"CustomerId","in":"formData","description":"The customer id to assign the article to","type":"string","required":true,"x-nullable":false},{"name":"StatusId","in":"formData","description":"The status of the customer article","type":"string","required":false},{"name":"Price","in":"formData","description":"Optional price override. If not provided, uses the article price.","type":"number","format":"double","required":false},{"name":"VAT","in":"formData","description":"Optional VAT override. If not provided, uses the article VAT.","type":"number","format":"double","required":false},{"name":"CurrencyId","in":"formData","description":"Optional currency override. If not provided, uses the article currency.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateCustomerArticle"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CustomerArticleResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CustomerArticleResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/customers":{"get":{"tags":["customers"],"summary":"Find customers for currently logged in administrator","description":"This service is used to get customers for the current user, the result will be paged if the query returns a to large set of values.","operationId":"CustomerQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company and id you want to see the information for a customer, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ","type":"string","required":true},{"name":"CustomerId","in":"query","description":"Enter the customer id you want to see the information for a customer. Only admins are allowed to see all customers on their company, users can only see their own customer info.","type":"string","required":false},{"name":"UserId","in":"query","description":"Enter the user id you want to see the information for a customer. Only admins are allowed to see all customers on their company, users can only see their own customer info. User Id is the userprofile","type":"string","required":false},{"name":"Search","in":"query","description":"Will search by any customer name,phone or email that contains the searchstring provided.","type":"string","required":false},{"name":"Visible","in":"query","description":"If you want to filter on visible customers.","type":"boolean","required":false},{"name":"IncludeCustomFieldValues","in":"query","description":"If you want to include the connected custom fields","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCustomFields","in":"query","description":"If you want to include the connected custom fields","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeComments","in":"query","description":"If you want to include the comments on the customer","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeAccessKeys","in":"query","description":"If you want to include the accesskeys","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeInvoiceAddress","in":"query","description":"If you want to include invoice address","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeTags","in":"query","description":"If you want to include tags attached to the customer. Requires administrator access.","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_CustomerQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_CustomerQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["customers"],"summary":"Create a new customer","description":"Creates a new customer, if an admin user is making the request, the user will be associated with the admin user\u0027s company.","operationId":"CreateCustomer_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company and id for the customer, if blank company id and you are an admin, your company id will be used.","type":"string","required":false},{"name":"CustomFields","in":"formData","description":"If Custom Fields are added to the customer, here you will send the id and the value for each custom field to be updated","type":"array","items":{"$ref":"#/definitions/AddCustomField"},"collectionFormat":"multi","required":false},{"name":"AccessKeys","in":"formData","description":"List of Access Keys","type":"array","items":{"$ref":"#/definitions/AddUserAccessKey"},"collectionFormat":"multi","required":false},{"name":"InvoiceAddress","in":"formData","schema":{"$ref":"#/definitions/InvoiceAddressToHandle"},"description":"Customer invoice adress","required":false},{"name":"TagIds","in":"formData","description":"Ids of tags to attach to the customer at creation time. Tags must have Scope = Customer and belong to the company.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateCustomer"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UpdateCustomerResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/UpdateCustomerResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/UpdateCustomerResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/customers/{Id}":{"put":{"tags":["customers"],"summary":"Update an existing customer","description":"Updates an existing user if the current logged in user is allowed to update the specified customer. Users are only allowed to update their own info, administrators are allowed to update customer belonging to their company (if no account is created, email is added, if so the customer can only update it\u0027s own info).","operationId":"UpdateCustomerId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company and id for the customer, if blank company id and you are an admin, your company id will be used.","type":"string","required":false},{"name":"Id","in":"path","description":"customer id","type":"string","required":true,"x-nullable":false},{"name":"CustomFields","in":"formData","description":"If Custom Fields are added to the customer, here you will send the id and the value for each custom field to be updated","type":"array","items":{"$ref":"#/definitions/AddCustomField"},"collectionFormat":"multi","required":false},{"name":"AccessKeys","in":"formData","description":"List of Access Keys","type":"array","items":{"$ref":"#/definitions/AddUserAccessKey"},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateCustomer"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CustomerQueryResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/CustomerQueryResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/CustomerQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["customers"],"summary":"Delete an existing customer","description":"Delete an existing user if the current logged in user is allowed to update the specified customer. All connected information to the customer will be deleted.","operationId":"DeleteCustomerId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company and id for the customer, if blank company id and you are an admin, your company id will be used.","type":"string","required":false},{"name":"Id","in":"path","description":"customer id","type":"string","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CustomerQueryResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/CustomerQueryResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/CustomerQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/customers/{CustomerId}/comments":{"get":{"tags":["customers"],"summary":"Get the customers comments","description":"Get all connected customer comments for the company.","operationId":"CustomerCommentsQueryCustomerIdcomments_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CustomerId","in":"query","type":"string","required":true,"x-nullable":false},{"name":"CompanyId","in":"query","type":"string","required":true}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_CustomerCommentsResponse_"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/QueryResponse_CustomerCommentsResponse_"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/QueryResponse_CustomerCommentsResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["customers"],"summary":"Add a customers comments","description":"Get all connected customer comments for the company.","operationId":"CreateCustomerCommentsCustomerIdcomments_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CustomerId","in":"path","type":"string","required":true,"x-nullable":false},{"name":"Comments","in":"formData","type":"string","required":true},{"name":"ImageUrl","in":"formData","schema":{"$ref":"#/definitions/Uri"},"required":false},{"name":"CompanyId","in":"formData","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateCustomerComments"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CustomerCommentsResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/CustomerCommentsResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/CustomerCommentsResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/customers/{CustomerId}/tags":{"post":{"tags":["customers"],"summary":"Add tags to a customer","description":"Attaches one or more tags to an existing customer.","operationId":"AddTagsToCustomerCustomerIdtags_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"CustomerId","in":"path","description":"The customer id.","type":"string","required":true,"x-nullable":false},{"name":"TagIds","in":"formData","description":"The ids of the tags to attach.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddTagsToCustomer"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CustomerQueryResponse"}},"400":{"description":"Returned if a tag does not belong to this company or has the wrong scope","schema":{"$ref":"#/definitions/CustomerQueryResponse"}},"404":{"description":"Returned if the customer was not found","schema":{"$ref":"#/definitions/CustomerQueryResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/CustomerQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/customers/{CustomerId}/comments/{Id}":{"delete":{"tags":["customers"],"summary":"Delete a customers comments","description":"Get all connected customer comments for the company.","operationId":"DeleteCustomerCommentsCustomerIdcommentsId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"path","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"CustomerId","in":"path","type":"string","required":true,"x-nullable":false},{"name":"CompanyId","in":"query","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CustomerCommentsResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/CustomerCommentsResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/CustomerCommentsResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/customers/{CustomerId}/tags/{TagId}":{"delete":{"tags":["customers"],"summary":"Remove a tag from a customer","description":"Detaches a tag from an existing customer.","operationId":"RemoveTagFromCustomerCustomerIdtagsTagId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"CustomerId","in":"path","description":"The customer id.","type":"string","required":true,"x-nullable":false},{"name":"TagId","in":"path","description":"The tag id to remove.","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CustomerQueryResponse"}},"404":{"description":"Returned if the customer or tag relation was not found","schema":{"$ref":"#/definitions/CustomerQueryResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/CustomerQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/customfields":{"get":{"tags":["customfields"],"summary":"Find custom fields","description":"Find custom fields defined for the bookings that the current admin user is authorized to view.","operationId":"CustomFieldQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Ids","in":"query","description":"One or multiple id\u0027s of custom fields to find","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"CompanyId","in":"query","description":"Company id to find custom fields for","type":"string","required":false},{"name":"Table","in":"query","description":"Table to which the custom field belongs to","type":"string","required":false},{"name":"Active","in":"query","description":"Active or removed fields, empty parameter includes both","type":"boolean","required":false},{"name":"IncludeCustomFieldValues","in":"query","description":"If you want to include the custom fields values to select from when using dropdown as datatype","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeConnectedServices","in":"query","description":"If you want to include the connected services for the custom field","type":"bool","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_CustomFieldQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_CustomFieldQueryResponse_"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/QueryResponse_CustomFieldQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["customfields"],"summary":"Create a custom field","description":"Creates a new custom field, if an admin user is making the request, the user will be associated with the admin user\u0027s company.","operationId":"CreateCustomField_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"FieldId","in":"formData","description":"Field id","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"Name","in":"formData","description":"Configuration name. Example: \u0027Number of persons\u0027.","type":"string","required":true},{"name":"Description","in":"formData","description":"Custom field description. Example: \u0027For how many persons is this booking?\u0027","type":"string","required":true},{"name":"IconId","in":"formData","description":"Custom field icon id. Example: \u00271   House,2   Calendar,3   Building,4   Cart,5   Find,6   Blue flag,7   Green flag,8   Information,9   Lightning,10  Page edit,11  Pencil,12  Link,13  Star,14  User,15  Tick,16  Wrench,17  Clock\u0027","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Width","in":"formData","description":"Field width. Example: 20","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"Datatype","in":"formData","description":"Data field of custom field. Valid values are: TextBox, DropDown Example: \u0027TextBox\u0027","type":"string","required":false},{"name":"DefaultValue","in":"formData","description":"Default value of the field. Example: \u00273\u0027","type":"string","required":false},{"name":"IsMandatory","in":"formData","description":"Determines if the field is required to have a value or not. Default is false","type":"boolean","required":false,"x-nullable":false},{"name":"MandatoryErrorMessage","in":"formData","description":"Error message shown to the user if the field data is required but not entered","type":"string","required":false},{"name":"MaxLength","in":"formData","description":"Max lenght of the field. Default is 500","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"MultipleLineText","in":"formData","description":"If the field should have multiple lines. Defualt is false","type":"boolean","required":false,"x-nullable":false},{"name":"RegExId","in":"formData","description":"Regular expression used for validation of the field","type":"integer","format":"int32","required":false},{"name":"RegExErrorMessage","in":"formData","description":"Error message shown if the regular expression validation failed","type":"string","required":false},{"name":"IsPublic","in":"formData","description":"If the field is visible to the customer. Default is true","type":"boolean","required":false,"x-nullable":false},{"name":"IsHidden","in":"formData","description":"If the field should be hidden in lists. Default is false","type":"boolean","required":false,"x-nullable":false},{"name":"SortOrder","in":"formData","description":"Display order for the field. Lower values appear first. Same as Service SortOrder.","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"Values","in":"formData","description":"The values to select from if Datatype is DropDown for this custom field","type":"array","items":{"$ref":"#/definitions/CustomFieldGroupValue"},"collectionFormat":"multi","required":false},{"name":"Services","in":"formData","description":"The services that is connected to the custom field. If null it will be connected to all services.","type":"array","items":{"$ref":"#/definitions/CustomFieldServices"},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateCustomField"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CustomFieldQueryResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/CustomFieldQueryResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/CustomFieldQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/customfields/slots":{"get":{"tags":["customfields"],"summary":"Find all slots to store custom fields data in","description":"Get all available slots that are available to store data in","operationId":"CustomFieldSlotsQueryslots_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Company id to find custom fields for","type":"string","required":false},{"name":"Table","in":"query","description":"Table to which the field belongs","type":"string","required":true},{"name":"FreeSlots","in":"query","description":"If you want to receive only free slots (not occupied).","type":"boolean","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CustomFieldSlotsQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CustomFieldSlotsQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/CustomFieldSlotsQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/customfields/validations":{"get":{"tags":["customfields"],"summary":"Find all regex validations that could be used","description":"Get all available validations that could be used for the custom fields","operationId":"CustomFieldValidationsQueryvalidations_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CustomFieldValidationsQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CustomFieldValidationsQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/CustomFieldValidationsQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/customfields/{Id}":{"put":{"tags":["customfields"],"summary":"Update a custom field","description":"Creates a new custom field, if an admin user is making the request, the user will be associated with the admin user\u0027s company.","operationId":"UpdateCustomFieldId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"Id","in":"path","description":"Custom field id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"GroupId","in":"formData","description":"Group id","type":"integer","format":"int32","required":false},{"name":"FieldId","in":"formData","description":"Field id","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"Name","in":"formData","description":"Configuration name. Example: \u0027Number of persons\u0027.","type":"string","required":true},{"name":"Description","in":"formData","description":"Custom field description. Example: \u0027For how many persons is this booking?\u0027","type":"string","required":true},{"name":"IconId","in":"formData","description":"Custom field icon id. Example: \u00271   House,2   Calendar,3   Building,4   Cart,5   Find,6   Blue flag,7   Green flag,8   Information,9   Lightning,10  Page edit,11  Pencil,12  Link,13  Star,14  User,15  Tick,16  Wrench,17  Clock\u0027","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Width","in":"formData","description":"Field width. Example: 20","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"Datatype","in":"formData","description":"Data field of custom field. Valid values are: TextBox, DropDown Example: \u0027TextBox\u0027","type":"string","required":false},{"name":"DefaultValue","in":"formData","description":"Default value of the field. Example: \u00273\u0027","type":"string","required":false},{"name":"IsMandatory","in":"formData","description":"Determines if the field is required to have a value or not. Default is false","type":"boolean","required":false},{"name":"MandatoryErrorMessage","in":"formData","description":"Error message shown to the user if the field data is required but not entered","type":"string","required":false},{"name":"MaxLength","in":"formData","description":"Max lenght of the field. Default is 500","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"MultipleLineText","in":"formData","description":"If the field should have multiple lines. Defualt is false","type":"boolean","required":false},{"name":"RegExId","in":"formData","description":"Regular expression used for validation of the field","type":"integer","format":"int32","required":false},{"name":"RegExErrorMessage","in":"formData","description":"Error message shown if the regular expression validation failed","type":"string","required":false},{"name":"IsPublic","in":"formData","description":"If the field is visible to the customer. Default is true","type":"boolean","required":false},{"name":"IsHidden","in":"formData","description":"If the field should be hidden in lists. Default is false","type":"boolean","required":false},{"name":"SortOrder","in":"formData","description":"Display order for the field. Lower values appear first. Same as Service SortOrder.","type":"integer","format":"int32","required":false},{"name":"Values","in":"formData","description":"The values to select from if Datatype is DropDown for this custom field","type":"array","items":{"$ref":"#/definitions/CustomFieldGroupValue"},"collectionFormat":"multi","required":false},{"name":"Services","in":"formData","description":"The services that is connected to the custom field. If null it will be connected to all services.","type":"array","items":{"$ref":"#/definitions/CustomFieldServices"},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateCustomField"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CustomFieldQueryResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/CustomFieldQueryResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/CustomFieldQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["customfields"],"summary":"Delete a custom field","description":"Delete a custom field for the currently logged in user, only administrators are allowed to delete custom fields.","operationId":"DeleteCustomFieldId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the custom field to delete","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CustomFieldQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/callback":{"get":{"tags":["eaccounting"],"summary":"","description":"","operationId":"EAccountingStoreTokenCallbackcallback_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Code","in":"query","type":"string"},{"name":"state","in":"query","type":"string"},{"name":"CompanyId","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/token":{"get":{"tags":["eaccounting"],"summary":"","description":"","operationId":"EaccountingUserTokentoken_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EaccountingToken"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/check":{"get":{"tags":["eaccounting"],"summary":"","description":"","operationId":"EAccountingCheckAuthenticationcheck_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EaccountingToken"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/articles":{"get":{"tags":["eaccounting"],"summary":"","description":"","operationId":"EAccountingArticleQueryarticles_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","type":"string"},{"name":"Skip","in":"query","type":"integer","format":"int32"},{"name":"Take","in":"query","type":"integer","format":"int32"},{"name":"OrderBy","in":"query","type":"string"},{"name":"OrderByDesc","in":"query","type":"string"},{"name":"Include","in":"query","type":"string"},{"name":"Fields","in":"query","type":"string"},{"name":"Meta","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_EAccountingArticleQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["eaccounting"],"summary":"Create a new article in e-accounting system","description":"\n\n**Rate Limit:** One request every 1.25 seconds per API key. Exceeding this limit returns HTTP 429 (Too Many Requests).","operationId":"CreateEAccountingArticlearticles_Post","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"ServiceId","in":"query","type":"integer","format":"int32","x-nullable":false},{"name":"CompanyId","in":"query","type":"string"},{"name":"ArticleId","in":"query","type":"string","x-nullable":false},{"name":"ArticlePrice","in":"query","type":"number","format":"double","x-nullable":false},{"name":"ArticleName","in":"query","type":"string"},{"name":"CreatedDate","in":"query","type":"string","format":"date-time","x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateEAccountingArticle"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EAccountingArticleQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/invoices":{"get":{"tags":["eaccounting"],"summary":"","description":"\n\n**Rate Limit:** One request every 1.25 seconds per API key. Exceeding this limit returns HTTP 429 (Too Many Requests).","operationId":"EaccountingInvoiceQueryinvoices_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"BookingId","in":"query","type":"integer","format":"int32"},{"name":"Paid","in":"query","type":"boolean"},{"name":"IncludeInvoiceLines","in":"query","type":"boolean","x-nullable":false},{"name":"IncludeInvoiceNotes","in":"query","type":"boolean","x-nullable":false},{"name":"IncludePaymentTermData","in":"query","type":"boolean","x-nullable":false},{"name":"IncludeInvoiceAddress","in":"query","type":"boolean","x-nullable":false},{"name":"CompanyId","in":"query","type":"string"},{"name":"Skip","in":"query","type":"integer","format":"int32"},{"name":"Take","in":"query","type":"integer","format":"int32"},{"name":"OrderBy","in":"query","type":"string"},{"name":"OrderByDesc","in":"query","type":"string"},{"name":"Include","in":"query","type":"string"},{"name":"Fields","in":"query","type":"string"},{"name":"Meta","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_InvoiceQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/invoicedrafts":{"get":{"tags":["eaccounting"],"summary":"","description":"\n\n**Rate Limit:** One request every 1.25 seconds per API key. Exceeding this limit returns HTTP 429 (Too Many Requests).","operationId":"EAccountingInvoiceDraftQueryinvoicedrafts_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"BookingId","in":"query","type":"integer","format":"int32"},{"name":"IncludeInvoiceLines","in":"query","type":"boolean","x-nullable":false},{"name":"IncludeInvoiceNotes","in":"query","type":"boolean","x-nullable":false},{"name":"CompanyId","in":"query","type":"string"},{"name":"Skip","in":"query","type":"integer","format":"int32"},{"name":"Take","in":"query","type":"integer","format":"int32"},{"name":"OrderBy","in":"query","type":"string"},{"name":"OrderByDesc","in":"query","type":"string"},{"name":"Include","in":"query","type":"string"},{"name":"Fields","in":"query","type":"string"},{"name":"Meta","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_InvoiceDraftQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/customers":{"get":{"tags":["eaccounting"],"summary":"","description":"","operationId":"EAccountingCustomerQuerycustomers_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","type":"string"},{"name":"Skip","in":"query","type":"integer","format":"int32"},{"name":"Take","in":"query","type":"integer","format":"int32"},{"name":"OrderBy","in":"query","type":"string"},{"name":"OrderByDesc","in":"query","type":"string"},{"name":"Include","in":"query","type":"string"},{"name":"Fields","in":"query","type":"string"},{"name":"Meta","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_EAccountingCustomerQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["eaccounting"],"summary":"Update E-Accounting Customer","description":"","operationId":"UpdateEaccountingCustomercustomers_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"Id","in":"formData","description":"Customer Id in e-accounting.","type":"string","required":true},{"name":"InvoiceCity","in":"formData","description":"","type":"string","required":false},{"name":"InvoicePostalCode","in":"formData","description":"Max length: 10 characters","type":"string","required":false},{"name":"Name","in":"formData","description":"Max length: 50 characters","type":"string","required":false},{"name":"TermsOfPaymentId","in":"formData","description":"","type":"string","required":false},{"name":"IsPrivatePerson","in":"formData","description":"","type":"boolean","required":false,"x-nullable":false},{"name":"IsActive","in":"formData","description":"","type":"boolean","required":false,"x-nullable":false},{"name":"Telephone","in":"formData","description":"","type":"string","required":false},{"name":"EmailAddress","in":"formData","description":"","type":"string","required":false},{"name":"MobilePhone","in":"formData","description":"","type":"string","required":false},{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateEaccountingCustomer"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EAccountingCustomerResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/EAccountingCustomerResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/invoicedraft":{"post":{"tags":["eaccounting"],"summary":"","description":"\n\n**Rate Limit:** One request every 1.25 seconds per API key. Exceeding this limit returns HTTP 429 (Too Many Requests).","operationId":"CreateInvoiceDraftinvoicedraft_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"BookingId","in":"formData","description":"The booking id, to be used to create the customer.","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"TermsOfPaymentId","in":"formData","description":"The Term of payment Id, to be used to create the invoice.","type":"string","required":true,"x-nullable":false},{"name":"Notes","in":"formData","description":"Note id\u0027s to add to this invoice","type":"array","items":{"type":"string"},"collectionFormat":"multi","required":false},{"name":"InvoiceCustomerName","in":"formData","description":"Invoice Customer name","type":"string","required":false},{"name":"RotPropertyType","in":"formData","description":"1 = Apartment, 2 = Property Leave blank or set to null if you do not intend to use ROT or Green Technology functionality.","type":"string","required":true},{"name":"RotReducedInvoicingType","in":"formData","description":"0 = Normal, 1 = Rot, 2 = Rut = [\u00270\u0027, \u00271\u0027, \u00272\u0027]","type":"string","required":true},{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateInvoiceDraft"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CreateInvoiceDraftQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/invoice":{"post":{"tags":["eaccounting"],"summary":"","description":"\n\n**Rate Limit:** One request every 1.25 seconds per API key. Exceeding this limit returns HTTP 429 (Too Many Requests).","operationId":"CreateInvoiceinvoice_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"BookingId","in":"formData","description":"The booking id, to be used to create the customer.","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"TermsOfPaymentId","in":"formData","description":"The Term of payment Id, to be used to create the invoice.","type":"string","required":true,"x-nullable":false},{"name":"Notes","in":"formData","description":"Note id\u0027s to add to this invoice","type":"array","items":{"type":"string"},"collectionFormat":"multi","required":false},{"name":"InvoiceCustomerName","in":"formData","description":"Invoice Customer name","type":"string","required":false},{"name":"SendType","in":"formData","description":"Used for sending the invoice via Auto-invoice Default:None, 0 = None, 1 = AutoInvoiceElectronic, 2 = AutoInvoicePrint, 3 = AutoInvoiceB2C = [\u00270\u0027, \u00271\u0027, \u00272\u0027, \u00273\u0027].","type":"string","required":true},{"name":"RotPropertyType","in":"formData","description":"1 = Apartment, 2 = Property Leave blank or set to null if you do not intend to use ROT or Green Technology functionality.","type":"string","required":true},{"name":"RotReducedInvoicingType","in":"formData","description":"0 = Normal, 1 = Rot, 2 = Rut = [\u00270\u0027, \u00271\u0027, \u00272\u0027]","type":"string","required":true},{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateInvoice"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CreateInvoiceQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/logout":{"post":{"tags":["eaccounting"],"summary":"Removes e-accounting token from bokamera","description":"","operationId":"LogOutlogout_Post","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","type":"string"},{"name":"body","in":"body","schema":{"$ref":"#/definitions/LogOut"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/notes":{"get":{"tags":["eaccounting"],"summary":"","description":"","operationId":"EaccountingNoteQuerynotes_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NoteQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["eaccounting"],"summary":"","description":"","operationId":"CreateEaccountingNotenotes_Post","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Text","in":"query","type":"string"},{"name":"CompanyId","in":"query","type":"string"},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateEaccountingNote"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NoteQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/settings":{"get":{"tags":["eaccounting"],"summary":"","description":"","operationId":"GetEAccountingSettingsQuerysettings_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"E-Accounting settings company Id.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EAccountingSettingsQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["eaccounting"],"summary":"Create a new settings in e-accounting system; Should be uniques per company; If settings exists, they will be updated instead","description":"","operationId":"UpdateEAccountingSettingssettings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"DefaultArticle25PercentVat","in":"formData","description":"Article id for 25% VAT in e-accounting system","type":"string","required":false},{"name":"DefaultArticle12PercentVat","in":"formData","description":"Article id for 12% VAT in e-accounting system","type":"string","required":false},{"name":"DefaultArticle6PercentVat","in":"formData","description":"Article id for 6% VAT in e-accounting system","type":"string","required":false},{"name":"DefaultArticle0PercentVat","in":"formData","description":"Article id for 0% VAT in e-accounting system","type":"string","required":false},{"name":"DefaultCreateType","in":"formData","description":"Default invoice create type for invoice creation","type":"string","required":false},{"name":"EAccountingIntegrationActive","in":"formData","description":"Determines wether e-accounting intergration is active or not","type":"boolean","required":false,"x-nullable":false},{"name":"DefaultTermsOfPaymentId","in":"formData","description":"Default terms of payment value for invoice creation","type":"string","required":false},{"name":"CreditOnCancel","in":"formData","description":"True - Cancel and automatic credit the invoice, False - Will not credit the invoice","type":"boolean","required":false,"x-nullable":false},{"name":"MaxDaysBookingStatusCheck","in":"formData","description":"Max number of days back in time the background job should check booking invoice statuses. Default is 90 days if not set.","type":"integer","format":"int32","required":false},{"name":"CompanyId","in":"formData","description":"E-Accounting settings company Id.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateEAccountingSettings"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EAccountingSettingsQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/defaultarticles":{"get":{"tags":["eaccounting"],"summary":"","description":"","operationId":"GetEAccountingDefaultArticlesQuerydefaultarticles_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"E-Accounting settings company Id.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"title":"List\u003CEAccountingDefaultArticleQueryResponse\u003E","type":"array","items":{"$ref":"#/definitions/EAccountingDefaultArticleQueryResponse"}}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/termsofpayments":{"get":{"tags":["eaccounting"],"summary":"","description":"","operationId":"EAccountingTermsOfPaymentQuerytermsofpayments_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"title":"List\u003CEAccountingTermsOfPaymentQueryResponse\u003E","type":"array","items":{"$ref":"#/definitions/EAccountingTermsOfPaymentQueryResponse"}}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/termofpayments":{"get":{"tags":["eaccounting"],"summary":"","description":"","operationId":"EAccountingTermOfPaymentQuerytermofpayments_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"PaymentTermId","in":"query","description":"Payment Term Id in e-accounting.","type":"string","required":false},{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EAccountingTermsOfPaymentQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/summarizedinvoice":{"post":{"tags":["eaccounting"],"summary":"Create summarized invoices for customer bookings in a date range","description":"Creates a single invoice per customer covering all their bookings in the specified date range. Processing is async via queue.","operationId":"CreateSummarizedInvoicesummarizedinvoice_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"DateFrom","in":"formData","description":"Start date for the booking range to include.","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"DateTo","in":"formData","description":"End date for the booking range to include.","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"CustomerId","in":"formData","description":"Optional customer id. If null, creates one summarized invoice per customer with eligible bookings.","type":"string","required":false},{"name":"ServiceId","in":"formData","description":"Optional service/event id filter. Only include bookings for this service.","type":"integer","format":"int32","required":false},{"name":"BookingStatusIds","in":"formData","description":"Optional list of booking status ids to include. If empty, all statuses are included.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"TermsOfPaymentId","in":"formData","description":"The terms of payment id from EAccounting.","type":"string","required":true},{"name":"CreateType","in":"formData","description":"Invoice creation type: \u0027Draft\u0027 or \u0027Invoice\u0027. Defaults to company\u0027s EAccounting DefaultCreateType.","type":"string","required":false},{"name":"SendType","in":"formData","description":"Send type for final invoices. 0 = None, 1 = AutoInvoiceElectronic, 2 = AutoInvoicePrint, 3 = AutoInvoiceB2C.","type":"string","required":false},{"name":"CorporateIdentityNumber","in":"formData","description":"Override corporate identity number for invoice address.","type":"string","required":false},{"name":"InvoiceAddress1","in":"formData","description":"Override invoice address line 1.","type":"string","required":false},{"name":"InvoiceAddress2","in":"formData","description":"Override invoice address line 2.","type":"string","required":false},{"name":"InvoiceCity","in":"formData","description":"Override invoice city.","type":"string","required":false},{"name":"InvoicePostalCode","in":"formData","description":"Override invoice postal code.","type":"string","required":false},{"name":"InvoiceCountryCode","in":"formData","description":"Override invoice country code.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateSummarizedInvoice"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CreateSummarizedInvoiceResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CreateSummarizedInvoiceResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/summarizedinvoices":{"get":{"tags":["eaccounting"],"summary":"List summarized invoices with optional filters","description":"Query summarized invoices by company, customer, date range, and status.","operationId":"QuerySummarizedInvoicessummarizedinvoices_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"CustomerId","in":"query","description":"Filter by customer id.","type":"string","required":false},{"name":"DateFrom","in":"query","description":"Filter by date from.","type":"string","format":"date-time","required":false},{"name":"DateTo","in":"query","description":"Filter by date to.","type":"string","format":"date-time","required":false},{"name":"Status","in":"query","description":"Filter by status (0=Pending, 1=Processing, 2=Completed, 3=Failed).","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QuerySummarizedInvoicesResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/invoice/print":{"get":{"tags":["eaccounting"],"summary":"","description":"","operationId":"EaccountingInvoicePrintQueryinvoiceprint_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"InvoiceId","in":"query","type":"string"},{"name":"CompanyId","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InvoiceQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/invoicedrafts/convert":{"post":{"tags":["eaccounting"],"summary":"Converts provided invoice draft to invoice in E-Accounting system","description":"","operationId":"EAccountingInvoiceDraftConvertQueryinvoicedraftsconvert_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"SendType","in":"formData","description":"Used for sending the invoice via Auto-invoice Default:None, 0 = None, 1 = AutoInvoiceElectronic, 2 = AutoInvoicePrint, 3 = AutoInvoiceB2C = [\u00270\u0027, \u00271\u0027, \u00272\u0027, \u00273\u0027].","type":"string","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/EAccountingInvoiceDraftConvertQuery"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CreateInvoiceQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/article/mappings":{"put":{"tags":["eaccounting"],"summary":"Update price mappings only for E-Accounting;","description":"Update price mappings for E-Accounting prices","operationId":"EAccountingUpdatePricesMappingarticlemappings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"Company to show services for","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/EAccountingUpdatePricesMapping"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ServicePriceMappingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/summarizedinvoice/preview":{"get":{"tags":["eaccounting"],"summary":"Preview eligible bookings for summarized invoicing","description":"Returns the customers and booking counts that would be included in a summarized invoice run, without actually creating anything.","operationId":"PreviewSummarizedInvoicesummarizedinvoicepreview_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"DateFrom","in":"query","description":"Start date for the booking range to include.","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"DateTo","in":"query","description":"End date for the booking range to include.","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"CustomerId","in":"query","description":"Optional customer id filter.","type":"string","required":false},{"name":"ServiceId","in":"query","description":"Optional service/event id filter.","type":"integer","format":"int32","required":false},{"name":"BookingStatusIds","in":"query","description":"Optional list of booking status ids to include. If empty, all statuses are included.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"SendType","in":"query","description":"Send type for invoices. 0 = None, 1 = AutoInvoiceElectronic, 2 = AutoInvoicePrint, 3 = AutoInvoiceB2C. Used to validate customer addresses for postal delivery.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PreviewSummarizedInvoiceResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/summarizedinvoice/{Id}":{"get":{"tags":["eaccounting"],"summary":"Get a single summarized invoice by id","description":"Returns the summarized invoice details including associated booking ids.","operationId":"GetSummarizedInvoicesummarizedinvoiceId_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"The summarized invoice id.","type":"string","required":true,"x-nullable":false},{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SummarizedInvoiceDetailResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/eaccounting/invoice/{InvoiceId}/email":{"post":{"tags":["eaccounting"],"summary":"","description":"","operationId":"SendAnInvoiceByEmailinvoiceInvoiceIdemail_Post","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"InvoiceId","in":"path","type":"string","required":true},{"name":"Email","in":"query","type":"string"},{"name":"CcRecipients","in":"query","type":"string"},{"name":"Subject","in":"query","type":"string"},{"name":"Message","in":"query","type":"string"},{"name":"CompanyId","in":"query","type":"string"},{"name":"body","in":"body","schema":{"$ref":"#/definitions/SendAnInvoiceByEmail"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/errorLog/resolve":{"put":{"tags":["errorLog"],"summary":"Control error log resolve","description":"Control error log resolve","operationId":"ResolveErrorLogQueryresolve_Create","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Resolved","in":"query","type":"boolean","x-nullable":false},{"name":"ErrorLogIds","in":"query","type":"string"},{"name":"body","in":"body","schema":{"$ref":"#/definitions/ResolveErrorLogQuery"}}],"responses":{"200":{"description":"Success","schema":{"title":"List\u003CErrorLogQueryResponse\u003E","type":"array","items":{"$ref":"#/definitions/ErrorLogQueryResponse"}}},"401":{"description":"You were unauthorized to call this service","schema":{"title":"List\u003CErrorLogQueryResponse\u003E","type":"array","items":{"$ref":"#/definitions/ErrorLogQueryResponse"}}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/errors/":{"post":{"tags":["errors"],"summary":"Save error to log","description":"Save error to log","operationId":"CreateError_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ExceptionName","in":"formData","description":"","type":"string","required":true},{"name":"ExceptionMessage","in":"formData","description":"","type":"string","required":true},{"name":"ExceptionSource","in":"formData","description":"","type":"string","required":false},{"name":"InnerExceptionName","in":"formData","description":"","type":"string","required":true},{"name":"StackTrace","in":"formData","description":"","type":"string","required":true},{"name":"URL","in":"formData","description":"","type":"string","required":true},{"name":"LoggedInUser","in":"formData","description":"","type":"string","required":false},{"name":"IPAddress","in":"formData","description":"","type":"string","required":false},{"name":"Request","in":"formData","description":"","type":"string","required":false},{"name":"Session","in":"formData","description":"","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateError"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ErrorQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/gdpr/customers/inactive":{"get":{"tags":["gdpr"],"summary":"Get all customers that have been inactive due to the filtering.","description":"Get all customers that have been inactive due to the filtering you add in the request.","operationId":"GDPRInactiveCustomerQuerycustomersinactive_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"InactiveSince","in":"query","description":"Inactive customers since the date. Inactive means they haven\u0027t done any bookings since that date.","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"IncludeCustomerInformation","in":"query","description":"If you want to include the full customer information in the response","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InactiveCustomerResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/InactiveCustomerResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["gdpr"],"summary":"Delete customers from your custom list.","description":"No bookings will be deleted, only changed to NoCustomSelected for the bookings that are connected to the customers to be deleted.","operationId":"DeleteInactiveCustomerscustomersinactive_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"InactiveSince","in":"query","description":"Inactive customers since the date. Inactive means they haven\u0027t done any bookings since that date.","type":"string","format":"date-time","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/gdpr/customers/{CustomerId}":{"get":{"tags":["gdpr"],"summary":"Get all customer information stored on the customer","description":"Get all information stored on the customer","operationId":"GDPRCustomerQuerycustomersCustomerId_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ","type":"string","required":true},{"name":"CustomerId","in":"path","description":"Id of the customer","type":"string","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GDPRCustomerQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/geodata/{CountryId}/cities/":{"get":{"tags":["geodata"],"summary":"Get all cities for a specific country","description":"Get all information stored on the customer","operationId":"GeoDataCitiesQueryCountryIdcities_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CountryId","in":"path","description":"Enter the country id you want to search cities. Example SE for Sweden.","type":"string","required":true}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_GeoDataCitiesQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/messages/log":{"get":{"tags":["messages"],"summary":"Search the message log for any messages","description":"Search the message log for any messages.","operationId":"MessageLogQuerylog_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"path","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":true},{"name":"Sent","in":"query","description":"If you want to search on sent messages","type":"boolean","required":false},{"name":"Id","in":"query","description":"Message Id","type":"int","format":"int32","required":false},{"name":"BookingId","in":"query","description":"If you want to search on a messages for a specific booking","type":"int","format":"int32","required":false},{"name":"Receiver","in":"query","description":"If you want to search on a messages for a specific receiver","type":"string","required":false},{"name":"Created","in":"query","description":"If you want to search on a messages created a specific date","type":"datetime","format":"date-time","required":false},{"name":"SentDate","in":"query","description":"If you want to search on a messages sent a specific date","type":"datetime","format":"date-time","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_MessageLogQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_MessageLogQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/messages/fieldtranslations":{"get":{"tags":["messages"],"summary":"Get field translations that could be used in messages","description":"Get field translations that could be used in messages.","operationId":"FieldTranslationsQueryfieldtranslations_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"The field translation id.","type":"integer","format":"int32","required":false},{"name":"Group","in":"query","description":"The field translation group","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_FieldTranslationResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_FieldTranslationResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/messages/templates":{"get":{"tags":["messages"],"summary":"Get company message templates","description":"Get all company message templates.","operationId":"MessageTemplatesQuerytemplates_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"query","description":"The message template id.","type":"integer","format":"int32","required":false},{"name":"TypeId","in":"query","description":"The message type id. See GET /messages/templates/types ","type":"integer","format":"int32","required":false},{"name":"MessageTypeSendMethodId","in":"query","description":"The message send method id.1 = Email and 2 = SMS. See GET /messages/templates/types ","type":"integer","format":"int32","required":false},{"name":"Default","in":"query","description":"If you only want to retrieve active message templates (not inactive).","type":"boolean","required":false},{"name":"IncludeMessageTypeInformation","in":"query","description":"If you want to include the message type information","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeConnectedServices","in":"query","description":"If you want to include the services that are conencted to this template","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_MessageTemplatesQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_MessageTemplatesQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["messages"],"summary":"Create a new company message templates","description":"Create a new company message templates.","operationId":"CreateMessageTemplatetemplates_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"TypeId","in":"formData","description":"The message type id. See GET /messages/templates/types ","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Name","in":"formData","description":"The message template name.","type":"string","required":true},{"name":"Title","in":"formData","description":"The message template title.","type":"string","required":true},{"name":"Body","in":"formData","description":"The message template title.","type":"string","required":true},{"name":"Sender","in":"formData","description":"The message template sender (an email for message types with sendmethod 1, for SMS this cannot be set).","type":"string","required":false},{"name":"Language","in":"formData","description":"Template Language sv / en","type":"string","required":false},{"name":"Services","in":"formData","description":"The services that is connected to the template. If null it will be connected to all services.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateMessageTemplate"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/MessageTemplatesQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/MessageTemplatesQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/google/meet/auth/{ResourceId}":{"get":{"tags":["google"],"summary":"Get Google OAuth2 consent URL for a resource","description":"Returns the URL to redirect the admin to for authenticating a Google account for Google Meet on the specified resource.","operationId":"GetGoogleMeetAuthUrlmeetauthResourceId_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ResourceId","in":"path","description":"The resource id to connect the Google account to. Use 0 for a company-wide default.","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GoogleMeetAuthUrlResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["google"],"summary":"Disconnect Google Meet for a resource","description":"Removes the stored Google OAuth tokens for the specified resource, disconnecting the Google account.","operationId":"DisconnectGoogleMeetmeetauthResourceId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ResourceId","in":"path","description":"The resource id to disconnect. Use 0 for company-wide default.","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GoogleMeetStatusResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/google/meet/status/{ResourceId}":{"get":{"tags":["google"],"summary":"Get Google Meet connection status for a resource","description":"Returns whether the resource has a connected Google account for Google Meet and its details.","operationId":"GetGoogleMeetStatusmeetstatusResourceId_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ResourceId","in":"path","description":"The resource id to check status for. Use 0 for company-wide default.","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GoogleMeetStatusResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/homepage/images":{"get":{"tags":["homepage"],"summary":"Find homepage images for a company","description":"Find homepage images for a company","operationId":"HomepageImagesQueryimages_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company you want to see news for, if blank and you are an admin, your company id will be used","type":"string","required":false},{"name":"Id","in":"query","description":"The image id.","type":"integer","format":"int32","required":false},{"name":"SitePath","in":"query","description":"The homepage sitepath.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_HomepageImageQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["homepage"],"summary":"Add a new homepage image","description":"Add a new homepage image to the company of the currently logged in user, only administrators are allowed to add support cases.","operationId":"CreateHomepageImageimages_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"Title","in":"formData","description":"The image title.","type":"string","required":false},{"name":"Description","in":"formData","description":"The image description.","type":"string","required":false},{"name":"ImageUrl","in":"formData","schema":{"$ref":"#/definitions/Uri"},"description":"The image url.","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateHomepageImage"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/HomepageImageQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/HomepageImageQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/HomepageImageQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/homepage/menu":{"get":{"tags":["homepage"],"summary":"Find news items for a company","description":"Find news items for a company","operationId":"HomepageMenuQuerymenu_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company you want to see news for, if blank and you are an admin, your company id will be used","type":"string","required":false},{"name":"SitePath","in":"query","description":"The homepage sitepath.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_HomepageMenuQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["homepage"],"summary":"Update the homepage menu","description":"Update the homepage menu on the company of the currently logged in user, only administrators are allowed to update homepage menu.","operationId":"UpdateHomepageMenumenu_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"HomeText","in":"formData","description":"The text for home menu item","type":"string","required":false},{"name":"HomeHidden","in":"formData","description":"If the home menu item should be hidden","type":"boolean","required":false},{"name":"ServicesText","in":"formData","description":"The text for services menu item","type":"string","required":false},{"name":"ServicesHidden","in":"formData","description":"If the services menu item should be hidden","type":"boolean","required":false},{"name":"BookTimeText","in":"formData","description":"The text for book time menu item","type":"string","required":false},{"name":"BookTimeHidden","in":"formData","description":"If the book time menu item should be hidden","type":"boolean","required":false},{"name":"AboutUsText","in":"formData","description":"The text for about us menu item","type":"string","required":false},{"name":"AboutUsHidden","in":"formData","description":"If the about us menu item should be hidden","type":"boolean","required":false},{"name":"ContactUsText","in":"formData","description":"The text for contact us menu item","type":"string","required":false},{"name":"ContactUsHidden","in":"formData","description":"If the contact us menu item should be hidden","type":"boolean","required":false},{"name":"MyBookingsText","in":"formData","description":"The text for my bookings menu item","type":"string","required":false},{"name":"MyBookingsHidden","in":"formData","description":"If the my bookings menu item should be hidden","type":"boolean","required":false},{"name":"CalendarText","in":"formData","description":"The text for calendar menu item","type":"string","required":false},{"name":"CalendarHidden","in":"formData","description":"If the calendar menu item should be hidden","type":"boolean","required":false},{"name":"NewsText","in":"formData","description":"The text for news menu item","type":"string","required":false},{"name":"NewsHidden","in":"formData","description":"If the news menu item should be hidden","type":"boolean","required":false},{"name":"AddressText","in":"formData","description":"The text for address menu item","type":"string","required":false},{"name":"AddressHidden","in":"formData","description":"If the address menu item should be hidden","type":"boolean","required":false},{"name":"GalleryText","in":"formData","description":"The text for gallery menu item","type":"string","required":false},{"name":"GalleryHidden","in":"formData","description":"If the gallery menu item should be hidden","type":"boolean","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateHomepageMenu"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/HomepageMenuQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/homepage/settings":{"get":{"tags":["homepage"],"summary":"Get the homepage settings for the company","description":"Get the homepage settings for the company","operationId":"HomepageSettingsQuerysettings_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"path","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":true},{"name":"IncludeHomePageTemplateOptions","in":"query","description":"If you want to include the homepage template options to select from","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeHomePageHeroSectionStyleOptions","in":"query","description":"If you want to include the homepage hero section style options to select from","type":"boolean","required":false,"x-nullable":false},{"name":"SitePath","in":"query","description":"The homepage sitepath.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/HomepageSettingsQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["homepage"],"summary":"Update the homepage settings","description":"Update the homepage settings on the company of the currently logged in user, only administrators are allowed to update homepage menu.","operationId":"UpdateHomepageSettingssettings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id","type":"string","required":false},{"name":"HomepageHeading","in":"formData","description":"The text for homepage heading","type":"string","required":false},{"name":"WelcomePageHeading","in":"formData","description":"The text for homepage startpage heading","type":"string","required":false},{"name":"WelcomePageBody","in":"formData","description":"The text for homepage startpage body","type":"string","required":false},{"name":"AboutUsPageHeading","in":"formData","description":"The text for homepage about us page heading","type":"string","required":false},{"name":"AboutUsPageBody","in":"formData","description":"The text for homepage about us page body","type":"string","required":false},{"name":"ImageUrl","in":"formData","schema":{"$ref":"#/definitions/Uri"},"description":"The start page image url","required":false},{"name":"HomePageTemplateId","in":"formData","description":"The template for the homepage","type":"integer","format":"int32","required":false},{"name":"ShowRating","in":"formData","description":"Show rating on the page","type":"boolean","required":false},{"name":"EnableHomepage","in":"formData","description":"Enable the BokaMera Homepage","type":"boolean","required":false},{"name":"HeroSectionStyleId","in":"formData","description":"The hero section style for the homepage","type":"integer","format":"int32","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateHomepageSettings"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/HomepageSettingsQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/homepage/images/{Id}":{"put":{"tags":["homepage"],"summary":"Update a homepage image","description":"Update a homepage image to the company of the currently logged in user, only administrators are allowed to add support cases.","operationId":"UpdateHomepageImageimagesId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"Id","in":"path","description":"The homepage image id.","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Title","in":"formData","description":"The image title.","type":"string","required":false},{"name":"Description","in":"formData","description":"The image description.","type":"string","required":false},{"name":"ImageUrl","in":"formData","schema":{"$ref":"#/definitions/Uri"},"description":"The image url.","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateHomepageImage"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/HomepageImageQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/HomepageImageQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/HomepageImageQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["homepage"],"summary":"Delete a homepage image","description":"Delete a homepage image to the company of the currently logged in user, only administrators are allowed to add support cases.","operationId":"DeleteHomePageImageimagesId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"Id","in":"path","description":"The homepage image id.","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/HomepageImageQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/HomepageImageQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/HomepageImageQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/homepage/widget/settings":{"get":{"tags":["homepage"],"summary":"Get homepage widget settings","description":"Get homepage widget settings on the company of the currently logged in user, only administrators are allowed to update homepage menu.","operationId":"HomepageWidgetSettingsQuerywidgetsettings_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"SitePath","in":"query","description":"The homepage sitepath.","type":"string","required":false},{"name":"IncludeServiceLayoutOptions","in":"query","description":"If you want to include what service layout options to select from","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeTimeLayoutOptions","in":"query","description":"If you want to include what time layout options to select from","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeBookingLayoutOptions","in":"query","description":"If you want to include what booking layout options to select from","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeBookingMethodOptions","in":"query","description":"If you want to include what booking method options to select from","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/HomepageWidgetSettingsQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["homepage"],"summary":"Update homepage widget settings","description":"Update homepage widget settings on the company of the currently logged in user, only administrators are allowed to update homepage menu.","operationId":"UpdateHomepageWidgetSettingswidgetsettings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ServiceLayoutId","in":"formData","description":"Serivce Layout.","type":"integer","format":"int32","required":false},{"name":"TimeLayoutId","in":"formData","description":"Time Layout.","type":"integer","format":"int32","required":false},{"name":"BookingLayoutId","in":"formData","description":"Booking Layout.","type":"integer","format":"int32","required":false},{"name":"PrimaryColor","in":"formData","description":"The primary color of the booking widget.","type":"string","required":false},{"name":"DarkTheme","in":"formData","description":"If the site should have dark theme or not.","type":"boolean","required":false},{"name":"ShowServiceImage","in":"formData","description":"If you should show the service image in the booking widget.","type":"boolean","required":false},{"name":"ShowRebateCodeField","in":"formData","description":"If you should show the rebate code field in the booking widget.","type":"boolean","required":false},{"name":"ShowNextAvailableTime","in":"formData","description":"If you should show the next available time in the booking widget.","type":"boolean","required":false},{"name":"ShowEndTime","in":"formData","description":"If you should show the end time in the booking widget.","type":"boolean","required":false},{"name":"ShowSubscribeToNewsletter","in":"formData","description":"Show subscribe to newsletter checkbox on the page","type":"boolean","required":false},{"name":"BookedTimeSlotText","in":"formData","description":"What text to show on booked time slots. Default text is Booked","type":"string","required":false},{"name":"EnableCreateAccount","in":"formData","description":"If you should show the create account option.","type":"boolean","required":false},{"name":"EnableLogin","in":"formData","description":"If you should show the login to account option.","type":"boolean","required":false},{"name":"EnableFacebookLogin","in":"formData","description":"If you should show the facebook login to account option.","type":"boolean","required":false},{"name":"EnableDirectBooking","in":"formData","description":"If you should show the direct booking option. This enables customer to book with entering contact information.","type":"boolean","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateHomepageWidgetSettings"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/HomepageWidgetSettingsQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/images":{"get":{"tags":["images"],"operationId":"GetImageRequest_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","type":"string","x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["images"],"operationId":"UploadImagesRequest_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"FolderType","in":"query","description":"1 - LogoType ,2 - Homepage, 3 - Newsletter, 4 - Resource, 5 - Service, 6 - Customer comments, 7 - Support Case Attachments","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UploadImagesRequest"}},{"name":"upload","in":"body","schema":{"type":"string","format":"binary"},"description":"Upload image file(s)","required":true}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UploadImageResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/licenses/company":{"get":{"tags":["licenses"],"summary":"Find licenses for the logged in users company","description":"Find licenses for the logged in users company.","operationId":"CompanyLicenseQuerycompany_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"OnlyActiveLicenses","in":"query","description":"If you want to include the connected license items","type":"boolean","required":false,"x-nullable":false},{"name":"CountryId","in":"query","description":"What country you want to list the prices for","type":"string","required":false},{"name":"MetaData","in":"query","description":"Search by the Meta data information on the license","type":"string","required":false},{"name":"TypeId","in":"query","description":"Id of the license type","type":"integer","format":"int32","required":false},{"name":"IsExtraLicenseOption","in":"query","description":"If you want to only select Extra license options","type":"boolean","required":false},{"name":"IncludeLicenseItems","in":"query","description":"If you want to include the connected license items","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeLicensePrices","in":"query","description":"If you want to include the connected licens prices","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeVossSubscription","in":"query","description":"If you want to include information from voss","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_CompanyLicenseQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_CompanyLicenseQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["licenses"],"summary":"Add new license to a company","description":"Add a new license to the company for the logged in user.","operationId":"CreateLicensecompany_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"TypeId","in":"formData","description":"Id of the license type","type":"integer","format":"int32","required":true},{"name":"MetaData","in":"formData","description":"Any metadata connected to the license. In example for domain license set the requested domain name here.","type":"string","required":true},{"name":"BillingInformation","in":"formData","schema":{"$ref":"#/definitions/BillingInformationResponse"},"description":"If you want to update your company billing information. Note, if no billing information is added before, you need to set this.","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateLicense"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CompanyLicenseQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CompanyLicenseQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/licenses/checkdomain/":{"get":{"tags":["licenses"],"summary":"Check if a domain is available or not","description":"This service is used to check if a domain name is available for purchase.","operationId":"LicenseCheckDomaincheckdomain_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"DomainName","in":"query","description":"The domain name you want to check","type":"string","required":true}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/licenses/information/":{"get":{"tags":["licenses"],"summary":"Get whats included in each license","description":"This service is used to get to summare of information about whats included in each license.","operationId":"LicenseInformationQueryinformation_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"IncludeLicensePrices","in":"query","description":"If you want to include the connected license prices","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_LicenseTypeQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_LicenseTypeQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/licenses/types/":{"get":{"tags":["licenses"],"summary":"Get all license types","description":"This service is used to get get all license types that exists.","operationId":"LicenseTypeQuerytypes_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"ExtraLicenseOption","in":"query","description":"If you want to only select Extra license options","type":"boolean","required":false},{"name":"CountryId","in":"query","description":"What country you want to list the prices for","type":"string","required":false},{"name":"IncludeLicenseItems","in":"query","description":"If you want to include the connected license items","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeLicensePrices","in":"query","description":"If you want to include the connected license prices","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_LicenseInformationQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_LicenseInformationQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/licenses/plans/":{"get":{"tags":["licenses"],"summary":"Get all license plans","description":"This service is used to get get all license plans that exists.","operationId":"LicensePlanQueryplans_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Active","in":"query","description":"Search active plan.","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_LicensePlanQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_LicensePlanQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/licenses/informationtypes/":{"get":{"tags":["licenses"],"summary":"Get all license information types","description":"This service is used to get get all license information types that exists.","operationId":"LicenseInformationTypeQueryinformationtypes_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"ResponseStatus","in":"query","type":"string"},{"name":"Skip","in":"query","type":"integer","format":"int32"},{"name":"Take","in":"query","type":"integer","format":"int32"},{"name":"OrderBy","in":"query","type":"string"},{"name":"OrderByDesc","in":"query","type":"string"},{"name":"Include","in":"query","type":"string"},{"name":"Fields","in":"query","type":"string"},{"name":"Meta","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_LicenseInformationTypeQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_LicenseInformationTypeQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/companyOwners":{"get":{"tags":["companyOwners"],"summary":"Get all company owners","description":".","operationId":"CompanyOwnerQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Skip","in":"query","type":"integer","format":"int32"},{"name":"Take","in":"query","type":"integer","format":"int32"},{"name":"OrderBy","in":"query","type":"string"},{"name":"OrderByDesc","in":"query","type":"string"},{"name":"Include","in":"query","type":"string"},{"name":"Fields","in":"query","type":"string"},{"name":"Meta","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_CompanyOwnerResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_CompanyOwnerResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/subscriptions":{"get":{"tags":["voss"],"summary":"GET voss subscription","description":"","operationId":"GetVossSubscriptionssubscriptions_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id; If not passed all subscriptions wll be returned","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["voss"],"summary":"PUT voss subscription","description":"","operationId":"UpdateVossSubscriptionssubscriptions_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id. Subscription will be fetched of this company","type":"string","required":false,"x-nullable":false},{"name":"DiscountAgreements","in":"formData","description":"Discount agreement data","type":"array","items":{"$ref":"#/definitions/SubscriptionDiscountAgreementRequestDto"},"collectionFormat":"multi","required":false},{"name":"DiscountAgreementsChangeType","in":"formData","description":"    Discount agreements change type controls how already occured transactions are treated \u0026lt;br /\u0026gt;Retrospective - all future and past not invoiced transactions will be recalculated with new discount agreements  \u0026lt;br /\u0026gt;Prospective - discounts will apply only for future transactions\n","type":"string","required":false,"enum":["Prospective","Retrospective"],"x-nullable":false},{"name":"CompanyOwnerId","in":"formData","description":"The company id. Subscription will be fetched of this company","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateVossSubscriptions"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/discountAgreements":{"get":{"tags":["voss"],"summary":"GET Discount agreements","description":"","operationId":"GetVossDiscountAgreementsdiscountAgreements_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"DiscountAgreementStatus","in":"query","description":"Discount agreement data","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["voss"],"summary":"PUT Discount agreements","description":"","operationId":"UpdateVossDiscountAgreementsdiscountAgreements_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"DiscountAgreementId","in":"formData","description":"Discount agreement data","type":"string","required":true,"x-nullable":false},{"name":"DiscountPeriod","in":"formData","schema":{"$ref":"#/definitions/UpdateDiscountPeriodRequestDto"},"description":"Discount agreement period data. Iteration count must be added","required":true},{"name":"DiscountAgreementStatus","in":"formData","description":"Discount agreement status. Published is default.","type":"string","required":true,"enum":["Draft","Staged","Published","Archived","Discarded"],"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateVossDiscountAgreements"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["voss"],"summary":"Create discount agreement","description":"Create discount agreement in VOSS System.","operationId":"CreateVossDiscountAgreementdiscountAgreements_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"Name","in":"formData","description":"Discount agreement name","type":"string","required":true},{"name":"ChargePlanDiscounts","in":"formData","description":"Discount agreement name","type":"array","items":{"$ref":"#/definitions/CreateChargePlanDiscountRequestDto"},"collectionFormat":"multi","required":true},{"name":"ValidFrom","in":"formData","description":"Discount agreement name","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"ValidTo","in":"formData","description":"Discount agreement name","type":"string","format":"date-time","required":false},{"name":"DiscountPeriod","in":"formData","schema":{"$ref":"#/definitions/CreateDiscountPeriodRequestDto"},"description":"Discount agreement name","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateVossDiscountAgreement"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/DiscountAgreementResult"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/DiscountAgreementResult"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/usage":{"get":{"tags":["voss"],"summary":"get voss usage","description":"","operationId":"GetVossCustomerUsagesusage_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["voss"],"summary":"Add product to company invoicing","description":"Add new product to company invoicing. Sends that product to VOSS System.","operationId":"CreateVossUsageusage_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id","type":"string","required":true,"x-nullable":false},{"name":"ArticleNumber","in":"formData","description":"Article number. Can be fetched from products","type":"string","required":true},{"name":"Quantity","in":"formData","description":"Example: developer worked 6 hours","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateVossUsage"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CreateSubscriptionProductGroupResult"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CreateSubscriptionProductGroupResult"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/asyncOperations":{"get":{"tags":["voss"],"summary":"Get voss async operations","description":"","operationId":"VossAsyncOperationsasyncOperations_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"SearchText","in":"query","description":"Available values : CreateInvoice","type":"string","required":false},{"name":"Status","in":"query","description":"Available values : Pending, Started, Completed, Failed, Cancelled","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/create":{"post":{"tags":["voss"],"summary":"init voss data","description":"","operationId":"CreateVossDatacreate_Post","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateVossData"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/delete":{"delete":{"tags":["voss"],"summary":"delete voss data","description":"","operationId":"DeleteVossDatadelete_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/products":{"get":{"tags":["voss"],"summary":"gets voss products","description":"","operationId":"GetVossProductsproducts_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"ProductType","in":"query","description":"The type of the product  - Main \u0026#x3D; The product is treated as the main product of the product group (Only 1 allowed per product family in the package tier), billed in subscription billing period  - Addon \u0026#x3D; The product is treated as the addon product of the product group (Multiple allowed per product family in the package tier when Main product is also present),  billed in subscription billing period  - License \u0026#x3D; The product is treated as the license product in the product group (Multiple allowed per product family in the package tier when Main product is also present),  billed in subscription billing period and product quantity is carried over to the next billing period,  requires to have individual pricing in a product group pricing  - Usage \u0026#x3D; The product is treated as the usage product of the product group,  billed in usage billing period, the product quantity is reset every usage billing period,  requires to have individual pricing in a product group pricing\n","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"title":"List\u003CProductResponse\u003E","type":"array","items":{"$ref":"#/definitions/ProductResponse"}}},"401":{"description":"You were unauthorized to call this service","schema":{"title":"List\u003CProductResponse\u003E","type":"array","items":{"$ref":"#/definitions/ProductResponse"}}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/plans":{"get":{"tags":["voss"],"summary":"gets voss products","description":"","operationId":"GetVossPlansplans_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"title":"List\u003CVossPlanResponse\u003E","type":"array","items":{"$ref":"#/definitions/VossPlanResponse"}}},"401":{"description":"You were unauthorized to call this service","schema":{"title":"List\u003CVossPlanResponse\u003E","type":"array","items":{"$ref":"#/definitions/VossPlanResponse"}}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/tiers":{"get":{"tags":["voss"],"summary":"gets voss tiers","description":"","operationId":"GetVossTierstiers_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"PackageId","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"title":"List\u003CTierResult\u003E","type":"array","items":{"$ref":"#/definitions/TierResult"}}},"401":{"description":"You were unauthorized to call this service","schema":{"title":"List\u003CTierResult\u003E","type":"array","items":{"$ref":"#/definitions/TierResult"}}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/productGroups":{"get":{"tags":["voss"],"summary":"gets voss product groups","description":"","operationId":"GetVossProductGroupsproductGroups_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"PackageId","in":"query","description":"Passed if we have multilpe packages","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"title":"List\u003CProductGroupResult\u003E","type":"array","items":{"$ref":"#/definitions/ProductGroupResult"}}},"401":{"description":"You were unauthorized to call this service","schema":{"title":"List\u003CProductGroupResult\u003E","type":"array","items":{"$ref":"#/definitions/ProductGroupResult"}}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/invoice":{"get":{"tags":["voss"],"summary":"get voss invoice","description":"","operationId":"GetVossInvoiceinvoice_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"InvoiceId","in":"query","description":"InvoiceId","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["voss"],"summary":"init voss invoice","description":"","operationId":"CreateVossInvoiceinvoice_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyIds","in":"formData","description":"Company ids to create invoice. If none added invoice for all will be created","type":"array","items":{"type":"string","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"InvoiceDate","in":"formData","description":"Controls up to which point of time transactions are included in invoice, can be set to any date, if not provided current UTC time will be used instead","type":"string","format":"date-time","required":false},{"name":"ScheduledStartTime","in":"formData","description":"If present the operation will start only after this date","type":"string","format":"date-time","required":false},{"name":"RecurringSchedule","in":"formData","description":"Optional CRON expression for recurring operations.","type":"string","required":false},{"name":"OnlyUsage","in":"formData","description":"Only usage.","type":"boolean","required":false,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateVossInvoice"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/presetBehaviour":{"get":{"tags":["voss"],"summary":"get preset behaviours from voss","description":"","operationId":"GetPresetBehaviourpresetBehaviour_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["voss"],"summary":"create preset behaviour in voss","description":"","operationId":"CreatePresetBehaviourpresetBehaviour_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"ChangeType","in":"formData","description":"Company ids to create invoice. If none added invoice for all will be created","type":"string","required":false,"enum":["Subscription","ProductGroup","License"],"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreatePresetBehaviour"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["voss"],"summary":"Deletes preset behaviours from voss","description":"","operationId":"DeletePresetBehaviourpresetBehaviour_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"PresetBehaviourId","in":"query","description":"Preset behaviour id to delete","type":"string","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/tenantConfigurations":{"get":{"tags":["voss"],"summary":"get voss tenantConfigurations","description":"","operationId":"GetVossTenantConfigurationstenantConfigurations_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["voss"],"summary":"get voss tenantConfigurations","description":"","operationId":"UpdateVossTenantConfigurationstenantConfigurations_Create","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateVossTenantConfigurations"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/chargePlan":{"get":{"tags":["voss"],"summary":"get voss chargePlans","description":"","operationId":"GetVossChargePlanschargePlan_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/customer":{"get":{"tags":["voss"],"summary":"get voss customers","description":"","operationId":"GetVossCustomercustomer_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/invoiceConfigurations":{"get":{"tags":["voss"],"summary":"init voss invoice","description":"","operationId":"UpdateVossInvoiceConfigurationsinvoiceConfigurations_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"IntermediaryPlacement","in":"query","type":"string","enum":["None","IncludeIn21StColumn","IncludeIn7ThColumn"],"x-nullable":false},{"name":"AccrualCodeFormat","in":"query","type":"string","enum":["Default","Dutch"],"x-nullable":false},{"name":"DateFormat","in":"query","type":"string"},{"name":"Delimiter","in":"query","type":"string"},{"name":"DecimalSeparator","in":"query","type":"string"},{"name":"OrderCreatorCode","in":"query","type":"string"},{"name":"SalesPersonId","in":"query","type":"string"},{"name":"SalesDepartmentId","in":"query","type":"string"},{"name":"IncludeBillingPeriodDates","in":"query","type":"boolean","x-nullable":false},{"name":"TrackInvoicePayments","in":"query","type":"boolean","x-nullable":false},{"name":"IncludeInvoicedCustomerDetails","in":"query","type":"boolean","x-nullable":false},{"name":"BillingPeriodTextFormat","in":"query","type":"string"},{"name":"CustomerFooterText","in":"query","type":"string"},{"name":"AddEmptyLineBeforeCustomerFooter","in":"query","type":"boolean","x-nullable":false},{"name":"IncludeOnlyDefaultSalesPersonAndDepartment","in":"query","type":"boolean","x-nullable":false},{"name":"IncludeSubscriptionCustomerDetailsIfPayedByAnotherCustomer","in":"query","type":"boolean","x-nullable":false},{"name":"TransactionGroup","in":"query","type":"string"},{"name":"InvoiceArbitraryNumber","in":"query","type":"string"},{"name":"DeliveryMethod","in":"query","type":"string"},{"name":"DeliveryConditions","in":"query","type":"string"},{"name":"OrderType","in":"query","type":"string"},{"name":"InvoiceStatus","in":"query","type":"string"},{"name":"UseProductGroupRevenueRecognition","in":"query","type":"boolean","x-nullable":false},{"name":"ProductGroupLineExcludePrint","in":"query","type":"string"},{"name":"ProductGroupLineEditPreferences","in":"query","type":"string"},{"name":"ProductLineExcludePrint","in":"query","type":"string"},{"name":"UseDiscountedPrices","in":"query","type":"boolean","x-nullable":false},{"name":"TerminateUnpaidSubscriptions","in":"query","type":"boolean","x-nullable":false},{"name":"AllowedUnpaidAmountLimit","in":"query","type":"number","format":"double","x-nullable":false},{"name":"AllowedPaymentOverdue","in":"query","type":"string"},{"name":"UnpaidSubscriptionTerminationReasonId","in":"query","type":"string"},{"name":"UnpaidSubscriptionTerminationComment","in":"query","type":"string"},{"name":"CreditInvoiceNumberReferenceTextFormat","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/discountAgreements/{DiscountAgreementId}":{"get":{"tags":["voss"],"summary":"Gets Discount agreement with provided id","description":"","operationId":"GetVossDiscountAgreementdiscountAgreementsDiscountAgreementId_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"DiscountAgreementId","in":"path","description":"Discount agreement data","type":"string","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["voss"],"summary":"Changes Discount agreement status to Archived","description":"","operationId":"DeleteVossDiscountAgreementsdiscountAgreementsDiscountAgreementId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"DiscountAgreementId","in":"path","description":"Discount agreement data","type":"string","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/sync/customers":{"put":{"tags":["voss"],"summary":"sync vos customers","description":"","operationId":"SyncCustomerssynccustomers_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/SyncCustomers"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/tiers/{TierId}":{"get":{"tags":["voss"],"summary":"gets voss tiers","description":"","operationId":"GetVossTiertiersTierId_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"TierId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TierResult"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/TierResult"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/productGroups/{ProductGroupId}":{"get":{"tags":["voss"],"summary":"gets voss product group","description":"","operationId":"GetVossProductGroupproductGroupsProductGroupId_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"PackageId","in":"query","description":"Passed if we have multilpe packages","type":"string","required":false},{"name":"ProductGroupId","in":"query","description":"Procut Group id to get","type":"string","required":true,"x-nullable":false},{"name":"TierId","in":"query","description":"Tier id required because it is used it voss url","type":"string","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProductGroupResult"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/ProductGroupResult"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/subscriptions/scheduledChanges":{"get":{"tags":["voss"],"summary":"GET voss subscription scheduledChanges","description":"","operationId":"GetVossSubscriptionsScheduledChangessubscriptionsscheduledChanges_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id; If not passed all subscriptions wll be returned","type":"string","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/invoice/file":{"get":{"tags":["voss"],"summary":"get voss invoice","description":"","operationId":"GetVossInvoiceFileinvoicefile_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"InvoiceId","in":"query","description":"InvoiceId","type":"string","required":false},{"name":"InvoiceDate","in":"query","description":"Controls up to which point of time transactions are included in invoice, can be set to any date, if not provided current UTC time will be used instead","type":"string","format":"date-time","required":false},{"name":"ScheduledStartTime","in":"query","description":"If present the operation will start only after this date","type":"string","format":"date-time","required":false},{"name":"RecurringSchedule","in":"query","description":"Optional CRON expression for recurring operations.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/invoice/balance":{"get":{"tags":["voss"],"summary":"get voss invoice","description":"","operationId":"GetVossCustomerInvoiceBalanceinvoicebalance_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"InvoiceDate","in":"query","description":"Controls up to which point of time transactions are included in invoice, can be set to any date, if not provided current UTC time will be used instead","type":"string","format":"date-time","required":false},{"name":"ScheduledStartTime","in":"query","description":"If present the operation will start only after this date","type":"string","format":"date-time","required":false},{"name":"RecurringSchedule","in":"query","description":"Optional CRON expression for recurring operations.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/customer/invoice":{"get":{"tags":["voss"],"summary":"get voss invoice","description":"","operationId":"GetVossCustomerInvoicecustomerinvoice_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/usage/{Id}/termination":{"post":{"tags":["voss"],"summary":"Create voss usage termination","description":"Add new product to company invoicing. Sends that product to VOSS System.","operationId":"CreateVossUsageTerminationusageIdtermination_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id","type":"string","required":true,"x-nullable":false},{"name":"Id","in":"formData","description":"Usage Id","type":"string","required":true},{"name":"Behaviour","in":"formData","description":"Credit behaviour:  \u0026lt;br /\u0026gt; 1. Full - usage will be credited in full  \u0026lt;br /\u0026gt; 2. None - no credit will be created","type":"string","required":true,"enum":["Full","None"],"x-nullable":false},{"name":"CreditKind","in":"formData","description":"Credit kind:  \u0026lt;br /\u0026gt; 1. Normal - default credit type  \u0026lt;br /\u0026gt; 2. Internal - corresponding credit will be marked as internal in invoice file line","type":"string","required":true,"enum":["Normal","Internal"],"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateVossUsageTermination"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CreateUsageTerminationResult"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CreateUsageTerminationResult"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/sync/customers/companyOwners":{"put":{"tags":["voss"],"summary":"sync vos customer owners (invoice recipients)","description":"","operationId":"SyncCustomersCompanyOwnerssynccustomerscompanyOwners_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/SyncCustomersCompanyOwners"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/sync/customers/discountAgreements":{"put":{"tags":["voss"],"summary":"sync vos customer discount agreements (invoice rebates)","description":"","operationId":"SyncCustomersDiscountAgreementssynccustomersdiscountAgreements_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/SyncCustomersDiscountAgreements"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/voss/subscriptions/{SubscriptionId}/discounts":{"get":{"tags":["voss"],"summary":"GET voss subscription","description":"","operationId":"GetVossSubscriptionsDiscountssubscriptionsSubscriptionIddiscounts_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"SubscriptionId","in":"path","description":"Id of subscription","type":"string","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/company/invoice/article":{"get":{"tags":["company"],"summary":"Get company invoice article","description":"Get company invoice article.","operationId":"GetCompanyInvoiceArticleinvoicearticle_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Skip","in":"query","type":"integer","format":"int32"},{"name":"Take","in":"query","type":"integer","format":"int32"},{"name":"OrderBy","in":"query","type":"string"},{"name":"OrderByDesc","in":"query","type":"string"},{"name":"Include","in":"query","type":"string"},{"name":"Fields","in":"query","type":"string"},{"name":"Meta","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_CompanyInvoiceArticleQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_CompanyInvoiceArticleQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["company"],"summary":"Update company invoice article","description":"Update company invoice article.","operationId":"UpdateCompanyInvoiceArticleinvoicearticle_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"Id","in":"formData","description":"Invoice article No in Db.","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Name","in":"formData","description":"Invoice article Name","type":"string","required":false},{"name":"LicenseTypeId","in":"formData","description":"Invoice article Name","type":"integer","format":"int32","required":false},{"name":"LicenseProductTypeId","in":"formData","description":"Invoice LicenseProductTypeId","type":"integer","format":"int32","required":false},{"name":"IsMainLicense","in":"formData","description":"Invoice article is TIER license","type":"boolean","required":false},{"name":"VossProductGroupId","in":"formData","description":"Invoice VossProductGroupId reference","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateCompanyInvoiceArticle"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CompanyInvoiceArticleQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CompanyInvoiceArticleQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/company/mailchimp/syncExecutions":{"get":{"tags":["company"],"summary":"gets mailchimp sync executions in bokamera","description":"","operationId":"GetCompanyMailchimpSyncExecutionmailchimpsyncExecutions_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CreatedDate","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","format":"date-time","required":false},{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_MailchimpCompanySyncExecutionQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_MailchimpCompanySyncExecutionQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/licenses/company/delete":{"post":{"tags":["licenses"],"summary":"End all licenses","description":"End all licenses on the company for the logged in user.","operationId":"EndAllLicensescompanydelete_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Deactivate","in":"formData","description":"If you want to deactivate the account the booking system also (will not be working during your period of notice).","type":"boolean","required":false,"x-nullable":false},{"name":"Questionnaire","in":"formData","description":"Questionaire with answers from customer why ending license.","type":"array","items":{"$ref":"#/definitions/Questionnaire"},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/EndAllLicenses"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CompanyLicenseQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CompanyLicenseQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/licenses/company/{Id}":{"delete":{"tags":["licenses"],"summary":"Cancel a license to a company","description":"Cancel an existing license to the company for the logged in user. The license will have it end date set to after it\u0027s period of notice.","operationId":"CancelLicensecompanyId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the license","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CompanyLicenseQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CompanyLicenseQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/licenseChangesLog":{"get":{"tags":["licenseChangesLog"],"summary":"Get log of license changes","description":"Query return changes which were made in voss subscription.","operationId":"GetLicenseChangesLog_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","type":"integer","format":"int32"},{"name":"VossSubscriptionId","in":"query","type":"string"},{"name":"CheckedAt","in":"query","type":"string","format":"date-time"},{"name":"CheckStatus","in":"query","type":"string"},{"name":"CheckNote","in":"query","type":"string"},{"name":"CreatedDate","in":"query","type":"string","format":"date-time"},{"name":"CompanyId","in":"query","type":"string"},{"name":"Skip","in":"query","type":"integer","format":"int32"},{"name":"Take","in":"query","type":"integer","format":"int32"},{"name":"OrderBy","in":"query","type":"string"},{"name":"OrderByDesc","in":"query","type":"string"},{"name":"Include","in":"query","type":"string"},{"name":"Fields","in":"query","type":"string"},{"name":"Meta","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_LicenseChangesLogQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_LicenseChangesLogQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/mailchimp/member/company/sync":{"put":{"tags":["mailchimp"],"summary":"Sync Mailchimp members","description":"","operationId":"SyncCompanyMembersmembercompanysync_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"DeleteNonExisting","in":"formData","description":"Should we delete emails that do not exist in BokaMera.","type":"boolean","required":false,"x-nullable":false},{"name":"Test","in":"formData","description":"Determines if it is a test user","type":"boolean","required":false,"x-nullable":false},{"name":"Manual","in":"formData","description":"Determines if it sync was executed manually by click in superAdmin","type":"boolean","required":false,"x-nullable":false},{"name":"MemberCompanyId","in":"formData","description":"The company id of member of which members you want to sync.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/SyncCompanyMembers"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/mailchimp/member/company/customer/sync":{"put":{"tags":["mailchimp"],"summary":"Sync mailchimp members","description":"","operationId":"SyncCompanyCustomerMembersmembercompanycustomersync_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"DeleteNonExisting","in":"formData","description":"Should we delete emails that do not exist in BokaMera.","type":"boolean","required":false,"x-nullable":false},{"name":"OnlySubscribed","in":"formData","description":"Should we target only subscribed to newsletter customers.","type":"boolean","required":false,"x-nullable":false},{"name":"Test","in":"formData","description":"Determines if it is a test user","type":"boolean","required":false,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/SyncCompanyCustomerMembers"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/mailchimp/profile":{"get":{"tags":["mailchimp"],"summary":"gets mailchimp profile in bokamera","description":"","operationId":"GetMailchimpProfileprofile_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/MailchimpConfig"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/MailchimpConfig"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["mailchimp"],"summary":"creates mailchimp profile in bokamera","description":"","operationId":"CreateMailchimpProfileprofile_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"MailChimpApiKey","in":"formData","description":"","type":"string","required":true},{"name":"MailChimpAudienceId","in":"formData","description":"","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateMailchimpProfile"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/MailchimpConfig"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/MailchimpConfig"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/mailchimp/syncExecutions":{"get":{"tags":["mailchimp"],"summary":"gets mailchimp sync executions in bokamera","description":"","operationId":"GetMailchimpSyncExecutionsyncExecutions_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CreatedDate","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","format":"date-time","required":false},{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_MailchimpSyncExecutionQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_MailchimpSyncExecutionQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/mailchimp/audience/company":{"get":{"tags":["mailchimp"],"summary":"Get mailchimp audiences for company","description":"","operationId":"GetCompanyAudienceaudiencecompany_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"title":"List\u003CAudienceData\u003E","type":"array","items":{"$ref":"#/definitions/AudienceData"}}},"401":{"description":"You were unauthorized to call this service","schema":{"title":"List\u003CAudienceData\u003E","type":"array","items":{"$ref":"#/definitions/AudienceData"}}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/messages/templates/types":{"get":{"tags":["messages"],"summary":"Get message types","description":"Get all message types used by the message templates.","operationId":"MessageTypeQuerytemplatestypes_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"The message type id.","type":"integer","format":"int32","required":false},{"name":"SendMethodId","in":"query","description":"The message send method id. 1 = Email, 2 = SMS","type":"integer","format":"int32","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_MessageTypeQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_MessageTypeQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/messages/templates/sendmethods":{"get":{"tags":["messages"],"summary":"Get valid send methods","description":"Get all send methods used by the message templates.","operationId":"MessageSendMethodQuerytemplatessendmethods_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"The send method id.","type":"integer","format":"int32","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_MessageSendMethodQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_MessageSendMethodQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/messages/templates/{Id}":{"put":{"tags":["messages"],"summary":"Updates an existing company message templates","description":"Update an existing company message templates.","operationId":"UpdateMessageTemplatetemplatesId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"The message template id.","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"TypeId","in":"formData","description":"The message type id. See GET /messages/templates/types ","type":"integer","format":"int32","required":false},{"name":"Default","in":"formData","description":"The message should be default and the one to be used. All other messages for the same message type will be set to Default = false","type":"boolean","required":false},{"name":"Name","in":"formData","description":"The message template name.","type":"string","required":false},{"name":"Title","in":"formData","description":"The message template title.","type":"string","required":false},{"name":"Body","in":"formData","description":"The message template title.","type":"string","required":false},{"name":"Sender","in":"formData","description":"The message template sender (an email for message types with sendmethod 1, for SMS this cannot be set).","type":"string","required":false},{"name":"Language","in":"formData","description":"Message template lanugage","type":"string","required":true},{"name":"Services","in":"formData","description":"The services that is connected to the template. If null it will be connected to all services.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateMessageTemplate"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/MessageTemplatesQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/MessageTemplatesQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["messages"],"summary":"Delete an existing company message templates","description":"Delete an existing company message templates.","operationId":"DeleteMessageTemplatetemplatesId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"The message template id.","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/MessageTemplatesQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/MessageTemplatesQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/messages/templates/test":{"post":{"tags":["messages"],"summary":"Test to send a message to a Email or Mobile phone recipient using SMS.","description":"","operationId":"TestSendMessageTemplatetemplatestest_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Receiver","in":"formData","description":"The email recepient to receive the newsletter. For templates with send method SMS you need to enter a valid mobile phone number and send method Email a valid Email must be provided.","type":"string","required":true},{"name":"Title","in":"formData","description":"The message template title.","type":"string","required":false},{"name":"Body","in":"formData","description":"The newsletter template body.","type":"string","required":true},{"name":"TypeId","in":"formData","description":"The message type id. See GET /messages/templates/types ","type":"integer","format":"int32","required":true},{"name":"Language","in":"formData","description":"Message template lanugage","type":"string","required":true},{"name":"Services","in":"formData","description":"The services that is connected to the message. If null it will be connected to all services.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/TestSendMessageTemplate"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/MessageLogQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/MessageLogQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/messages/log/{Id}/resend":{"put":{"tags":["messages"],"summary":"Resend a message from the log","description":"Resend a message from the log to the recipient.","operationId":"ResendMessagelogIdresend_Create","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"path","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":true},{"name":"Id","in":"path","description":"Message Id","type":"int","format":"int32","required":true,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/ResendMessage"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/MessageLogQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/MessageLogQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/unsubscribe":{"post":{"tags":["unsubscribe"],"summary":"Unsubscribe an email from onboarding and similar campaign messages.","description":"No authentication required.","operationId":"UnsubscribeEmailTopic_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"Email","in":"formData","description":"The email address to unsubscribe.","type":"string","required":true},{"name":"ConfigurationSet","in":"formData","description":"Configuration set identifier used when sending the email.","type":"string","required":true},{"name":"Topic","in":"formData","description":"Topic identifier used when sending the email.","type":"string","required":true},{"name":"Token","in":"formData","description":"Verification token from the unsubscribe link.","type":"string","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UnsubscribeEmailTopic"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UnsubscribeEmailTopicResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/news":{"get":{"tags":["news"],"summary":"Find news items for a company","description":"Find news items for a company","operationId":"NewsItemQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company you want to see news for, if blank and you are an admin, your company id will be used","type":"string","required":false},{"name":"From","in":"query","description":"Enter the From Date you want to see news from, only allowed if admin","type":"dateTime","format":"date-time","required":false},{"name":"To","in":"query","description":"Enter the To Date you want to see news to, only allowed if admin","type":"dateTime","format":"date-time","required":false},{"name":"Active","in":"query","description":"Use this parameter if you want to only show active news","type":"boolean","required":false},{"name":"SitePath","in":"query","description":"The homeage sitepath.","type":"string","required":false},{"name":"PlainText","in":"query","description":"If you want to remove Html tags from newsbody and show as plain text.","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_NewsItemQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["news"],"summary":"Add a news item","description":"Add a news item to the company of the currently logged in user, only administrators are allowed to add news items.","operationId":"CreateNewsItem_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Heading","in":"formData","description":"The news item header, keep this short and concise","type":"string","required":true},{"name":"Body","in":"formData","description":"The news body text","type":"string","required":true},{"name":"ImageUrl","in":"formData","schema":{"$ref":"#/definitions/Uri"},"description":"Valid url to a image associated with the news","required":false},{"name":"From","in":"formData","description":"The timestamp from which the newsitem should be visible from","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"To","in":"formData","description":"The timestamp to which the newsitem should be visible to","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateNewsItem"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NewsItemQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/news/{Id}":{"put":{"tags":["news"],"summary":"Update a news item","description":"Update a news item to the company of the currently logged in user, only administrators are allowed to update news items.","operationId":"UpdateNewsItemId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the newsitem to update","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Heading","in":"formData","description":"The news item header, keep this short and concise","type":"string","required":true},{"name":"Body","in":"formData","description":"The news body text","type":"string","required":true},{"name":"ImageUrl","in":"formData","schema":{"$ref":"#/definitions/Uri"},"description":"Valid url to a image associated with the news","required":false},{"name":"From","in":"formData","description":"The timestamp from which the newsitem should be visible from","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"To","in":"formData","description":"The timestamp to which the newsitem should be visible to","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateNewsItem"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NewsItemQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["news"],"summary":"Delete a news item","description":"Delete a news item for the currently logged in user, only administrators are allowed to delete news items.","operationId":"DeleteNewsItemId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"query","description":"Id of the newsitem to delete","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NewsItemQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/newsletter/customers":{"get":{"tags":["newsletter"],"summary":"Get all customers that are valid for sending newsletters to.","description":"Get all customers that are valid for sending newsletters to.","operationId":"NewsletterCustomerQuerycustomers_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"CustomerMinBookings","in":"query","description":"Search for customer has done minimum number of bookings.","type":"integer","format":"int32","required":false},{"name":"CustomerMaxBookings","in":"query","description":"Search for customer has done maximum number of bookings.","type":"integer","format":"int32","required":false},{"name":"BookedServiceIds","in":"query","description":"Search for customer has booked any of the service in the list (List contain service id\u0027s).","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"From","in":"query","description":"Search interval From datetime .","type":"string","format":"date-time","required":false},{"name":"To","in":"query","description":"Search interval To datetime .","type":"string","format":"date-time","required":false},{"name":"MaxRecords","in":"query","description":"The max number of records you want to collect","type":"integer","format":"int32","required":false},{"name":"IncludeCustomerInformation","in":"query","description":"If you want to include the full customer information in the response","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NewsletterCustomerQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/NewsletterCustomerQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/newsletter/log":{"get":{"tags":["newsletter"],"summary":"Search the newsletter log for any messages","description":"Search the newsletter log for any messages.","operationId":"NewsletterLogQuerylog_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"path","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":true},{"name":"Sent","in":"query","description":"If you want to search on sent messages","type":"boolean","required":false},{"name":"Id","in":"query","description":"Message Id","type":"int","format":"int32","required":false},{"name":"Receiver","in":"query","description":"If you want to search on a messages for a specific receiver","type":"string","required":false},{"name":"Created","in":"query","description":"If you want to search on a messages created a specific date","type":"datetime","format":"date-time","required":false},{"name":"SentDate","in":"query","description":"If you want to search on a messages sent a specific date","type":"datetime","format":"date-time","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_NewsletterLogQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_NewsletterLogQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/newsletter/sendmethods":{"get":{"tags":["newsletter"],"summary":"Get valid send methods","description":"Get all valid send methods to select from.","operationId":"NewsletterSendMethodQuerysendmethods_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"The send method id.","type":"integer","format":"int32","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_NewsletterSendMethodQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_NewsletterSendMethodQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/newsletter/fieldtranslations":{"get":{"tags":["newsletter"],"summary":"Get field translations that could be used in messages","description":"Get field translations that could be used in messages.","operationId":"NewsletterFieldTranslationsQueryfieldtranslations_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"The field translation id.","type":"integer","format":"int32","required":false},{"name":"Group","in":"query","description":"The field translation group","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_NewsletterFieldTranslationResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_NewsletterFieldTranslationResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/newsletter/emailtemplates":{"get":{"tags":["newsletter"],"summary":"Get valid email templates","description":"Get all valid email template to select from.","operationId":"NewsletterEmailTemplateQueryemailtemplates_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"The email template id.","type":"integer","format":"int32","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_NewsletterEmailTemplatesQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_NewsletterEmailTemplatesQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/newsletter/templates":{"get":{"tags":["newsletter"],"summary":"Get company newsletter templates","description":"Get all company newsletter templates.","operationId":"NewsletterTemplatesQuerytemplates_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"query","description":"The newsletter template id.","type":"integer","format":"int32","required":false},{"name":"IncludeSendMethodInformation","in":"query","description":"If you want to include the message send method information","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeEmailTemplateInformation","in":"query","description":"If you want to include the email template information","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_NewsletterTemplatesQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_NewsletterTemplatesQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["newsletter"],"summary":"Create a new company newsletter template.","description":"Create a new company newsletter template.","operationId":"CreateNewsletterTemplatetemplates_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Heading","in":"formData","description":"The newsletter template heading.","type":"string","required":false},{"name":"Body","in":"formData","description":"The newsletter template body.","type":"string","required":false},{"name":"ImageUrl","in":"formData","description":"The newsletter template image url.","type":"string","required":false},{"name":"SendMethodId","in":"formData","description":"The newsletter template send method (1=email, 2=sms).","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"EmailTemplateId","in":"formData","description":"The email template id. Get valid email templates from GET /newsletter/emailtemplates","type":"integer","format":"int32","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateNewsletterTemplate"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NewsletterTemplatesQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/NewsletterTemplatesQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/newsletter/send":{"post":{"tags":["newsletter"],"summary":"Send a newsletter to a customers.","description":"","operationId":"SendNewsLettersend_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"Id","in":"formData","description":"The newsletter template id.","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"SendDate","in":"formData","description":"The datetime when the newsletters should be sent.","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"Customers","in":"formData","description":"The customer ids to send newsletters to.","type":"array","items":{"type":"string","x-nullable":false},"collectionFormat":"multi","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/SendNewsLetter"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SendNewslettersResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/SendNewslettersResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/newsletter/subscribe":{"get":{"tags":["newsletter"],"summary":"Subscribed to newsletter","description":"","operationId":"SubscribedToNewslettersubscribe_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Email","in":"query","description":"The customer email.","type":"string","required":true}],"responses":{"200":{"description":"Success","schema":{"title":"List\u003CSubscribedUserResponse\u003E","type":"array","items":{"$ref":"#/definitions/SubscribedUserResponse"}}},"401":{"description":"You were unauthorized to call this service","schema":{"title":"List\u003CSubscribedUserResponse\u003E","type":"array","items":{"$ref":"#/definitions/SubscribedUserResponse"}}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["newsletter"],"summary":"Subscribed to newsletter","description":"","operationId":"SubscribeToNewslettersubscribe_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"SubscribedCompanies","in":"formData","description":"Companies for which user is subscribed.","type":"array","items":{"$ref":"#/definitions/SubscribedUserResponse"},"collectionFormat":"multi","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/SubscribeToNewsletter"}}],"responses":{"200":{"description":"Success","schema":{"title":"List\u003CSubscribedUserResponse\u003E","type":"array","items":{"$ref":"#/definitions/SubscribedUserResponse"}}},"401":{"description":"You were unauthorized to call this service","schema":{"title":"List\u003CSubscribedUserResponse\u003E","type":"array","items":{"$ref":"#/definitions/SubscribedUserResponse"}}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/newsletter/unsubscribe":{"post":{"tags":["newsletter"],"summary":"Unsubscribe newsletter","description":"","operationId":"UnsubscribeNewsletterunsubscribe_Post","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Token","in":"query","type":"string"},{"name":"Uid","in":"query","type":"string","x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UnsubscribeNewsletter"}}],"responses":{"200":{"description":"Success","schema":{"title":"List\u003CUnsubscribeNewsletterResponse\u003E","type":"array","items":{"$ref":"#/definitions/UnsubscribeNewsletterResponse"}}},"401":{"description":"You were unauthorized to call this service","schema":{"title":"List\u003CUnsubscribeNewsletterResponse\u003E","type":"array","items":{"$ref":"#/definitions/UnsubscribeNewsletterResponse"}}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/newsletter/log/{Id}/resend":{"put":{"tags":["newsletter"],"summary":"Resend a message from the log","description":"Resend a message from the log to the recipient.","operationId":"NewsletterResendMessagelogIdresend_Create","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"path","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":true},{"name":"Id","in":"path","description":"Newsletter message Id","type":"int","format":"int32","required":true,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/NewsletterResendMessage"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NewsletterLogQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/NewsletterLogQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/newsletter/templates/test":{"post":{"tags":["newsletter"],"summary":"Test to send a newsletter to a Email or Mobile phone recepient using SMS.","description":"","operationId":"TestSendNewsLettertemplatestest_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Receiver","in":"formData","description":"The email recipient to receive the newsletter. For templates with send method SMS you need to enter a valid mobile phone number and send method Email a valid Email must be provided.","type":"string","required":true},{"name":"Id","in":"formData","description":"The newsletter template id.","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/TestSendNewsLetter"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NewsletterLogQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/NewsletterLogQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/newsletter/templates/{Id}":{"put":{"tags":["newsletter"],"summary":"Update a company newsletter template.","description":"Update a company newsletter template.","operationId":"UpdateNewsletterTemplatetemplatesId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"The newsletter template id.","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Heading","in":"formData","description":"The newsletter template heading.","type":"string","required":false},{"name":"Body","in":"formData","description":"The newsletter template body.","type":"string","required":false},{"name":"ImageUrl","in":"formData","description":"The newsletter template image url.","type":"string","required":false},{"name":"SendMethodId","in":"formData","description":"The newsletter template send method (1=email, 2=sms).","type":"integer","format":"int32","required":false},{"name":"EmailTemplateId","in":"formData","description":"The email template id. Get valid email templates from GET /newsletter/emailtemplates","type":"integer","format":"int32","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateNewsletterTemplate"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NewsletterTemplatesQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/NewsletterTemplatesQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["newsletter"],"summary":"Delete a company newsletter template.","description":"Delete a company newsletter template.","operationId":"DeleteNewsletterTemplatetemplatesId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"The newsletter template id.","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NewsletterTemplatesQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/NewsletterTemplatesQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/payment/billmate/apisettings":{"get":{"tags":["payment"],"summary":"Get Qvickly api settings","description":"Get Qvickly api settings for the logged in company","operationId":"QvicklyApiSettingsQuerybillmateapisettings_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QvicklyApiSettingsQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["payment"],"summary":"Add Qvickly api settings","description":"Add Qvickly api settings for the logged in company","operationId":"AddQvicklyApiSettingsbillmateapisettings_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"formData","description":"The Qvickly id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Secret","in":"formData","description":"The Qvickly secret","type":"string","required":true},{"name":"ReceiverEmail","in":"formData","description":"The Qvickly receiver email","type":"string","required":true},{"name":"ReceiverFirstname","in":"formData","description":"The Qvickly receiver firstname","type":"string","required":true},{"name":"ReceiverLastname","in":"formData","description":"The Qvickly receiver lastname","type":"string","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddQvicklyApiSettings"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QvicklyApiSettingsQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/payment/billmate/apisettings/":{"put":{"tags":["payment"],"summary":"Update Qvickly api settings","description":"Update Qvickly api settings for the logged in company","operationId":"UpdateQvicklyApiSettingsbillmateapisettings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"formData","description":"The Qvickly id","type":"integer","format":"int32","required":false},{"name":"Secret","in":"formData","description":"The Qvickly secret","type":"string","required":false},{"name":"ReceiverEmail","in":"formData","description":"The Qvickly receiver email","type":"string","required":false},{"name":"ReceiverFirstname","in":"formData","description":"The Qvickly receiver firstname","type":"string","required":false},{"name":"ReceiverLastname","in":"formData","description":"The Qvickly receiver lastname","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateQvicklyApiSettings"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QvicklyApiSettingsQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/payment/billmate/v1/ipncallback":{"post":{"tags":["payment"],"summary":"IPN callback for Qvickly checkout 1.0","description":"IPN callback for Qvickly checkout 1.0","operationId":"QvicklyCheckoutIpnCallBackbillmatev1ipncallback_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"BookingId","in":"formData","description":"Internal reference id (Could be booking, could be Article..)","type":"string","required":false},{"name":"Data","in":"formData","schema":{"$ref":"#/definitions/QvicklyIpnCallbackResponseData"},"description":"The payment ipn callback data.","required":false},{"name":"ArticleTypeId","in":"formData","description":"Article type (Could be Service, rebate code types, etc..","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/QvicklyCheckoutIpnCallBack"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IpnCallBackResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/payment/billmate/apisettings/test":{"post":{"tags":["payment"],"summary":"Test Qvickly api settings","description":"Test Qvickly api settings for the logged in company","operationId":"TestQvicklyApiSettingsQuerybillmateapisettingstest_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"formData","description":"The Qvickly Id","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"Secret","in":"formData","description":"The Qvickly secret","type":"string","required":false},{"name":"ReceiverEmail","in":"formData","description":"The Qvickly receiver email","type":"string","required":false},{"name":"ReceiverFirstname","in":"formData","description":"The Qvickly receiver firstname","type":"string","required":false},{"name":"ReceiverLastname","in":"formData","description":"The Qvickly receiver lastname","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/TestQvicklyApiSettingsQuery"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QvicklyApiSettingsTestResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/payment/stripe/apisettings/test":{"get":{"tags":["payment"],"summary":"Test stripe api settings","description":"Test stripe api settings for the logged in company","operationId":"TestStripeApiSettingsstripeapisettingstest_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/payment/stripe/v1/webhook":{"get":{"tags":["payment"],"summary":"Get stripe api webhooks","description":"Returns webhooks for bokamera","operationId":"GetStripeWebhooksstripev1webhook_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"WebhookId","in":"query","description":"Webhook Id to update events","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/StripeWebhooksResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["payment"],"summary":"Create stripe webhook with all events: By default it will create webhook set in settings with all events covered in bokamera","description":"Create stripe webhook with all events","operationId":"CreateStripeWebhookstripev1webhook_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Events","in":"formData","description":"Events (webhooks) that are accepted by stripe.","type":"array","items":{"type":"string"},"collectionFormat":"multi","required":false},{"name":"Connect","in":"formData","description":"Should webhook listen to customer events\u0027s","type":"boolean","required":false,"x-nullable":false},{"name":"Url","in":"formData","description":"Url that stripe should send hook to.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateStripeWebhook"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/StripeWebhookResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/payment/stripe/v1/webhookevent":{"get":{"tags":["payment"],"summary":"Return all possible webhook events","description":"","operationId":"GetStripeWebhookEventsstripev1webhookevent_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"WebhookId","in":"query","description":"Webhook Id to update events","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/StripeWebhooksResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["payment"],"summary":"Update stripe webhook events","description":"Update stripe webhook events","operationId":"UpdateStripeWebhookEventsstripev1webhookevent_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Events","in":"formData","description":"Events (webhooks) that are accepted by stripe.","type":"array","items":{"type":"string"},"collectionFormat":"multi","required":false},{"name":"WebhookId","in":"formData","description":"Webhook Id to update events","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateStripeWebhookEvents"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/StripeWebhooksResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/payment/billmate/v1/checkout":{"post":{"tags":["payment"],"summary":"Create an checkout for Booking. Note if existing checkouts already exists, i will invalidate those.","description":"Create Qvickly checkout (requires settings for Billmat Checkout 1.0)","operationId":"QvicklyV1CreateCheckoutbillmatev1checkout_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id.","type":"string","required":true},{"name":"CheckoutUrl","in":"formData","description":"Optional to set the checkout url. This url will be redirected to if payment is interupted for some reason.","type":"string","required":false},{"name":"ConfirmationUrl","in":"formData","description":"Optional to set your own confirmation url after payment completed.","type":"string","required":false},{"name":"Language","in":"formData","description":"If you want to have another language (sv, fi, dk, no, en) than the default language in system settings, specify it here. Leave empty if default language should be used.","type":"string","required":true},{"name":"TestMode","in":"formData","description":"Determins if it\u0027s a test call","type":"boolean","required":false,"x-nullable":false},{"name":"Articles","in":"formData","description":"Articles (Could be Service, rebate code types, etc..","type":"array","items":{"$ref":"#/definitions/CheckoutArticleToCreate"},"collectionFormat":"multi","required":true},{"name":"CountryCode","in":"formData","description":"Country code for checkout","type":"string","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/QvicklyV1CreateCheckout"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QvicklyCheckoutQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/payment/stripe/v1/account":{"get":{"tags":["payment"],"summary":"Get a stripe account for company.","description":"Get a stripe account for company.","operationId":"StripeGetAccountRequeststripev1account_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id.","type":"string","required":true}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/StripeAccountQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["payment"],"summary":"Update an account for company.","description":"Update an account for company.","operationId":"StripeUpdateAccountRequeststripev1account_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id.","type":"string","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/StripeUpdateAccountRequest"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/StripeAccountQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["payment"],"summary":"Create an account for company.","description":"Create an account for company.","operationId":"StripeCreateAccountRequeststripev1account_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id.","type":"string","required":true},{"name":"BusinessType","in":"formData","description":"One of: \u003Cc\u003Ecompany\u003C/c\u003E, \u003Cc\u003Egovernment_entity\u003C/c\u003E, \u003Cc\u003Eindividual\u003C/c\u003E, or \u003Cc\u003Enon_profit\u003C/c\u003E.","type":"string","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/StripeCreateAccountRequest"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/StripeAccountResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["payment"],"summary":"Delete an account for company.","description":"Delete an account for company.","operationId":"StripeDeleteAccountRequeststripev1account_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id.","type":"string","required":true}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/StripeDeletedAccountResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/payment/stripe/v1/checkout":{"post":{"tags":["payment"],"summary":"Create an checkout for Payable entity. Note if existing checkouts already exists, it will invalidate those.","description":"Create Stripe checkout (requires settings for Stripe Checkout 1.0)","operationId":"StripeV1CreateCheckoutstripev1checkout_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id.","type":"string","required":true},{"name":"CountryCode","in":"formData","description":"Country code for checkout","type":"string","required":true},{"name":"Articles","in":"formData","description":"Articles (Could be Service, rebate code types, etc..","type":"array","items":{"$ref":"#/definitions/CheckoutArticleToCreate"},"collectionFormat":"multi","required":true},{"name":"ConfirmationUrl","in":"formData","description":"Optional to set your own confirmation url after payment completed.","type":"string","required":false},{"name":"CancelUrl","in":"formData","description":"If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website. This parameter is not allowed if ui_mode is \u003Cc\u003Eembedded\u003C/c\u003E.","type":"string","required":false},{"name":"UiMode","in":"formData","description":"The UI mode of the Session. Defaults to \u003Cc\u003Ehosted\u003C/c\u003E; One of: \u003Cc\u003Eembedded\u003C/c\u003E, or \u003Cc\u003Ehosted\u003C/c\u003E","type":"string","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/StripeV1CreateCheckout"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/StripeCheckoutQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/payment/stripe/v1/ipncallback":{"post":{"tags":["payment"],"summary":"Webhook for Stripe checkout 1.0","description":"Webhook for Stripe checkout 1.0","operationId":"StripeCheckoutIpnCallBackRequeststripev1ipncallback_Post","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"EventType","in":"query","type":"string"},{"name":"SessionId","in":"query","type":"string"},{"name":"PaymentIntentId","in":"query","type":"string"},{"name":"InternalReferenceId","in":"query","type":"string"},{"name":"ArticleTypeId","in":"query","type":"string"},{"name":"CompanyId","in":"query","type":"string"},{"name":"body","in":"body","schema":{"$ref":"#/definitions/StripeCheckoutIpnCallBackRequest"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IpnCallBackResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/payment/settings":{"get":{"tags":["payment"],"summary":"Get payment settings","description":"Get payment settings for the logged in company","operationId":"PaymentSettingsQuerysettings_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"IncludeAdminPaymentOptions","in":"query","description":"If you want to include the admin payment options to select from","type":"boolean","required":false,"x-nullable":false},{"name":"IncludePaymentProviderOptions","in":"query","description":"If you want to include the payment provider options to select from","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PaymentSettingsQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["payment"],"summary":"Add payment settings","description":"Add payment settings for the logged in company","operationId":"AddPaymentSettingssettings_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Enabled","in":"formData","description":"The payment is enabled","type":"boolean","required":false,"x-nullable":false},{"name":"RefundOnCancelBooking","in":"formData","description":"Automatically refund customer on canceled booking","type":"boolean","required":false,"x-nullable":false},{"name":"DefaultAdminPaymentOptionsId","in":"formData","description":"The default option when admin creates a new booking","type":"integer","format":"int32","required":false},{"name":"PaymentProviderId","in":"formData","description":"What payment provider to use","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddPaymentSettings"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PaymentSettingsQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/payment/settings/":{"put":{"tags":["payment"],"summary":"Update payment settings","description":"Update payment settings for the logged in company","operationId":"UpdatePaymentSettingssettings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Enabled","in":"formData","description":"The payment is enabled","type":"boolean","required":false},{"name":"RefundOnCancelBooking","in":"formData","description":"Automatically refund customer on canceled booking","type":"boolean","required":false},{"name":"DefaultPaymentOptionId","in":"formData","description":"The default option when admin creates a new booking","type":"integer","format":"int32","required":false},{"name":"PaymentProviderId","in":"formData","description":"What payment provider to use","type":"integer","format":"int32","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdatePaymentSettings"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PaymentSettingsQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/payment/stripe/v1/account/connect":{"get":{"tags":["payment"],"summary":"Create an account for company.","description":"Create an account for company.","operationId":"StripeConnectAccountRequeststripev1accountconnect_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id.","type":"string","required":false},{"name":"RedirectUri","in":"query","description":"Uri to which stripe will redirect back to after authorization.","type":"string","required":true}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/StripeConnectAccountRes"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/payment/stripe/v1/checkout/status":{"post":{"tags":["payment"],"summary":"Create an checkout for Booking. Note if existing checkouts already exists, i will invalidate those.","description":"Create Stripe checkout (requires settings for Stripe Checkout 1.0)","operationId":"GetStripeCheckoutV1CheckoutStatusstripev1checkoutstatus_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id.","type":"string","required":true},{"name":"SessionId","in":"formData","description":"Session id for the checkout","type":"string","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/GetStripeCheckoutV1CheckoutStatus"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/StripeCheckoutStatusQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/payment-settings/stripe-api/stripe-auth":{"post":{"tags":["payment-settings"],"summary":"Create an account for company.","description":"Create an account for company.","operationId":"StripeConnectAccountCallbackRequeststripe-apistripe-auth_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id.","type":"string","required":true},{"name":"State","in":"formData","description":"The company id.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/StripeConnectAccountCallbackRequest"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/StripeAccountResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/rating/":{"get":{"tags":["rating"],"summary":"Get Ratings","description":"Get Ratings.","operationId":"RatingQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"","type":"string","required":false},{"name":"BookingId","in":"query","description":"Id of the booking","type":"integer","format":"int32","required":false},{"name":"Active","in":"query","description":"If you want to collect only active ratings. Ratings are only active after one has past since creation date.","type":"boolean","required":false},{"name":"IncludeRatingReviews","in":"query","description":"If you want to include the rating reviews","type":"boolean","required":false,"x-nullable":false},{"name":"CreatedFrom","in":"query","description":"Start of interval to query for bookings when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time","required":false},{"name":"CreatedTo","in":"query","description":"End of interval to query for bookings when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_CompanyRatingResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_CompanyRatingResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["rating"],"summary":"Update RatingScore","description":"Update rating from booking","operationId":"UpdateRating_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"","type":"string","required":true},{"name":"BookingId","in":"formData","description":"Id of the booking","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Identifier","in":"formData","description":"The identifier for the booking, use to verify the booking. Only needed when a customer, not admin","type":"string","required":false},{"name":"RatingScore","in":"formData","description":"The rating score between 1 and 5.","type":"integer","format":"int32","required":false},{"name":"Review","in":"formData","schema":{"$ref":"#/definitions/UpdateReview"},"description":"The review for the rating","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateRating"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CompanyRatingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CompanyRatingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["rating"],"summary":"Create RatingScore","description":"Create rating from booking","operationId":"AddRating_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"","type":"string","required":true,"x-nullable":false},{"name":"BookingId","in":"formData","description":"Id of the booking","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Identifier","in":"formData","description":"The identifier for the booking, use to verify the booking.","type":"string","required":true},{"name":"RatingScore","in":"formData","description":"The rating score between 1 and 5.","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Review","in":"formData","schema":{"$ref":"#/definitions/CreateReview"},"description":"The review for the rating","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddRating"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CompanyRatingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CompanyRatingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/rating/reviews":{"get":{"tags":["rating"],"summary":"Get Reviews","description":"Get Reviews.","operationId":"ReviewQueryreviews_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"","type":"string","required":false},{"name":"Id","in":"query","description":"","type":"string","required":false},{"name":"Active","in":"query","description":"If you want to collect only active reviews","type":"boolean","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_RatingReviewResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_RatingReviewResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/rebatecodes":{"get":{"tags":["rebatecodes"],"summary":"Get RebateCode.","description":"Get RebateCode.","operationId":"RebateCodeQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company and id you want to see the information for a rebate code, if blank company id and you are an admin, your company id will be used. If blank id, all rebate codes will be shown ","type":"string","required":false},{"name":"Id","in":"query","description":"RebateCodeId","type":"integer","format":"int32","required":false},{"name":"Active","in":"query","description":"","type":"boolean","required":false},{"name":"RebateCodeSign","in":"query","description":"","type":"string","required":false},{"name":"RebateCodeTypeIds","in":"query","description":"1 - Percent, 2 - \u0421urrency, 3 - PunchTicket, 4 - ValueCard, 5 - GiftCard","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"IncludeCodeTypeOptions","in":"query","description":"","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeStatusOptions","in":"query","description":"","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeConnectedServices","in":"query","description":"","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeConnectedDaysOfWeek","in":"query","description":"","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeConnectedCustomers","in":"query","description":"","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeArticleInformation","in":"query","description":"","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCompanyInformation","in":"query","description":"","type":"boolean","required":false,"x-nullable":false},{"name":"CompanyRebateCodes","in":"query","description":"","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeUsages","in":"query","description":"","type":"boolean","required":false,"x-nullable":false},{"name":"IncludePaymentLog","in":"query","description":"If you want to include the payment log on the rebate code","type":"boolean","required":false,"x-nullable":false},{"name":"CustomerId","in":"query","description":"","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_RebateCodeResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_RebateCodeResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["rebatecodes"],"summary":"Create RebateCode.","description":"Create RebateCode.","operationId":"CreateRebateCode_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"","type":"string","required":false},{"name":"MaxNumberOfUses","in":"formData","description":"The default value is 9999","type":"integer","format":"int32","required":false},{"name":"MaxNumberOfUsesPerCustomer","in":"formData","description":"The default value is 1","type":"integer","format":"int32","required":false},{"name":"ValidFrom","in":"formData","description":"","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"ValidTo","in":"formData","description":"","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"FromTime","in":"formData","description":"If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"string","required":false},{"name":"ToTime","in":"formData","description":"If the price is only valid for a specific time span during a time of day enter the FromTime and ToTime parameters.","type":"string","required":false},{"name":"RebateCodeTypeId","in":"formData","description":"1 - Percent, 2 - \u0421urrency, 3 - PunchTicket, 4 - ValueCard, 5 - GiftCard","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"ArticleId","in":"formData","description":"If it\u0027s connected to an Article, add the Article Id here.","type":"integer","format":"int32","required":false},{"name":"RebateCodeValue","in":"formData","description":"","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"RebateCodeSign","in":"formData","description":"If AutoGenerateRebateCodeSign=false - more than four letters, unique among active codes","type":"string","required":false},{"name":"AutoGenerateRebateCodeSign","in":"formData","description":"AutoGenerateRebateCodeSign=true - random generate code","type":"boolean","required":false,"x-nullable":false},{"name":"PersonalNote","in":"formData","description":"","type":"string","required":false},{"name":"DaysOfWeek","in":"formData","description":"","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"Services","in":"formData","description":"","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"Customers","in":"formData","description":"","type":"array","items":{"type":"string","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"PriceVat","in":"formData","description":"The price","type":"number","format":"double","required":false},{"name":"VAT","in":"formData","description":"The price VAT in percent","type":"number","format":"double","required":false},{"name":"CurrencyId","in":"formData","description":"The price currency","type":"string","required":false},{"name":"PromoCodeReceiver","in":"formData","schema":{"$ref":"#/definitions/PromoCodeReceiver"},"description":"Promo code receiver information","required":false},{"name":"InvoiceAddress","in":"formData","schema":{"$ref":"#/definitions/InvoiceAddressToHandle"},"description":"If you wish to save some invoice address information for the rebate code, you can do so here. This is optional.","required":false},{"name":"Paid","in":"formData","description":"Determines if the rebate code is active on creation or if it should await payment. If you set this to true, make sure to mark the code as payed when you receive the payment, by using the MarkRebateCodeAsPayed endpoint. The default value is false.","type":"boolean","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateRebateCode"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/RebateCodeResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/RebateCodeResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/rebatecodes/fromarticle":{"post":{"tags":["rebatecodes"],"summary":"Create RebateCode.","description":"Create RebateCode.","operationId":"CreateArticleRebateCodefromarticle_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"Receiver","in":"formData","schema":{"$ref":"#/definitions/PromoCodeReceiver"},"description":"Promo code receiver information","required":false},{"name":"CompanyId","in":"formData","description":"","type":"string","required":false},{"name":"ArticleId","in":"formData","description":"Article ID for the rebate code","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Customer","in":"formData","schema":{"$ref":"#/definitions/CustomerToHandle"},"description":"Customer information","required":false},{"name":"InvoiceAddress","in":"formData","schema":{"$ref":"#/definitions/InvoiceAddressToHandle"},"description":"If you want to book with customer information instead of the Customer Id send the customer information here. Note: If customer profile already exists with the same email the information will not be changed, instead the provided information will be added as BookingsComments if it differs from the ordinairy profile. ","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateArticleRebateCode"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/RebateCodeResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/RebateCodeResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/rebatecodes/{Id}":{"put":{"tags":["rebatecodes"],"summary":"Update RebateCode by Id","description":"Update RebateCode by Id)","operationId":"UpdateRebateCodeId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"Id","in":"path","description":"Id of the rebate code","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"MaxNumberOfUses","in":"formData","description":"The default value is 9999","type":"integer","format":"int32","required":false},{"name":"MaxNumberOfUsesPerCustomer","in":"formData","description":"The default value is 1","type":"integer","format":"int32","required":false},{"name":"AutoGenerateRebateCodeSign","in":"formData","description":"AutoGenerateRebateCodeSign=true - random generate code","type":"boolean","required":false,"x-nullable":false},{"name":"RebateCodeTypeId","in":"formData","description":"1 - Percent, 2 - \u0421urrency","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"ValidFrom","in":"formData","description":"","type":"string","format":"date-time","required":false},{"name":"ValidTo","in":"formData","description":"","type":"string","format":"date-time","required":false},{"name":"FromTime","in":"formData","description":"If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"string","required":false},{"name":"ToTime","in":"formData","description":"If the price is only valid for a specific time span during a time of day enter the FromTime and ToTime parameters.","type":"string","required":false},{"name":"RebateCodeSign","in":"formData","description":"Is empty - random generate code, is not empty - more than four letters, unique among active codes","type":"string","required":false},{"name":"PersonalNote","in":"formData","description":"","type":"string","required":false},{"name":"DaysOfWeek","in":"formData","description":"","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"Services","in":"formData","description":"","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"Customers","in":"formData","description":"","type":"array","items":{"type":"string","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateRebateCode"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/RebateCodeResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/RebateCodeResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["rebatecodes"],"summary":"Delete RebateCode.","description":"Delete RebateCode.","operationId":"DeleteRebateCodeId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the rebate code","type":"integer","format":"int32","required":true}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/RebateCodeResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/RebateCodeResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/rebatecodes/getbysign":{"get":{"tags":["rebatecodes"],"summary":"Get RebateCode by RebateCodeBySign","description":"Get RebateCode RebateCodeBySign (for example XMAS20)","operationId":"GetRebateCodeBySigngetbysign_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"","type":"string","required":true,"x-nullable":false},{"name":"RebateCodeSign","in":"query","description":"","type":"string","required":true},{"name":"ServiceId","in":"query","description":"","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Date","in":"query","description":"The datetime for when to check if the code is valid","type":"string","format":"date-time","required":false,"x-nullable":false},{"name":"IncludeConnectedServices","in":"query","description":"","type":"boolean","required":true,"x-nullable":false},{"name":"IncludeConnectedDaysOfWeek","in":"query","description":"","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeConnectedCustomers","in":"query","description":"","type":"boolean","required":false,"x-nullable":false},{"name":"CustomerEmail","in":"query","description":"","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/RebateCodeResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/RebateCodeResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/rebatecodes/types":{"get":{"tags":["rebatecodes"],"summary":"Get RebateCode types","description":"Get RebateCode types","operationId":"GetRebateCodeTypetypes_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"RebateCodeId","type":"integer","format":"int32","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/RebateCodeTypeQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/RebateCodeTypeQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/rebatecodes/statuses":{"get":{"tags":["rebatecodes"],"summary":"Get RebateCode statuses","description":"Get RebateCode statuses","operationId":"GetRebateCodeStatusstatuses_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"RebateCodeId","type":"integer","format":"int32","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/RebateCodeStatusResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/RebateCodeStatusResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/rebatecodes/values":{"get":{"tags":["rebatecodes"],"summary":"Get RebateCode values.","description":"Get RebateCode values.","operationId":"GetRebateCodeValuesvalues_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Active","in":"query","description":"","type":"boolean","required":false},{"name":"CustomerId","in":"path","type":"string","required":true},{"name":"CompanyId","in":"query","type":"string","required":false},{"name":"IncludeTransactionLog","in":"query","description":"","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeBookingInformation","in":"query","description":"","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeRebateCodeInformation","in":"query","description":"","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeServiceInformation","in":"query","description":"","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/RebateCodeValuesResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/RebateCodeValuesResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/rebatecodes/transactions":{"get":{"tags":["rebatecodes"],"summary":"Get transactions with the rebate code","description":"Get transactions with the rebate code","operationId":"RebateCodeTransactionQuerytransactions_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"","type":"string","required":true},{"name":"RebateCodeId","in":"query","description":"If we want to see transactions only for this specific rebate code","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"IncludeCustomerInformation","in":"query","type":"boolean","required":false,"x-nullable":false},{"name":"CreatedFrom","in":"query","description":"Start of interval to query for transactions when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time","required":false},{"name":"CreatedTo","in":"query","description":"End of interval to query for transactions when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time","required":false},{"name":"IncludeServiceInformation","in":"query","type":"boolean","required":false,"x-nullable":false},{"name":"CustomerId","in":"query","description":"CustomerId","type":"string","required":true}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_RebateCodeTransactionQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_RebateCodeTransactionQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["rebatecodes"],"summary":"Create transaction for the rebate code","description":"Create transaction for the rebate code","operationId":"CreateRebateCodeTransactiontransactions_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"","type":"string","required":true},{"name":"RebateCodeId","in":"formData","description":"Rebate code id to which you wish to add transaction","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Amount","in":"formData","type":"number","format":"double","required":true,"x-nullable":false},{"name":"Usage","in":"formData","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"BookingId","in":"formData","type":"integer","format":"int32","required":false},{"name":"ChangeType","in":"formData","description":"If you want to Increase = 0 or Decrease = 1 the value","type":"string","required":true,"enum":["Increase","Decrease"],"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateRebateCodeTransaction"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/RebateCodeTransactionResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/RebateCodeTransactionResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/rebatecodes/prices":{"post":{"tags":["rebatecodes"],"summary":"Get the new prices","description":"Get the new prices after applying RebateCodes","operationId":"GetPricesAfterRebateCodeprices_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"","type":"string","required":true,"x-nullable":false},{"name":"ServiceId","in":"formData","description":"The service you want to get the prices with rebates on","type":"integer","format":"int32","required":false},{"name":"RebateCodeIds","in":"formData","description":"Provide this if you like to the prices with rebate code ids","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"RebateCodeSigns","in":"formData","description":"Provide this if you like to the prices with rebate code signs instead of ids","type":"array","items":{"type":"string"},"collectionFormat":"multi","required":false},{"name":"DateFrom","in":"formData","description":"Provide this if you like to calculate the prices with the provided datetime","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/GetPricesAfterRebateCode"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/RebateCodePriceResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/RebateCodePriceResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/rebatecodes/{RebateCodeId}/reports":{"get":{"tags":["rebatecodes"],"summary":"Get a report as a PDF file","description":"Get a PDF report.","operationId":"ExportRebateCodeRebateCodeIdreports_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"RebateCodeId","in":"path","description":"Id of the rebate code","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/rebatecodes/{RebateCodeId}/markaspaid":{"put":{"tags":["rebatecodes"],"summary":"Mark rebate code as paid","description":"Mark rebate code as paid","operationId":"MarkRebateCodeAsPayedRebateCodeIdmarkaspaid_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"","type":"string","required":true},{"name":"RebateCodeId","in":"path","description":"Id of the rebate code","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/MarkRebateCodeAsPayed"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/RebateCodeResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/RebateCodeResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/references":{"get":{"tags":["references"],"summary":"Get all valid references","description":"Get all valid references.","operationId":"ReferenceQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"query","description":"Id of the reference","type":"string","required":false},{"name":"OwnerId","in":"query","description":"Internal Id of the reference. Example could be the Booking Id","type":"string","required":false},{"name":"ReferenceType","in":"query","description":"The type of reference, you can name this parameter what you like. Example could be system_bookingid where the system is the external system","type":"string","required":false},{"name":"ExternalData","in":"query","description":"The external data. Could be a Id or a JSON object or anything","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_ReferenceQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["references"],"summary":"Add reference","description":"Add reference","operationId":"AddReference_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"OwnerId","in":"formData","description":"Internal Id of the reference. Example could be the Booking Id","type":"string","required":false,"x-nullable":false},{"name":"ReferenceType","in":"formData","description":"The type of reference, you can name this parameter what you like. Example could be system_bookingid where the system is the external system","type":"string","required":false},{"name":"ReferenceTypeId","in":"formData","description":"External reference type id - can we fetched from /externalreferencestypes endpoint. ReferenceTypeId = 99 is other and should be used for all other types","type":"integer","format":"int32","required":false},{"name":"ExternalData","in":"formData","description":"The external data. Could be a Id or a JSON object or anything","type":"string","required":false},{"name":"CreatedBy","in":"formData","description":"Will show who created the reference.","type":"datetime","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddReference"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ReferenceQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/externalreferencestypes":{"get":{"tags":["externalreferencestypes"],"summary":"Get reference types","description":"Get reference types","operationId":"GetReferenceTypes_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ExternalReferenceTypeQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/references/{Id}":{"put":{"tags":["references"],"summary":"Update a reference","description":"Update a reference","operationId":"UpdateReferenceId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the reference","type":"string","required":true,"x-nullable":false},{"name":"OwnerId","in":"formData","description":"Internal Id of the reference. Example could be the Booking Id","type":"string","required":false},{"name":"ReferenceType","in":"formData","description":"The type of reference, you can name this parameter what you like. Example could be system_bookingid where the system is the external system","type":"string","required":false},{"name":"ExternalData","in":"formData","description":"The external data. Could be a Id or a JSON object or anything","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateReference"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ReferenceQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/references/{CompanyId}/{Id}":{"delete":{"tags":["references"],"summary":"Delete a reference","description":"Delete a reference","operationId":"DeleteReferenceCompanyIdId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the reference","type":"string","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ReferenceQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/references/{CompanyId}/{OwnerId}/{ReferenceType}":{"delete":{"tags":["references"],"summary":"Delete a reference with the reference type","description":"Delete a reference","operationId":"DeleteReferenceWithReferenceTypeCompanyIdOwnerIdReferenceType_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"path","description":"The company id","type":"string","required":true,"x-nullable":false},{"name":"OwnerId","in":"path","description":"Internal Id of the reference. Example could be the Booking Id","type":"string","required":true,"x-nullable":false},{"name":"ReferenceType","in":"path","description":"Reference type of the reference","type":"string","required":true}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ReferenceQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/reports/booking/printout":{"get":{"tags":["reports"],"summary":"Get all reports used for booking export","description":"Get all reports used for booking export","operationId":"BookingPrintoutQuerybookingprintout_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used","type":"string","required":false},{"name":"Id","in":"query","description":"Report id","type":"integer","format":"int32","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_PrintoutQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["reports"],"summary":"Add new booking printout report","description":"Add new booking printout report","operationId":"CreateBookingPrintoutbookingprintout_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used","type":"string","required":false},{"name":"Name","in":"formData","description":"Report Name","type":"string","required":true},{"name":"HeaderLeftCell","in":"formData","description":"Report header left cell content","type":"string","required":true},{"name":"HeaderMiddleCell","in":"formData","description":"Report header middle cell content","type":"string","required":true},{"name":"HeaderRightCell","in":"formData","description":"Report header right cell content","type":"string","required":true},{"name":"BodyCell","in":"formData","description":"Report body cell content","type":"string","required":true},{"name":"FooterLeftCell","in":"formData","description":"Report footer left cell content","type":"string","required":true},{"name":"FooterMiddleCell","in":"formData","description":"Report footer middle cell content","type":"string","required":true},{"name":"FooterRightCell","in":"formData","description":"Report footer right cell content","type":"string","required":true},{"name":"Id","in":"formData","description":"Report id","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"Language","in":"formData","description":"Report language (sv, en, no, fi), default is sv","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateBookingPrintout"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PrintoutQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/PrintoutQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/reports/booking/printout/fieldtranslations":{"get":{"tags":["reports"],"summary":"Get field translations that could be used in report","description":"Get field translations that could be used in report.","operationId":"BookingReportFieldTranslationsQuerybookingprintoutfieldtranslations_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"The field translation id.","type":"integer","format":"int32","required":false},{"name":"Group","in":"query","description":"The field translation group","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_BookingReportFieldTranslationResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_BookingReportFieldTranslationResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/reports/booking/printout/test":{"post":{"tags":["reports"],"summary":"Test to print a report to PDF with fake data","description":"Test to print a report to PDF with fake data","operationId":"TestBookingPrintoutbookingprintouttest_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used","type":"string","required":false},{"name":"HeaderLeftCell","in":"formData","description":"Report header left cell content","type":"string","required":true},{"name":"HeaderMiddleCell","in":"formData","description":"Report header middle cell content","type":"string","required":true},{"name":"HeaderRightCell","in":"formData","description":"Report header right cell content","type":"string","required":true},{"name":"BodyCell","in":"formData","description":"Report body cell content","type":"string","required":true},{"name":"FooterLeftCell","in":"formData","description":"Report footer left cell content","type":"string","required":true},{"name":"FooterMiddleCell","in":"formData","description":"Report footer middle cell content","type":"string","required":true},{"name":"FooterRightCell","in":"formData","description":"Report footer right cell content","type":"string","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/TestBookingPrintout"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/reports/booking/printout/{Id}":{"put":{"tags":["reports"],"summary":"Update booking printout report","description":"Update booking printout report","operationId":"UpdateBookingPrintoutbookingprintoutId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used","type":"string","required":false},{"name":"Id","in":"path","description":"Report id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Name","in":"formData","description":"Report Name","type":"string","required":true},{"name":"HeaderLeftCell","in":"formData","description":"Report header left cell content","type":"string","required":true},{"name":"HeaderMiddleCell","in":"formData","description":"Report header middle cell content","type":"string","required":true},{"name":"HeaderRightCell","in":"formData","description":"Report header right cell content","type":"string","required":true},{"name":"BodyCell","in":"formData","description":"Report body cell content","type":"string","required":true},{"name":"FooterLeftCell","in":"formData","description":"Report footer left cell content","type":"string","required":true},{"name":"FooterMiddleCell","in":"formData","description":"Report footer middle cell content","type":"string","required":true},{"name":"FooterRightCell","in":"formData","description":"Report footer right cell content","type":"string","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateBookingPrintout"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PrintoutQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/PrintoutQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["reports"],"summary":"Delete booking printout report","description":"Delete booking printout report","operationId":"DeleteBookingPrintoutbookingprintoutId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used","type":"string","required":false},{"name":"Id","in":"path","description":"Report id","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PrintoutQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/PrintoutQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/resource":{"get":{"tags":["resource"],"summary":"Find resources.","description":"Find resources.","operationId":"ResourceQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ","type":"string","required":true},{"name":"IncludeExceptions","in":"query","description":"If you want to include the exceptions for each resource, only allowed for administrators. Select between what dates in the parameters [ExceptionsQueryFromDate] and [ExceptionsQueryToDate] , if no dates added ","type":"boolean","required":false,"x-nullable":false},{"name":"ExceptionsQueryFromDate","in":"query","description":"If [IncludeExceptions], choose what from and to date to search exceptions between, if nothing entered it will search from today\u0027s date.","type":"dateTime","format":"date-time","required":false},{"name":"ExceptionsQueryToDate","in":"query","description":"If [IncludeExceptions], choose what from and to date to search exceptions between, if nothing entered it will search to 1 year forward from today\u0027s date.","type":"dateTime","format":"date-time","required":false},{"name":"IncludeBookings","in":"query","description":"If you want to include the bookings for each resource, only allowed for administrators. Select between what dates in the parameters [BookingsQueryFromDate] and [BookingsQueryToDate] , if nothing entered it will search to 1 year forward from todays date.","type":"boolean","required":false,"x-nullable":false},{"name":"BookingsQueryFromDate","in":"query","description":"If [IncludeBookings], choose what from and to date to search bookings between, if nothing entered it will search from today\u0027s date.","type":"dateTime","format":"date-time","required":false},{"name":"BookingsQueryToDate","in":"query","description":"If [IncludeBookings], choose what from and to date to search bookings between, if nothing entered it will search to 1 year forward from today\u0027s date.","type":"dateTime","format":"date-time","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_ResourceQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_ResourceQueryResponse_"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/QueryResponse_ResourceQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["resource"],"summary":"Add a new resource","description":"Add a new resource to the company of the currently logged in user, only administrators are allowed to add resources.","operationId":"CreateResource_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"Name","in":"formData","description":"The resource name","type":"string","required":false},{"name":"Description","in":"formData","description":"The resource description","type":"string","required":false},{"name":"Active","in":"formData","description":"If resource is active or not. Default is active.","type":"boolean","required":false,"x-nullable":false},{"name":"Color","in":"formData","description":"The resource color in scheduler","type":"string","required":false},{"name":"Email","in":"formData","description":"The Email of the resource","type":"string","required":false},{"name":"ImageUrl","in":"formData","schema":{"$ref":"#/definitions/Uri"},"description":"The Image URL of the resource","required":false},{"name":"AccessGroup","in":"formData","description":"Used by example code locks to know what access group the resource is assigned to","type":"string","required":false},{"name":"MobilePhone","in":"formData","description":"The Mobile phone number of the resource","type":"string","required":false},{"name":"EmailNotification","in":"formData","description":"If the resource should receive email notification when booked","type":"boolean","required":false},{"name":"SMSNotification","in":"formData","description":"If the resource should receive SMS notification when booked","type":"boolean","required":false},{"name":"SendEmailReminder","in":"formData","description":"If the resource should receive Email reminders on bookings","type":"boolean","required":false},{"name":"SendSMSReminder","in":"formData","description":"If the resource should receive SMS reminders on bookings","type":"boolean","required":false},{"name":"ResourceCategory","in":"formData","description":"The resource category. 1 = Object, 2 = Person, 3 = Room, 4 = Relay","type":"integer","format":"int32","required":false},{"name":"RelayStartsBeforeMinutes","in":"formData","description":"If the resource category is Relay, this is the number of minutes before the next booking that the relay resource becomes available. Default is 0.","type":"integer","format":"int32","required":false},{"name":"CustomFields","in":"formData","description":"If Custom Fields are added to the resource, here you will send the id and the value for each custom field to be saved","type":"array","items":{"$ref":"#/definitions/AddCustomField"},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateResource"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResourceQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/ResourceQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/ResourceQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/resource/{Id}":{"put":{"tags":["resource"],"summary":"Update existing resource","description":"Updates an existing resource if you are authorized to do so.","operationId":"UpdateResourceId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"Id","in":"path","description":"Id of the resource","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Name","in":"formData","description":"The resource name","type":"string","required":false},{"name":"Description","in":"formData","description":"The resource description","type":"string","required":false},{"name":"Active","in":"formData","description":"If resource is active or not","type":"boolean","required":false},{"name":"Color","in":"formData","description":"The resource color in scheduler","type":"string","required":false},{"name":"ImageUrl","in":"formData","schema":{"$ref":"#/definitions/Uri"},"description":"The Image URL of the resource","required":false},{"name":"Email","in":"formData","description":"The Email of the resource","type":"string","required":false},{"name":"MobilePhone","in":"formData","description":"The Mobile phone number of the resource","type":"string","required":false},{"name":"AccessGroup","in":"formData","description":"Used by example code locks to know what access group the resource is assigned to","type":"string","required":false},{"name":"EmailNotification","in":"formData","description":"If the resource should receive Email notification when booked","type":"boolean","required":false},{"name":"SMSNotification","in":"formData","description":"If the resource should receive SMS notification when booked","type":"boolean","required":false},{"name":"SendEmailReminder","in":"formData","description":"If the resource should receive Email reminders on bookings","type":"boolean","required":false},{"name":"SendSMSReminder","in":"formData","description":"If the resource should receive SMS reminders on bookings","type":"boolean","required":false},{"name":"ResourceCategory","in":"formData","description":"The resource category. 1 = Object, 2 = Person, 3 = Room, 4 = Relay","type":"integer","format":"int32","required":false},{"name":"RelayStartsBeforeMinutes","in":"formData","description":"If the resource category is Relay, this is the number of minutes before the next booking that the relay resource becomes available. Default is 0.","type":"integer","format":"int32","required":false},{"name":"CustomFields","in":"formData","description":"If Custom Fields are added to the resource, here you will send the id and the value for each custom field to be saved","type":"array","items":{"$ref":"#/definitions/AddCustomField"},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateResource"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResourceQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/ResourceQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["resource"],"summary":"Delete a resource","description":"Delete a resource for the currently logged in user, only administrators are allowed to delete resources.","operationId":"DeleteResourceId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"Id","in":"query","description":"Id of the resource to delete","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Force","in":"query","description":"If this equals true it will force to set the resource as active = false, this is used when bookings exist on the resource and it cannot be deleted. ","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResourceQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/ResourceQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/ResourceQueryResponse"}},"409":{"description":"Bookings exist that need to be unbooked before creating this time exception, use the /timeexceptions/collidingevents to find which bookings and use the booking service to unbook them","schema":{"$ref":"#/definitions/ResourceQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/timeexceptions":{"get":{"tags":["timeexceptions"],"summary":"Find time exceptions belonging to resources","description":"Find time exceptions belonging to resources that the user have access to. This method can only be called by users with administrative privilegies.","operationId":"ResourceTimeExceptionQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ResourceIds","in":"query","description":"Enter the resource id\u0027s separated by comma that you want to see time exceptions for, if no value is given all time exceptions will be returned","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"TimeExceptionStart","in":"query","description":"Start of interval to query for time exceptions. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time","required":false},{"name":"TimeExceptionEnd","in":"query","description":"End of interval to query for time exceptions. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time","required":false},{"name":"IsRecurring","in":"query","description":"Include only recurring time exceptions or not, if no value is given, all time exceptions will be returned","type":"boolean","required":false},{"name":"IsBlocking","in":"query","description":"Include only time exceptions that are blocking, if no value is given, all time exceptions will be returned","type":"boolean","required":false},{"name":"IncludeResourceDetails","in":"query","description":"If you want to include the resource details","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCalendarExportStatus","in":"query","description":"If you want to include google calendar sync status","type":"boolean","required":false,"x-nullable":false},{"name":"MaxLimit","in":"query","description":"The max limit of records you want to retrieve, default is 200","type":"int","format":"int32","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_ResourceTimeExceptionQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_ResourceTimeExceptionQueryResponse_"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/QueryResponse_ResourceTimeExceptionQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["timeexceptions"],"summary":"Inserts a time exception for a given resource belonging to the current user","description":"Inserts a time exception for a given resource belonging to the current user if no colliding bookings are found. If a colliding booking is found. A time exception must be either recurring (DaysOfWeek is set and From and To is the valid range for the recurrency) or non recurring (From and To are set)","operationId":"CreateResourceTimeException_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"From","in":"formData","description":"Time exception starting datestamp, only the date of day part is used of this value","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"To","in":"formData","description":"Time exception ending datestamp, only the date of day part is used of this value","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"ResourceIds","in":"formData","description":"Resource id of the resource that owns this exception","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":true},{"name":"FromTime","in":"formData","description":"This value indicates the time of day when the time exception begins. Example: 10:00. If Recurring this will be the start time for each recurring day.","type":"string","required":false,"x-nullable":false},{"name":"ToTime","in":"formData","description":"This value indicates the time of day when the time exception ends. Example: 12:00. If Recurring this will be the end time for each recurring day.","type":"string","required":false,"x-nullable":false},{"name":"DaysOfWeek","in":"formData","description":"A comma separated list of which days this day exception belongs to, 1 = Monday .. 7 = Sunday","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"ReasonText","in":"formData","description":"The reason of the time exception, example: Vacation, doctors appointment, ...","type":"string","required":true},{"name":"ReasonTextPublic","in":"formData","description":"The reason of the time exception that could be public to customers, example: Vacation, Closed, Sick leave, ...","type":"string","required":false},{"name":"Color","in":"formData","description":"What hexadecimal color code the exception should have in the scheduler","type":"string","required":false},{"name":"BlockTime","in":"formData","description":"If the time exception should block the time in the scheduler so it\u0027s not avaialable to book","type":"boolean","required":false,"x-nullable":false},{"name":"Private","in":"formData","description":"If the ReasonText should only be visible to conncted resources. If false, all resources will be able to see it","type":"boolean","required":false,"x-nullable":false},{"name":"TagIds","in":"formData","description":"Ids of tags to attach to the time exception at creation time. Tags must have Scope = TimeException and belong to the company.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"CollidingBookingOptions","in":"formData","description":"By default sets to 1, which is to add time exception without canceling colliding bookings","type":"string","required":false,"enum":["AddWithoutCancelingCollidingBookings","AddAndCancelCollidingBookings"],"x-nullable":false},{"name":"Force","in":"formData","description":"If this equals true it will it add the time exception with the option you have selected in CollidingBookingOption. Default is to cancel all colliding bookings.","type":"boolean","required":false,"x-nullable":false},{"name":"CancelMessage","in":"formData","description":"When Force=true and colliding bookings exist, this message is the message that are sent to the users when canceling their bookings.","type":"string","required":false},{"name":"SendSmsConfirmation","in":"formData","description":"When Force=true and colliding bookings exist, send cancel message as SMS Confirmation","type":"boolean","required":false},{"name":"SendEmailConfirmation","in":"formData","description":"When Force=true and colliding bookings exist, send cancel message as Email Confirmation","type":"boolean","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateResourceTimeException"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}},"409":{"description":"Bookings exist that need to be unbooked before creating this time exception, use the /timeexceptions/collidingevents to find which bookings and use the booking service to unbook them","schema":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/timeexceptions/{Id}":{"put":{"tags":["timeexceptions"],"summary":"Updates a time exception for a given resource belonging to the current user","description":"Updates a time exception for a given resource belonging to the current user if no colliding bookings are found. If a colliding booking is found. A time exception must be either recurring (DaysOfWeek is set and From and To is the valid range for the recurrency) or non recurring (From and To are set)","operationId":"UpdateResourceTimeExceptionId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Time exceptions id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"From","in":"formData","description":"Time exception starting datestamp, only the date of day part is used of this value","type":"string","format":"date-time","required":false},{"name":"To","in":"formData","description":"Time exception ending datestamp, only the date of day part is used of this value","type":"string","format":"date-time","required":false},{"name":"ResourceIds","in":"formData","description":"Resource id of the resource that owns this exception","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":true},{"name":"FromTime","in":"formData","description":"This value indicates the time of day when the time exception begins. Example: 10:00. If Recurring this will be the start time for each recurring day.","type":"string","required":false},{"name":"ToTime","in":"formData","description":"This value indicates the time of day when the time exception ends. Example: 12:00. If Recurring this will be the end time for each recurring day.","type":"string","required":false},{"name":"DaysOfWeek","in":"formData","description":"A comma separated list of which days this day exception belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"ReasonText","in":"formData","description":"The reason of the time exception, example: Vacation, doctors appointment, ...","type":"string","required":true},{"name":"ReasonTextPublic","in":"formData","description":"The reason of the time exception that could be public to customers, example: Vacation, Closed, Sick leave, ...","type":"string","required":false},{"name":"Color","in":"formData","description":"What hexadecimal color code the exception should have in the scheduler","type":"string","required":false},{"name":"BlockTime","in":"formData","description":"If the time exception should block the time in the scheduler so it\u0027s not available to book","type":"boolean","required":false},{"name":"Private","in":"formData","description":"If the ReasonText should only be visible to connected resources. If false, all resources will be able to see it","type":"boolean","required":false},{"name":"TagIds","in":"formData","description":"Ids of tags to attach to the time exception. Tags must have Scope = TimeException and belong to the company. If provided, replaces all existing tags.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"CollidingBookingOptions","in":"formData","description":"By default sets to 1, which is to add time exception without canceling colliding bookings","type":"string","required":false,"enum":["AddWithoutCancelingCollidingBookings","AddAndCancelCollidingBookings"],"x-nullable":false},{"name":"Force","in":"formData","description":"If this equals true it will it add the time exception with the option you have selected in CollidingBookingOption. Default is to cancel all colliding bookings.","type":"boolean","required":false,"x-nullable":false},{"name":"CancelMessage","in":"formData","description":"When Force=true and colliding bookings exist, this message is the message that are sent to the users when canceling their bookings.","type":"string","required":false},{"name":"SendSmsConfirmation","in":"formData","description":"When Force=true and colliding bookings exist, send cancel message as SMS Confirmation","type":"boolean","required":false},{"name":"SendEmailConfirmation","in":"formData","description":"When Force=true and colliding bookings exist, send cancel message as Email Confirmation","type":"boolean","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateResourceTimeException"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}},"409":{"description":"Bookings exist that need to be unbooked before creating this time exception, use the /timeexceptions/collidingevents to find which bookings and use the booking service to unbook them","schema":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["timeexceptions"],"summary":"Delete a given time exception that the user have access too","description":"Delete a given time exception that the user have access too","operationId":"DeleteResourceTimeExceptionId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"query","description":"Time exception id to be deleted","type":"integer","format":"int32","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/timeexceptions/collidingevents":{"get":{"tags":["timeexceptions"],"summary":"Searches for collisions with existing bookings of the resource","description":"Searches for existing bookings and investigates if a proposed time exception would collide with them, if so, the bookings should be unbooked to be able to create the time exception. A time exception must be either recurring (DaysOfWeek, ExceptionFromTime, ExceptionToTime is set) or non recurring (From and To are set).","operationId":"CollidingBookingQuerycollidingevents_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ResourceIds","in":"query","description":"Resource ids of the resource that should be matched against booked events","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"From","in":"query","description":"Time exception starting date","type":"string","format":"date-time","required":false,"x-nullable":false},{"name":"To","in":"query","description":"Time exception ending date","type":"string","format":"date-time","required":false,"x-nullable":false},{"name":"FromTime","in":"query","description":"This value indicates the time of day when the time exception begins. Example: 10:00. If Recurring this will be the start time for each recurring day.","type":"string","required":false,"x-nullable":false},{"name":"ToTime","in":"query","description":"This value indicates the time of day when the time exception ends. Example: 12:00. If Recurring this will be the endtime for each recurring day.","type":"string","required":false,"x-nullable":false},{"name":"DaysOfWeek","in":"query","description":"A comma separated list of which days this day exception belongs to, 1 = Monday .. 7 = Sunday","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"IncludeServiceInformation","in":"query","description":"If you want to include the service information for the booking","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCustomerInformation","in":"query","description":"If you want to include the customer information for the booking","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CollidingBookingQueryResponse"}},"400":{"description":"The request parameters was not valid","schema":{"$ref":"#/definitions/CollidingBookingQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CollidingBookingQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/CollidingBookingQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/resourcetypes":{"get":{"tags":["resourcetypes"],"summary":"Find resourcetypes.","description":"Find resourcetypes.","operationId":"ResourceTypeQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company and id you want to see the information for a resourcetype, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ","type":"string","required":true},{"name":"Id","in":"query","description":"Enter the id for a resourcetype. If blank id, all resourcetypes will be shown ","type":"integer","format":"int32","required":false},{"name":"Active","in":"query","description":"Filter on active or deactivated resourcetypes. If blank status, all resourcetypes will be shown ","type":"boolean","required":false},{"name":"IncludeResources","in":"query","description":"If you want to include the connected resources","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_ResourceTypeQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_ResourceTypeQueryResponse_"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/QueryResponse_ResourceTypeQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["resourcetypes"],"summary":"Add a new resourcetype","description":"Add a new resourcetype to the company of the currently logged in user, only administrators are allowed to add resourcetypes.","operationId":"CreateResourceType_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Name","in":"formData","description":"The resourcetype name","type":"string","required":false},{"name":"Resources","in":"formData","description":"The resources to be included","type":"array","items":{"$ref":"#/definitions/AddResourceTypeResource"},"collectionFormat":"multi","required":false},{"name":"Description","in":"formData","description":"The resourcetype description","type":"string","required":false},{"name":"Active","in":"formData","description":"If resourcetype is active or not","type":"boolean","required":false,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateResourceType"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResourceTypeQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/ResourceTypeQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/ResourceTypeQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/resourcetypes/{Id}":{"put":{"tags":["resourcetypes"],"summary":"Update existing resourcetype","description":"Updates an existing resourcetype if you are authorized to do so.","operationId":"UpdateResourceTypeId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the resourcetype","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Resources","in":"formData","description":"The resources to be added","type":"array","items":{"$ref":"#/definitions/UpdateResourceTypeResource"},"collectionFormat":"multi","required":false},{"name":"Name","in":"formData","description":"The resourcetype name","type":"string","required":false},{"name":"Description","in":"formData","description":"The resourcetype description","type":"string","required":false},{"name":"Active","in":"formData","description":"If resourcetype is active or not","type":"boolean","required":false,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateResourceType"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResourceTypeQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/ResourceTypeQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["resourcetypes"],"summary":"Delete a resourcetype","description":"Delete a resourcetype for the currently logged in user, only administrators are allowed to delete resourcetypes.","operationId":"DeleteResourceTypeId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"Id of the resource to delete","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/resourcetypes/{Id}/updateresourcepriority":{"put":{"tags":["resourcetypes"],"summary":"Update resource(s) priority within the ResourceType","description":"Updates resource(s) priority in the ResourceType for the currently logged in user, only administrators are allowed to update ResourceTypes.","operationId":"UpdateResourcePriorityIdupdateresourcepriority_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id","type":"string","required":true,"x-nullable":false},{"name":"Id","in":"path","description":"The ResourceType id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Resources","in":"formData","description":"The resources to have their priorities to be updated ","type":"array","items":{"$ref":"#/definitions/UpdateResourceTypeResource"},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateResourcePriority"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResourceTypeQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/resourcetypes/{Id}/addresource":{"post":{"tags":["resourcetypes"],"summary":"Add resource(s) to ResourceType","description":"Add resource(s) to ResourceType for the currently logged in user, only administrators are allowed to add resources to ResourceTypes.","operationId":"AddResourceIdaddresource_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id","type":"string","required":true,"x-nullable":false},{"name":"Id","in":"path","description":"The ResourceType id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Resources","in":"formData","description":"The resources to be included","type":"array","items":{"$ref":"#/definitions/AddResourceTypeResource"},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddResource"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/resourcetypes/{Id}/removeresource":{"delete":{"tags":["resourcetypes"],"summary":"Remove resource(s) from resourcetype","description":"Remove resource(s) from resourcetype for the currently logged in user, only administrators are allowed to remove resources to resourcetypes.","operationId":"RemoveResourceIdremoveresource_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"The ResourceType id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Resources","in":"query","description":"The resources to be removed","type":"array","items":{"$ref":"#/definitions/RemoveResourceTypeResource"},"collectionFormat":"multi","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResourceTypeQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/schedules/recurring":{"get":{"tags":["schedules"],"summary":"Find recurring schedules for a company","description":"Find recurring schedules for a company","operationId":"RecuringScheduleQueryrecurring_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"path","description":"Enter the company you want to see news for, if blank and you are an admin, your company id will be used","type":"string","required":true},{"name":"ValidFrom","in":"query","description":"Enter the From Date you want to see news from, only allowed if admin","type":"dateTime","format":"date-time","required":false},{"name":"ValidTo","in":"query","description":"Enter the To Date you want to see news to, only allowed if admin","type":"dateTime","format":"date-time","required":false},{"name":"IncludeRecurringDays","in":"query","description":"If you want to include the connected days for the schedule","type":"bool","required":false,"x-nullable":false},{"name":"IncludeConnectedResources","in":"query","description":"If you want to include the connected resources for the schedule","type":"bool","required":false,"x-nullable":false},{"name":"IncludeConnectedServices","in":"query","description":"If you want to include the connected services for the schedule","type":"bool","required":false,"x-nullable":false},{"name":"IncludeExceptions","in":"query","description":"If you want to include the exceptions for the schedule","type":"bool","required":false,"x-nullable":false},{"name":"Active","in":"query","description":"Use this parameter if you want to only show active news","type":"boolean","required":false},{"name":"IncludeScheduleDates","in":"query","description":"If you want to include the connected dates for the schedule. This is used when the schedule having setting, different opening hours per week (not rolling schedule using days of week).","type":"bool","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_RecurringScheduleQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["schedules"],"summary":"Add new recurring schedule","description":"Add new recurring schedule to the company for the currently logged in user, only administrators are allowed to add schedules.","operationId":"CreateRecurringSchedulerecurring_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Name","in":"formData","description":"The schedule name","type":"string","required":false},{"name":"Description","in":"formData","description":"The schedule description","type":"string","required":false},{"name":"Active","in":"formData","description":"If schedule is active or not","type":"boolean","required":false,"x-nullable":false},{"name":"TimeInterval","in":"formData","description":"Time interval for available times. Here you set the interval at which times should appear. For example, if you select the range 15minutes, and your service has an duration of 1 hour and opening hours are 9AM to 6PM you will see the following suggested times: 09AM-10PM 09:15AM-10:15PM, 09:30AM-10:30PM ,  ..... 04:45PM-05:45, 05:00PM-06:00PM","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"EnableBookingUntilClosingTime","in":"formData","description":"Allow bookings end time exceeds the opening hours Here you can choose whether it should be possible to make a reservation exceeding the opening hours. This should be ticked when a service duration is longer than 24 hours (possible to book over midnight).","type":"boolean","required":true,"x-nullable":false},{"name":"ValidFrom","in":"formData","description":"The timestamp to which the schedule is valid from","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"ValidTo","in":"formData","description":"The timestamp to which the schedule is valid to","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"StartTime","in":"formData","description":"The time for the schedule opening hours (starttime)","type":"string","required":true,"x-nullable":false},{"name":"EndTime","in":"formData","description":"The time for the schedule opening hours (endtime)","type":"string","required":true,"x-nullable":false},{"name":"NumberOfScheduleDays","in":"formData","description":"The number of days the schedule is valid from todays date","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"DaysOfWeek","in":"formData","description":"If recurring, an array indicating which days of the week the schedule recures on where 1 = Monday .. 7 = Sunday. When recurring then the time portion of the Fields From and To indicates the time of day the recurrence occurs","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"ScheduleDates","in":"formData","description":"If not recuring, an array indicating which dates that are open for the schedule.","type":"array","items":{"$ref":"#/definitions/AddRecurringScheduleDate"},"collectionFormat":"multi","required":false},{"name":"Exceptions","in":"formData","description":"Schedule exceptions. For example closed on lunch time between 12AM and 1PM. These times will be removed from the recurring schedule.","type":"array","items":{"$ref":"#/definitions/ScheduleException"},"collectionFormat":"multi","required":false},{"name":"Resources","in":"formData","description":"If the schedule is only connected to some resources, add them here. If empty, it will be used by all resources.","type":"array","items":{"$ref":"#/definitions/AddScheduleResource"},"collectionFormat":"multi","required":false},{"name":"Services","in":"formData","description":"Set what services the schedule should be connected to.","type":"array","items":{"$ref":"#/definitions/AddScheduleService"},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateRecurringSchedule"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/RecurringScheduleQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/RecurringScheduleQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/schedules/date":{"get":{"tags":["schedules"],"summary":"Find date schedules for a company","description":"Find date schedules for a company","operationId":"DateScheduleQuerydate_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company you want to see news for, if blank and you are an admin, your company id will be used","type":"string","required":false},{"name":"ValidFrom","in":"query","description":"Enter the From Date you want to see news from, only allowed if admin","type":"dateTime","format":"date-time","required":false},{"name":"ValidTo","in":"query","description":"Enter the To Date you want to see news to, only allowed if admin","type":"dateTime","format":"date-time","required":false},{"name":"IncludeScheduleDates","in":"query","description":"If you want to include the connected dates for the schedule","type":"bool","required":false,"x-nullable":false},{"name":"IncludeConnectedResources","in":"query","description":"If you want to include the connected resources for the schedule","type":"bool","required":false,"x-nullable":false},{"name":"IncludeConnectedServices","in":"query","description":"If you want to include the connected services for the schedule","type":"bool","required":false,"x-nullable":false},{"name":"Active","in":"query","description":"Use this parameter if you want to only show active news","type":"boolean","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_DateScheduleQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["schedules"],"summary":"Add new date schedule","description":"Add new date schedule to the company for the currently logged in user, only administrators are allowed to add schedules.","operationId":"CreateDateScheduledate_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Name","in":"formData","description":"The schedule name","type":"string","required":false},{"name":"Description","in":"formData","description":"The schedule description","type":"string","required":false},{"name":"Active","in":"formData","description":"If schedule is active or not","type":"boolean","required":false,"x-nullable":false},{"name":"NumberOfScheduleDays","in":"formData","description":"The number of days the schedule is valid from todays date","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"ScheduleDates","in":"formData","description":"The dates for the schedule. This is the actual timeslots.","type":"array","items":{"$ref":"#/definitions/AddDateScheduleDate"},"collectionFormat":"multi","required":false},{"name":"Resources","in":"formData","description":"If the schedule is only connected to some resources, add them here. If empty, it will be used by all resources.","type":"array","items":{"$ref":"#/definitions/AddScheduleResource"},"collectionFormat":"multi","required":false},{"name":"Services","in":"formData","description":"Set what services the schedule should be connected to.","type":"array","items":{"$ref":"#/definitions/AddScheduleService"},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateDateSchedule"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/DateScheduleQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/DateScheduleQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/schedules/recurring/intervals":{"get":{"tags":["schedules"],"summary":"Get the schedule intervals","description":"Get the schedule intervals. Note: This must not be the same as the available times.","operationId":"RecurringScheduleIntervalsQueryrecurringintervals_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Company to show services for","type":"string","required":false},{"name":"From","in":"query","description":"From what datetime to show times","type":"dateTime","format":"date-time","required":true,"x-nullable":false},{"name":"To","in":"query","description":"To what datetime to show times","type":"dateTime","format":"date-time","required":true,"x-nullable":false},{"name":"ResourceIds","in":"query","description":"Here you can select one of the resource, if none is selected it will show available times for all","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ScheduleIntervalsQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/schedules/recurring/test":{"post":{"tags":["schedules"],"summary":"Test recurring schedule","description":"Test recurring schedule, only administrators are allowed to test schedules.","operationId":"TestRecurringSchedulerecurringtest_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"From","in":"query","description":"From what datetime to show available times","type":"dateTime","format":"date-time","required":true,"x-nullable":false},{"name":"To","in":"query","description":"To what datetime to show available times","type":"dateTime","format":"date-time","required":true,"x-nullable":false},{"name":"Duration","in":"formData","description":"The Service Duration to be faked if there is no Service selected","type":"integer","format":"int32","required":false},{"name":"TimeInterval","in":"formData","description":"Time interval for available times. Here you set the interval at which times should appear. For example, if you select the range 15minutes, and your service has an duration of 1 hour and opening hours are 9AM to 6PM you will see the following suggested times: 09AM-10AM 09:15AM-10:15AM, 09:30AM-10:30AM ,  ..... 04:45PM-05:45, 05:00PM-06:00PM","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"EnableBookingUntilClosingTime","in":"formData","description":"Allow bookings end time exceeds the opening hours Here you can choose whether it should be possible to make a reservation exceeding the opening hours. This should be ticked when a service duration is longer than 24 hours (possible to book over midnight).","type":"boolean","required":true,"x-nullable":false},{"name":"ValidFrom","in":"formData","description":"The timestamp to which the schedule is valid from","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"ValidTo","in":"formData","description":"The timestamp to which the schedule is valid to","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"StartTime","in":"formData","description":"The time for the schedule opening hours (starttime)","type":"string","required":true,"x-nullable":false},{"name":"EndTime","in":"formData","description":"The time for the schedule opening hours (endtime)","type":"string","required":true,"x-nullable":false},{"name":"NumberOfScheduleDays","in":"formData","description":"The number of days the schedule is valid from todays date","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"DaysOfWeek","in":"formData","description":"If recurring, an array indicating which days of the week the schedule recures on where 1 = Monday .. 7 = Sunday. When recurring then the time portion of the Fields From and To indicates the time of day the recurrence occurs","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"ScheduleDates","in":"formData","description":"If not recuring, an array indicating which dates that are open for the schedule.","type":"array","items":{"$ref":"#/definitions/AddRecurringScheduleDate"},"collectionFormat":"multi","required":false},{"name":"Exceptions","in":"formData","description":"Schedule exceptions. For example closed on lunch time between 12AM and 1PM. These times will be removed from the recurring schedule.","type":"array","items":{"$ref":"#/definitions/ScheduleException"},"collectionFormat":"multi","required":false},{"name":"Services","in":"formData","type":"array","items":{"$ref":"#/definitions/AddScheduleService"},"collectionFormat":"multi","required":false},{"name":"Resources","in":"formData","type":"array","items":{"$ref":"#/definitions/Resource"},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/TestRecurringSchedule"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AvailableTimesResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/AvailableTimesResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/schedules/date/test":{"post":{"tags":["schedules"],"summary":"Test date schedule","description":"Test date schedule, only administrators are allowed to test schedules.","operationId":"TestDateScheduledatetest_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ScheduleDates","in":"formData","description":"The dates for the schedule. This is the actual timeslots.","type":"array","items":{"$ref":"#/definitions/AddDateScheduleDate"},"collectionFormat":"multi","required":true},{"name":"From","in":"query","description":"From what datetime to show available times","type":"dateTime","format":"date-time","required":true,"x-nullable":false},{"name":"To","in":"query","description":"To what datetime to show available times","type":"dateTime","format":"date-time","required":true,"x-nullable":false},{"name":"ServiceId","in":"formData","description":"The Service Duration","type":"integer","format":"int32","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/TestDateSchedule"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AvailableTimesResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/AvailableTimesResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/schedules/recurring/{Id}":{"put":{"tags":["schedules"],"summary":"Update recurring schedule","description":"Update recurring schedule to the company for the currently logged in user, only administrators are allowed to update schedules.","operationId":"UpdateRecurringSchedulerecurringId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"Id","in":"path","description":"Id of the schedule to update","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Name","in":"formData","description":"The schedule name","type":"string","required":false},{"name":"Description","in":"formData","description":"The schedule description","type":"string","required":false},{"name":"Active","in":"formData","description":"If schedule is active or not","type":"boolean","required":false},{"name":"TimeInterval","in":"formData","description":"Time interval for available times Here you set the interval at which times should appear. For example, if you select the range 15minutes, and your service has an duration of 1 hour and opening hours are 9AM to 6PM you will see the following suggested times: 09AM-10PM 09:15AM-10:15PM, 09:30AM-10:30PM ,  ..... 04:45PM-05:45, 05:00PM-06:00PM","type":"integer","format":"int32","required":true},{"name":"EnableBookingUntilClosingTime","in":"formData","description":"Allow bookings end time exceeds the opening hours Here you can choose whether it should be possible to make a reservation exceeding the opening hours. This should be ticked when a service duration is longer than 24 hours (possible to book over midnight).","type":"boolean","required":true},{"name":"ValidFrom","in":"formData","description":"The timestamp to which the schedule is valid from","type":"string","format":"date-time","required":true},{"name":"ValidTo","in":"formData","description":"The timestamp to which the schedule is valid to","type":"string","format":"date-time","required":true},{"name":"StartTime","in":"formData","description":"The time for the schedule opening hours (starttime)","type":"string","required":true},{"name":"EndTime","in":"formData","description":"The time for the schedule opening hours (endtime)","type":"string","required":true},{"name":"NumberOfScheduleDays","in":"formData","description":"The number of days the schedule is valid from todays date","type":"integer","format":"int32","required":true},{"name":"DaysOfWeek","in":"formData","description":"A comma separated list of which days this day exception belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"ScheduleDates","in":"formData","description":"If not recuring, an array indicating which dates that are open for the schedule.","type":"array","items":{"$ref":"#/definitions/AddRecurringScheduleDate"},"collectionFormat":"multi","required":false},{"name":"Exceptions","in":"formData","description":"Schedule exceptions. For example closed on lunch time between 12AM and 1PM. These times will be removed from the recurring schedule.","type":"array","items":{"$ref":"#/definitions/ScheduleException"},"collectionFormat":"multi","required":false},{"name":"Resources","in":"formData","description":"If the schedule is only connected to some resources, add them here. If empty, it will be used by all resources.","type":"array","items":{"$ref":"#/definitions/AddScheduleResource"},"collectionFormat":"multi","required":false},{"name":"Services","in":"formData","description":"Set what services the schedule should be connected to.","type":"array","items":{"$ref":"#/definitions/AddScheduleService"},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateRecurringSchedule"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/RecurringScheduleQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/RecurringScheduleQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["schedules"],"summary":"Remove a recurring schedule","description":"Remove recurring schedule.","operationId":"DeleteRecurringSchedulerecurringId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"The schedule id","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/RecurringScheduleQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/schedules/date/{Id}":{"put":{"tags":["schedules"],"summary":"Update date schedule","description":"Update date schedule to the company for the currently logged in user, only administrators are allowed to add schedules.","operationId":"UpdateDateScheduledateId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"Id","in":"path","description":"Id of the schedule to update","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Name","in":"formData","description":"The schedule name","type":"string","required":false},{"name":"Description","in":"formData","description":"The schedule description","type":"string","required":false},{"name":"Active","in":"formData","description":"If schedule is active or not","type":"boolean","required":false},{"name":"NumberOfScheduleDays","in":"formData","description":"The number of days the schedule is valid from todays date","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"ScheduleDates","in":"formData","description":"The dates for the schedule. This is the actual timeslots.","type":"array","items":{"$ref":"#/definitions/AddDateScheduleDate"},"collectionFormat":"multi","required":false},{"name":"Resources","in":"formData","description":"If the schedule is only connected to some resources, add them here. If empty, it will be used by all resources.","type":"array","items":{"$ref":"#/definitions/AddScheduleResource"},"collectionFormat":"multi","required":false},{"name":"Services","in":"formData","description":"Set what services the schedule should be connected to.","type":"array","items":{"$ref":"#/definitions/AddScheduleService"},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateDateSchedule"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/DateScheduleQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/DateScheduleQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["schedules"],"summary":"Remove a date schedule","description":"Remove date schedule.","operationId":"DeleteDateScheduledateId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"The schedule id","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/DateScheduleQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/prices":{"get":{"tags":["services"],"summary":"Get all prices for all services","description":"Get all prices for all services","operationId":"ServicePricesQueryprices_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Company to show services for","type":"string","required":false},{"name":"ServiceId","in":"query","description":"Service id","type":"integer","format":"int32","required":false},{"name":"Active","in":"query","description":"Only get prices for active services","type":"boolean","required":false},{"name":"MaxLimit","in":"query","description":"The max limit of records you want to retrieve, default is 100","type":"int","format":"int32","required":false},{"name":"IncludeServiceInformation","in":"query","description":"If you want to include the service information for the booking","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_ServicePriceResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/prices/":{"post":{"tags":["services"],"summary":"Create a price","description":"Create a new price on the service","operationId":"CreateServicePriceprices_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"ServiceId","in":"formData","description":"The service id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Price","in":"formData","description":"The price","type":"number","format":"double","required":true,"x-nullable":false},{"name":"CurrencyId","in":"formData","description":"The price currency","type":"string","required":true},{"name":"CalculationTypeId","in":"formData","description":"The price calculation type id, 1 = Normal, price is for the service total duration, 2 = Price is per minute, 3 = Price is per hour, 4= Price is per day","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"VAT","in":"formData","description":"The price VAT in percent","type":"number","format":"double","required":true,"x-nullable":false},{"name":"Category","in":"formData","description":"The price category if price has a category","type":"string","required":false},{"name":"From","in":"formData","description":"The valid from date for the price.","type":"string","format":"date-time","required":false,"x-nullable":false},{"name":"To","in":"formData","description":"The valid to date for the price.","type":"string","format":"date-time","required":false,"x-nullable":false},{"name":"DaysOfWeek","in":"formData","description":"If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"FromTime","in":"formData","description":"If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"string","required":false},{"name":"ToTime","in":"formData","description":"If the price is only valid for a specific time span during a time of day enter the FromTime and ToTime parameters.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateServicePrice"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ServicePriceResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/scheduletypes":{"get":{"tags":["services"],"summary":"Get all available scheduletypes","description":"Get all available scheduletypes to choose from","operationId":"ScheduleTypeQueryscheduletypes_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ScheduleTypeResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/durationtypes":{"get":{"tags":["services"],"summary":"Get all available duration types","description":"Get all available duration types to choose from","operationId":"DurationTypeQuerydurationtypes_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/DurationTypeResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/groups":{"get":{"tags":["services"],"summary":"Get all grouping headers for services","description":"Get all service group headers","operationId":"ServiceGroupsQuerygroups_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Company to show service groups for","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ServiceGroupsQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/{Id}":{"put":{"tags":["services"],"summary":"Update service","description":"Update service to the company for the currently logged in user, only administrators are allowed to add services.","operationId":"UpdateServiceId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the service","type":"integer","format":"int32","required":true},{"name":"Name","in":"formData","description":"The service name","type":"string","required":false},{"name":"Description","in":"formData","description":"The service description","type":"string","required":false},{"name":"Group","in":"formData","description":"The service group","type":"string","required":false},{"name":"Active","in":"formData","description":"If service is active or not","type":"boolean","required":false},{"name":"DurationTypeId","in":"formData","description":"What type of duration should be used for the service.  Normal = 1, Flexible = 2. Flexible means user can select duration.","type":"integer","format":"int32","required":false},{"name":"BookingStatusId","in":"formData","description":"If the booking should be either 1 = Booked) or 3 = Reserved. Default is 1 = Booked.","type":"integer","format":"int32","required":false},{"name":"PauseAfterBooking","in":"formData","description":"Pause after each booking on this service in minutes","type":"integer","format":"int32","required":false},{"name":"UnbookBeforeDays","in":"formData","description":"Last time to unbook service in days","type":"integer","format":"int32","required":false},{"name":"UnbookBeforeHours","in":"formData","description":"Last time to unbook service in hours","type":"integer","format":"int32","required":false},{"name":"UnbookBeforeMinutes","in":"formData","description":"Last time to unbook service in minutes","type":"integer","format":"int32","required":false},{"name":"BookBeforeDays","in":"formData","description":"Last time to book service in days","type":"integer","format":"int32","required":false},{"name":"EnableBookingQueue","in":"formData","description":"If you want to allow customers to add themself into a queue if fullybooked. Settings for this is handled in BookingSettings.","type":"boolean","required":false},{"name":"EnableCodeLockSync","in":"formData","description":"If you want to enable sync to code lock for this service. Settings is handled in CodeLockSettings.","type":"boolean","required":false},{"name":"EnableGoogleMeetBooking","in":"formData","description":"If you want to enable automatic Google Meet creation for bookings on this service.","type":"boolean","required":false},{"name":"EnableCustomerManualPayment","in":"formData","description":"If you want to allow customer pay manually at the spot etc.","type":"boolean","required":true},{"name":"BookBeforeHours","in":"formData","description":"Last time to book service in hours","type":"integer","format":"int32","required":false},{"name":"BookBeforeMinutes","in":"formData","description":"Last time to book service in minutes","type":"integer","format":"int32","required":false},{"name":"Duration","in":"formData","description":"The duration of the service in minutes","type":"integer","format":"int32","required":false},{"name":"MinDuration","in":"formData","description":"When using Duration Intervals then set the Min Duration a customer can book","type":"integer","format":"int32","required":false},{"name":"MaxDuration","in":"formData","description":"When using Duration Intervals then set the Max Duration a customer can book","type":"integer","format":"int32","required":false},{"name":"DurationInterval","in":"formData","description":"The duration interval of the service when allowing customers to book in intervals","type":"integer","format":"int32","required":false},{"name":"ShouldPayReservationCost","in":"formData","description":"If the service must be payed with reservation cost","type":"boolean","required":false},{"name":"ShouldPayFullCost","in":"formData","description":"Setting if the service must be payed with full cost","type":"boolean","required":false},{"name":"TotalSpots","in":"formData","description":"The number of spots on the service","type":"integer","format":"int32","required":false},{"name":"LockSpotsToBooking","in":"formData","description":"If this setting is turned on the remaining spots (if Totalspots \u003E 1) is locked from be booked by another customer.","type":"boolean","required":false},{"name":"PriceViewTypeId","in":"formData","description":"Price view type","type":"integer","format":"int32","required":false},{"name":"GroupBooking","in":"formData","schema":{"$ref":"#/definitions/GroupBookingSettings"},"description":"Group booking settings","required":false},{"name":"MultipleResource","in":"formData","schema":{"$ref":"#/definitions/MultipleResourceSettings"},"description":"Multiple resource booking settings","required":false},{"name":"SortOrder","in":"formData","description":"SortOrder","type":"integer","format":"int32","required":false},{"name":"OnlyVisibleByAdmin","in":"formData","description":"If the service only is bookable by admins","type":"boolean","required":false},{"name":"IsPaymentEnabled","in":"formData","description":"If payment should be enabled on the service","type":"boolean","required":false},{"name":"MaxPaymentTime","in":"formData","description":"Maximum numbers of minutes the booking payment must be completed before automatically umbooked","type":"integer","format":"int32","required":false},{"name":"ImageUrl","in":"formData","schema":{"$ref":"#/definitions/Uri"},"description":"The service image","required":false},{"name":"ResourceTypes","in":"formData","description":"The resourcetypes to be added","type":"array","items":{"$ref":"#/definitions/AddResourceTypeService"},"collectionFormat":"multi","required":false},{"name":"Schedules","in":"formData","schema":{"$ref":"#/definitions/AddSchedulesToService"},"description":"The schedules to be added","required":false},{"name":"CustomFields","in":"formData","description":"If Custom Fields are added to the service, here you will send the id and the value for each custom field to be updated","type":"array","items":{"$ref":"#/definitions/AddCustomField"},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateService"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ServiceQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["services"],"summary":"Delete a service","description":"Delete a service for the currently logged in user, only administrators are allowed to delete service.","operationId":"DeleteServiceId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the service","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ServiceQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/grouped":{"get":{"tags":["services"],"description":"\n\n**Rate Limit:** One request every 3.25 seconds per API key. Exceeding this limit returns HTTP 429 (Too Many Requests).","operationId":"GroupedServiceQuerygrouped_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Company to show services for","type":"string","required":false},{"name":"Active","in":"query","description":"Service status","type":"boolean","required":false},{"name":"IncludeResources","in":"query","description":"If you want to include the connected resource types and resources","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeSchedules","in":"query","description":"If you want to include the connected schedules","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCustomFields","in":"query","description":"If you want to include the connected custom fields","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCustomFieldValues","in":"query","description":"If you want to include the connected resource types and resources","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeBookingCustomFields","in":"query","description":"If you want to include the connected custom fields needs to be entered when booking a new time on the service","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCustomerCustomFields","in":"query","description":"If you want to include the connected custom fields for the customers","type":"boolean","required":false,"x-nullable":false},{"name":"IncludePrices","in":"query","description":"If you want to include the service prices","type":"boolean","required":false,"x-nullable":false},{"name":"PriceDate","in":"query","description":"If you have selected to include the prices, here you can set the date to show the prices for","type":"dateTime","format":"date-time","required":false},{"name":"PriceTime","in":"query","description":"If you have selected to include the prices, here you can set the datetime to show the exact price","type":"timeSpan","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_GroupedServiceQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/priceviewtypes":{"get":{"tags":["services"],"summary":"Get all PriceViewTypes","description":"Get all PriceViewTypes","operationId":"PriceViewTypeQuerypriceviewtypes_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Skip","in":"query","type":"integer","format":"int32"},{"name":"Take","in":"query","type":"integer","format":"int32"},{"name":"OrderBy","in":"query","type":"string"},{"name":"OrderByDesc","in":"query","type":"string"},{"name":"Include","in":"query","type":"string"},{"name":"Fields","in":"query","type":"string"},{"name":"Meta","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_PriceViewTypeQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/prices/calculationtypes":{"get":{"tags":["services"],"summary":"Get all available price calculation types","description":"Get all available price calculation types to choose from","operationId":"PriceCalculationTypeQuerypricescalculationtypes_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PriceCalculationTypeResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/prices/mappings":{"get":{"tags":["services"],"summary":"Get all price mappings for all service prices","description":"Get all prices mapping for all service prices","operationId":"ServicePricesMappingQuerypricesmappings_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Company to show services for","type":"string","required":false},{"name":"ReferenceType","in":"query","description":"ReferenceType","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ServicePriceMappingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["services"],"summary":"Update price mappings for service prices","description":"Update price mappings for service prices","operationId":"UpdateServicePricesMappingpricesmappings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"Company to show services for","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateServicePricesMapping"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ServicePriceMappingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/prices/{Id}":{"put":{"tags":["services"],"summary":"Update a price","description":"Update a price on a service","operationId":"UpdateServicePricepricesId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the price","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Price","in":"formData","description":"The price","type":"number","format":"double","required":false,"x-nullable":false},{"name":"CurrencyId","in":"formData","description":"The price currency","type":"string","required":false},{"name":"CalculationTypeId","in":"formData","description":"The price calculation type id, 1 = Normal, price is for the service total duration, 2 = Price is per minute, 3 = Price is per hour, 4= Price is per day","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"VAT","in":"formData","description":"The price VAT in percent","type":"number","format":"double","required":false,"x-nullable":false},{"name":"Category","in":"formData","description":"The price category if price has a category","type":"string","required":false},{"name":"From","in":"formData","description":"The valid from date for the price.","type":"string","format":"date-time","required":false,"x-nullable":false},{"name":"To","in":"formData","description":"The valid to date for the price.","type":"string","format":"date-time","required":false,"x-nullable":false},{"name":"DaysOfWeek","in":"formData","description":"If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"FromTime","in":"formData","description":"If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"string","required":false},{"name":"ToTime","in":"formData","description":"If the price is only valid for a specific time span during a time of day enter the FromTime and ToTime parameters.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateServicePrice"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ServicePriceResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["services"],"summary":"Delete a price","description":"Delete a price on a service","operationId":"DeleteServicePricepricesId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"query","description":"The price id","type":"integer","format":"int32","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ServicePriceResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/{ServiceId}/availabletimes":{"get":{"tags":["services"],"summary":"Get availabletimes for the service","description":"Get availabletimes for the service and it\u0027s connected schedules\n\n**Rate Limit:** One request every 1 seconds per API key. Exceeding this limit returns HTTP 429 (Too Many Requests).","operationId":"AvailableTimesQueryServiceIdavailabletimes_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Company to show services for","type":"string","required":false},{"name":"ServiceId","in":"path","description":"Service id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"From","in":"query","description":"From what datetime to show available times","type":"dateTime","format":"date-time","required":true,"x-nullable":false},{"name":"To","in":"query","description":"To what datetime to show available times","type":"dateTime","format":"date-time","required":true,"x-nullable":false},{"name":"Resources","in":"query","description":"Here you can select one of the resource in each resourcetype connected to the service, if none is selected it will show available times for all","type":"array","items":{"$ref":"#/definitions/AvailableTimesResourceTypeResource"},"collectionFormat":"multi","required":false},{"name":"NumberOfResources","in":"query","description":"Here you select number of resources to book (in each resourcetype). Default is 1.","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"ShowPerResource","in":"query","description":"If you want to include the connected resource types and resources","type":"boolean","required":false,"x-nullable":false},{"name":"InsideSearchInterval","in":"query","description":"Both start and time time should be inside test interval. Default is false which means only start time needs to be inside.","type":"bool","required":false,"x-nullable":false},{"name":"Duration","in":"query","description":"The duration you want to book. Needs to withing the service Min and Max. If not set it will use the service duration","type":"bool","format":"int32","required":false},{"name":"ArticleIds","in":"query","description":"Article ids that should be booked with the service. The articles must be of type ServiceAddonArticle and connected to the service.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AvailableTimesResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/{ServiceId}/nextfreetime":{"get":{"tags":["services"],"summary":"Get the next available time for the service","description":"Get the next available time for the service\n\n**Rate Limit:** One request every 1.25 seconds per API key. Exceeding this limit returns HTTP 429 (Too Many Requests).","operationId":"NextFreeTimeQueryServiceIdnextfreetime_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Company to show available time for","type":"string","required":false},{"name":"ServiceId","in":"path","description":"Service id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"From","in":"query","description":"From what datetime to search available times","type":"dateTime","format":"date-time","required":true,"x-nullable":false},{"name":"To","in":"query","description":"To what datetime to show available times. Optional, if no datetime is set it will search one year","type":"dateTime","format":"date-time","required":true,"x-nullable":false},{"name":"Resources","in":"query","description":"Here you can select one of the resource in each resource type connected to the service, if none is selected it will show available times for all","type":"array","items":{"$ref":"#/definitions/AvailableTimesResourceTypeResource"},"collectionFormat":"multi","required":false},{"name":"NumberOfResources","in":"query","description":"Here you select number of resources to book (in each resource type). Default is 1.","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"Duration","in":"query","description":"The duration you want to book. Needs to withing the service Min and Max. If not set it will use the service duration","type":"bool","format":"int32","required":false},{"name":"ArticleIds","in":"query","description":"Article ids that should be booked with the service. The articles must be of type ServiceAddonArticle and connected to the service.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"ShowPerResource","in":"query","description":"If you want to include the connected resource types and resources","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AvailableTimesResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/{Id}/calculateprice":{"put":{"tags":["services"],"summary":"Calculate price on service","description":"Calculate an price on a service.","operationId":"CalculateTotalPriceOnServiceIdcalculateprice_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the service","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"BookingId","in":"formData","description":"Optional booking id. If provided, the response will also contain the price difference compared to the existing booking price.","type":"integer","format":"int32","required":false},{"name":"Interval","in":"formData","schema":{"$ref":"#/definitions/PriceInterval"},"description":"The price interval to be used for calculations","required":true},{"name":"RebateCodeIds","in":"formData","description":"Rebate codes applied to booking","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"ArticleIds","in":"formData","description":"Article ids that should be included in the price calculation. The articles must be of type ServiceAddonArticle and connected to the service.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"Quantities","in":"formData","description":"If you have selected to include the prices, here you can include the quantities to book to get the correct total price.","type":"array","items":{"$ref":"#/definitions/QuantityToBook"},"collectionFormat":"multi","required":false},{"name":"CustomerEmail","in":"formData","description":"","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CalculateTotalPriceOnService"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TotalPriceInformationResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/{Id}/addresourcetype":{"post":{"tags":["services"],"summary":"Add ResourceType(s) to service","description":"Add ResourceType(s) to service for the currently logged in user. Note: you will need to add all ResourceType(s) you want to have connected, only administrators are allowed to add ResourceType(s) to services.","operationId":"AddResourceTypeToServiceIdaddresourcetype_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id","type":"string","required":true,"x-nullable":false},{"name":"Id","in":"path","description":"The service id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"ResourceTypes","in":"formData","description":"The ResourceType(s) to be added","type":"array","items":{"$ref":"#/definitions/AddResourceTypeService"},"collectionFormat":"multi","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddResourceTypeToService"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ServiceQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/prices/mappings/{Id}":{"delete":{"tags":["services"],"summary":"Delete price mappings for service prices","description":"Delete price mappings for service prices","operationId":"DeleteServicePricesMappingpricesmappingsId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Company to delete price for","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the service","type":"string","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ServicePriceMappingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/{ServiceId}/availabletimes/grouped":{"get":{"tags":["services"],"summary":"Get availabletimes for the service","description":"Get availabletimes for the service and it\u0027s connected schedules\n\n**Rate Limit:** One request every 3.25 seconds per API key. Exceeding this limit returns HTTP 429 (Too Many Requests).","operationId":"AvailableTimesGroupedQueryServiceIdavailabletimesgrouped_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Company to show services for","type":"string","required":false},{"name":"ServiceId","in":"path","description":"Service id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"From","in":"query","description":"From what datetime to show available times","type":"dateTime","format":"date-time","required":true,"x-nullable":false},{"name":"To","in":"query","description":"To what datetime to show available times","type":"dateTime","format":"date-time","required":true,"x-nullable":false},{"name":"Resources","in":"query","description":"Here you can select one of the resource in each resourcetype connected to the service, if none is selected it will show available times for all","type":"array","items":{"$ref":"#/definitions/AvailableTimesResourceTypeResource"},"collectionFormat":"multi","required":false},{"name":"NumberOfResources","in":"query","description":"Here you select number of resources to book (in each resourcetype). Default is 1.","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"ShowPerResource","in":"query","description":"If you want to include the connected resourcetypes and resources","type":"boolean","required":false,"x-nullable":false},{"name":"InsideSearchInterval","in":"query","description":"Both start and time time should be inside test interval. Default is false which means only start time needs to be inside.","type":"bool","required":false,"x-nullable":false},{"name":"Duration","in":"query","description":"The duration you want to book. Needs to withing the service Min and Max. If not set it will use the service duration","type":"bool","format":"int32","required":false},{"name":"ArticleIds","in":"query","description":"Article ids that should be booked with the service. The articles must be of type ServiceAddonArticle and connected to the service.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AvailableTimesGroupedDatesResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/{Id}/recurringschedules/{RecurringScheduleId}":{"delete":{"tags":["services"],"summary":"Delete service RecurringSchedu","description":"Delete a service for the currently logged in user, only administrators are allowed to delete service.","operationId":"DeleteServiceRecurringScheduleIdrecurringschedulesRecurringScheduleId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Delete a schedules connected to service.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the service","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"RecurringScheduleId","in":"path","description":"Ids of Recurring schedules of the service to remove","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ServiceQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/{Id}/resourcetypes/{ResourceTypeId}":{"delete":{"tags":["services"],"summary":"Delete service resource types","description":"Delete a resource types connected to service.","operationId":"DeleteServiceResourceTypesIdresourcetypesResourceTypeId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the service","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"ResourceTypeId","in":"path","description":"Ids of Resource Type of the service to remove","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ServiceQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services/{Id}/dateschedules/{DateScheduleId}":{"delete":{"tags":["services"],"summary":"Delete service schedules","description":"Delete a service for the currently logged in user, only administrators are allowed to delete service.","operationId":"DeleteServiceDateScheduleIddateschedulesDateScheduleId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Delete a schedules connected to service.","type":"string","required":false},{"name":"Id","in":"path","description":"Id of the service","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"DateScheduleId","in":"path","description":"Ids of Date schedules of the service to remove","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ServiceQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/services":{"get":{"tags":["services"],"description":"\n\n**Rate Limit:** One request every 0.5 seconds per API key. Exceeding this limit returns HTTP 429 (Too Many Requests).","operationId":"ServiceQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Company to show services for","type":"string","required":false},{"name":"Id","in":"query","description":"If you only want to get a specific service","type":"integer","format":"int32","required":false},{"name":"Active","in":"query","description":"Service status","type":"boolean","required":false},{"name":"IncludeResources","in":"query","description":"If you want to include the connected resource types and resources","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeSchedules","in":"query","description":"If you want to include the connected schedules","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCustomFields","in":"query","description":"If you want to include the connected custom fields","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCustomFieldValues","in":"query","description":"If you want to include the connected custom fields selectable values","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeBookingCustomFields","in":"query","description":"If you want to include the connected custom fields needs to be entered when booking a new time on the service","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCustomerCustomFields","in":"query","description":"If you want to include the connected custom fields for the customers","type":"boolean","required":false,"x-nullable":false},{"name":"IncludePrices","in":"query","description":"If you want to include the service prices","type":"boolean","required":false,"x-nullable":false},{"name":"PriceDate","in":"query","description":"If you have selected to include the prices, here you can set the date to show the prices for","type":"dateTime","format":"date-time","required":false},{"name":"PriceTime","in":"query","description":"If you have selected to include the prices, here you can set the datetime to show the exact price","type":"timeSpan","required":false},{"name":"RebateCodeIds","in":"query","description":"If you have selected to include the prices, here you can include the rebate codes","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":false},{"name":"Quantities","in":"query","description":"If you have selected to include the prices, here you can include the quantities to book to get the correct total price.","type":"array","items":{"$ref":"#/definitions/QuantityToBook"},"collectionFormat":"multi","required":false},{"name":"IncludeBookingStatusOptions","in":"query","description":"If you want to include the booking status options to select from","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeRatingReviews","in":"query","description":"If you want to include the rating reviews","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeRatingSummary","in":"query","description":"If you want to include the rating summary","type":"boolean","required":false,"x-nullable":false},{"name":"IncludePricesFromOtherDays","in":"query","description":"If you want to filter out prices which or not active for the day","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_ServiceQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["services"],"summary":"Add new service","description":"Add service to the company for the currently logged in user, only administrators are allowed to add services.","operationId":"CreateService_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Name","in":"formData","description":"The service name","type":"string","required":false},{"name":"Description","in":"formData","description":"The service description","type":"string","required":false},{"name":"Group","in":"formData","description":"The service group","type":"string","required":false},{"name":"Active","in":"formData","description":"If service is active or not","type":"boolean","required":false,"x-nullable":false},{"name":"BookingStatusId","in":"formData","description":"If the booking should be either 1 = Booked) or 3 = Reserved. Default is 1 = Booked.","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"PauseAfterBooking","in":"formData","description":"Pause after each booking on this service in minutes","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"UnbookBeforeDays","in":"formData","description":"Last time to unbook service in days","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"UnbookBeforeHours","in":"formData","description":"Last time to unbook service in hours","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"UnbookBeforeMinutes","in":"formData","description":"Last time to unbook service in minutes","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"BookBeforeDays","in":"formData","description":"Last time to book service in days","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"BookBeforeHours","in":"formData","description":"Last time to book service in hours","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"BookBeforeMinutes","in":"formData","description":"Last time to book service in minutes","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"DurationTypeId","in":"formData","description":"What type of duration should be used for the service.  Normal = 1, Flexible = 2. Flexible means user can select duration.","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"Duration","in":"formData","description":"The duration of the service in minutes","type":"integer","format":"int32","required":false},{"name":"MinDuration","in":"formData","description":"When using Duration Intervals then set the Min Duration a customer can book in Minutes","type":"integer","format":"int32","required":false},{"name":"MaxDuration","in":"formData","description":"When using Duration Intervals then set the Max Duration a customer can book in Minutes","type":"integer","format":"int32","required":false},{"name":"DurationInterval","in":"formData","description":"The duration interval of the service when allowing customers to book in intervals in Minutes","type":"integer","format":"int32","required":false},{"name":"ShouldPayReservationCost","in":"formData","description":"If the service must be payed with reservation cost","type":"boolean","required":false,"x-nullable":false},{"name":"ShouldPayFullCost","in":"formData","description":"Setting if the service must be payed with full cost","type":"boolean","required":false,"x-nullable":false},{"name":"TotalSpots","in":"formData","description":"The number of spots on the service","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"LockSpotsToBooking","in":"formData","description":"If this setting is turned on the remaining spots (if Totalspots \u003E 1) is locked from be booked by another customer.","type":"boolean","required":false,"x-nullable":false},{"name":"GroupBooking","in":"formData","schema":{"$ref":"#/definitions/GroupBookingSettings"},"description":"Group booking settings","required":false},{"name":"MultipleResource","in":"formData","schema":{"$ref":"#/definitions/MultipleResourceSettings"},"description":"Multiple resource booking settings","required":false},{"name":"SortOrder","in":"formData","description":"SortOrder","type":"integer","format":"int32","required":false},{"name":"OnlyVisibleByAdmin","in":"formData","description":"If the service only is bookable by admins","type":"boolean","required":false,"x-nullable":false},{"name":"IsPaymentEnabled","in":"formData","description":"If payment should be enabled on the service","type":"boolean","required":false,"x-nullable":false},{"name":"MaxPaymentTime","in":"formData","description":"Maximum numbers of minutes the booking payment must be completed before automatically umbooked","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"ImageUrl","in":"formData","schema":{"$ref":"#/definitions/Uri"},"description":"The service image","required":false},{"name":"EnableBookingQueue","in":"formData","description":"If you want to allow customers to add them self into a queue if fully booked. Settings for this is handled in BookingSettings.","type":"boolean","required":true,"x-nullable":false},{"name":"EnableCodeLockSync","in":"formData","description":"If you want to enable sync to code lock for this service.","type":"boolean","required":true,"x-nullable":false},{"name":"EnableGoogleMeetBooking","in":"formData","description":"If you want to enable automatic Google Meet creation for bookings on this service.","type":"boolean","required":false,"x-nullable":false},{"name":"EnableCustomerManualPayment","in":"formData","description":"If you want to allow customer pay manually at the spot etc.","type":"boolean","required":false,"x-nullable":false},{"name":"ResourceTypes","in":"formData","description":"The resource types to be added","type":"array","items":{"$ref":"#/definitions/AddResourceTypeService"},"collectionFormat":"multi","required":false},{"name":"Schedules","in":"formData","schema":{"$ref":"#/definitions/AddSchedulesToService"},"description":"The schedules to be added","required":false},{"name":"CustomFields","in":"formData","description":"If Custom Fields are added to the service, here you will send the id and the value for each custom field to be added","type":"array","items":{"$ref":"#/definitions/AddCustomField"},"collectionFormat":"multi","required":false},{"name":"PriceViewTypeId","in":"formData","description":"By default sets to 1, which should be \u0027default\u0027 in database","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateService"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ServiceQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/ServiceQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/settings/changelog":{"get":{"tags":["settings"],"summary":"Get change log for settings","description":"Returns a log of all changes made to company settings. Supports filtering and pagination via AutoQuery.","operationId":"SettingsChangeLogQuerychangelog_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"SettingsType","in":"query","description":"Filter by settings type, e.g. BookingSettings, PaymentSettings, CompanySetting, EAccountingSettings","type":"string","required":false},{"name":"PropertyName","in":"query","description":"Filter by property name, e.g. SendEmailReminder","type":"string","required":false},{"name":"ModifiedBy","in":"query","description":"Filter by who made the change","type":"string","required":false},{"name":"CreatedDateGreaterThanOrEqualTo","in":"query","description":"Filter changes created on or after this date","type":"string","format":"date-time","required":false},{"name":"CreatedDateLessThanOrEqualTo","in":"query","description":"Filter changes created on or before this date","type":"string","format":"date-time","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_SettingsChangeLogQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_SettingsChangeLogQueryResponse_"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/QueryResponse_SettingsChangeLogQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/settings/errorcheck":{"get":{"tags":["settings"],"summary":"Will check your settings and return any errors.","description":"Will check if any errors in your settings and return them with suggestions how to fix.","operationId":"SettingsErrorCheckerrorcheck_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SettingsErrorCheckResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/SettingsErrorCheckResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/SettingsErrorCheckResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/settings/system":{"get":{"tags":["settings"],"summary":"Get system settings for the currently logged in user","description":"Get system settings for the currently logged in user.","operationId":"SystemSettingQuerysystem_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"IncludeLanguageOptions","in":"query","description":"If you want to include the language options to select from","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SystemSettingsResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/SystemSettingsResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/SystemSettingsResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["settings"],"summary":"Update system settings for the currently logged in user","description":"Update system settings for the currently logged in user.","operationId":"UpdateSystemSettingsystem_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Active","in":"formData","description":"If the booking is active or not","type":"bool","required":false},{"name":"InactiveMessage","in":"formData","description":"If the booking is not active, what message to show to the customers","type":"string","required":false},{"name":"Searchable","in":"formData","description":"If the company should be visible in search results on homepage","type":"bool","required":false},{"name":"GATrackingId","in":"formData","description":"If you have a Google Analytics account and want to track your customers behaviors.","type":"string","required":false},{"name":"GoogleAdsConversionId","in":"formData","description":"If you have a Google Ads Conversion Id account and want to track your customers behaviors.","type":"string","required":false},{"name":"LinkedinTagId","in":"formData","description":"If you have a LinkedIn account and want to track your customers behaviors.","type":"string","required":false},{"name":"GoogleAdsConversionLabel","in":"formData","description":"If you have a Google Ads Conversion Label and want to track your customers behaviors.","type":"string","required":false},{"name":"GTMTrackingId","in":"formData","description":"If you have a Google Tag Manager account and want to track your customers behaviors.","type":"string","required":false},{"name":"FacebookPixelId","in":"formData","description":"If you have a Facebook account and want to track your customers behaviors.","type":"string","required":false},{"name":"ShowOnMarketplace","in":"formData","description":"If the company should be visible on the marketplace","type":"bool","required":false},{"name":"MultiLanguage","in":"formData","description":"If you want your customers to be able to change language on your homepage","type":"bool","required":false},{"name":"EnableAPITranslation","in":"formData","description":"If you want your own written text on your homepage to be translated using Google Translate when a user changes language","type":"bool","required":false},{"name":"DefaultLanguage","in":"formData","description":"What is the standard language your homepage information is written in. Select from the different countries, i.e. SE,NO,EN","type":"string","required":false},{"name":"SendCustomerInformationToExternalProviders","in":"formData","description":"If you want to allow to send customer information in the tracking events to the external providers. Note you as a company are responsible for informing your customers and handling the data in terms of GDPR. ","type":"boolean","required":false},{"name":"SMSMessageDailySendLimit","in":"formData","description":"The maximum number of SMS messages that can be sent per day.","type":"integer","format":"int32","required":false},{"name":"EmailMessageDailySendLimit","in":"formData","description":"The maximum number of email messages that can be sent per day.","type":"integer","format":"int32","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateSystemSetting"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SystemSettingsResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/SystemSettingsResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/SystemSettingsResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/settings/changelog/types":{"get":{"tags":["settings"],"summary":"Get distinct settings types from the change log","description":"Returns a list of all distinct settings types that have been logged for the company. Useful for populating filter dropdowns.","operationId":"SettingsChangeLogTypesQuerychangelogtypes_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"title":"List\u003CSettingsChangeLogTypeResponse\u003E","type":"array","items":{"$ref":"#/definitions/SettingsChangeLogTypeResponse"}}},"401":{"description":"You were unauthorized to call this service","schema":{"title":"List\u003CSettingsChangeLogTypeResponse\u003E","type":"array","items":{"$ref":"#/definitions/SettingsChangeLogTypeResponse"}}},"403":{"description":"You have too low privileges to call this service","schema":{"title":"List\u003CSettingsChangeLogTypeResponse\u003E","type":"array","items":{"$ref":"#/definitions/SettingsChangeLogTypeResponse"}}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/settings":{"get":{"tags":["settings"],"summary":"Get settings for the currently logged in user","description":"Get settings for the currently logged in user.","operationId":"BookingSettingQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"IncludeScheduleViewOptions","in":"query","description":"If you want to include the schedule views to select from","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeWeekNumberOptions","in":"query","description":"If you want to include the week number settings to select from","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeBookingTemplateOptions","in":"query","description":"If you want to include the booking template options to select from","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCalendarTypeOptions","in":"query","description":"If you want to include the calendar type options to select from","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeBookingStatusOptions","in":"query","description":"If you want to include the booking status options to select from","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeFreeSpotTextOptions","in":"query","description":"If you want to include the Free spot text options to select from","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookingSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/BookingSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["settings"],"summary":"Update settings for the company of the currently logged in user","description":"Update settings for the company of the currently logged in user.","operationId":"UpdateBookingSettings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"BookingStatusId","in":"formData","description":"","type":"int","format":"int32","required":false},{"name":"ScheduleViewId","in":"formData","description":"","type":"int","format":"int32","required":false},{"name":"BookingTemplateId","in":"formData","description":"","type":"int","format":"int32","required":false},{"name":"CalendarTypeId","in":"formData","description":"","type":"int","format":"int32","required":false},{"name":"AllowBookingOnUnbookedTimes","in":"formData","description":"","type":"bool","required":false},{"name":"SendEmailReminder","in":"formData","description":"","type":"boolean","required":false},{"name":"SendSmsReminder","in":"formData","description":"","type":"boolean","required":false},{"name":"SendEmailConfirmation","in":"formData","description":"","type":"boolean","required":false},{"name":"SendSmsConfirmation","in":"formData","description":"","type":"boolean","required":false},{"name":"SendPushNotification","in":"formData","description":"If the customer should receive Push notification when booked","type":"boolean","required":false},{"name":"SendPushNotificationReminder","in":"formData","description":"If the customer should receive Push notification reminders on bookings","type":"boolean","required":false},{"name":"PushNotificationReminderTime","in":"formData","description":"How many minutes before booking starts the customer should receive the notification","type":"int","format":"int32","required":false,"x-nullable":false},{"name":"EmailReminderTime","in":"formData","description":"","type":"int","format":"int32","required":false},{"name":"SmsReminderTime","in":"formData","description":"","type":"int","format":"int32","required":false},{"name":"MaxActiveBookings","in":"formData","description":"","type":"int","format":"int32","required":false},{"name":"SendNotifications","in":"formData","description":"","type":"bool","required":false},{"name":"SendNotificationsEmail","in":"formData","description":"","type":"string","required":false},{"name":"MessageText","in":"formData","description":"Message text field that could be used inside message templates using [MessageText].","type":"string","required":false},{"name":"EnableMobileApp","in":"formData","description":"","type":"bool","required":false},{"name":"ScheduleStartTime","in":"formData","description":"The admin scheduler start time to show as default","type":"string","required":false},{"name":"ScheduleEndTime","in":"formData","description":"The admin scheduler end time to show as default","type":"string","required":false},{"name":"ReceiptTemplate","in":"formData","description":"Booking receipt text.","type":"string","required":false},{"name":"ScheduleTimeSlotMinutes","in":"formData","description":"The admin scheduler minutes of each timeslot","type":"integer","format":"int32","required":false},{"name":"ScheduleGroupResources","in":"formData","description":"The admin scheduler if each resources should be shown in a separate group","type":"boolean","required":false},{"name":"SchedulerDisableHorizontalScrolling","in":"formData","description":"The admin scheduler if the horizontal scrolling should be turned off","type":"boolean","required":false},{"name":"BookOnlyOnExistingCustomers","in":"formData","description":"If it\u0027s only allowed for existing customers to book","type":"boolean","required":false},{"name":"AutoGenerateUniquePinCode","in":"formData","description":"If the system should auto generate a unique pin code for customers","type":"boolean","required":false},{"name":"RequireCustomerPinCode","in":"formData","description":"If the customer is required to enter a pin code to create a booking","type":"boolean","required":false},{"name":"AutoCreateUserProfile","in":"formData","description":"If a user profile should be created when customer is booking time. With the property customer can login.","type":"boolean","required":false},{"name":"FollowUpMessageTime","in":"formData","description":"When follow up message should be sent in hours after the booking.","type":"integer","format":"int32","required":false},{"name":"ShowFreeTimesLeft","in":"formData","description":"","type":"boolean","required":false},{"name":"FreeSpotTextsId","in":"formData","description":"","type":"integer","format":"int32","required":false},{"name":"EnableICalGroupBookings","in":"formData","description":"","type":"boolean","required":false},{"name":"AgreementTemplate","in":"formData","description":"Booking agreement text. All html needs to entered using markup. Read about markup here https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet. Use this editor to create markup https://stackedit.io/app#","type":"string","required":false},{"name":"ScheduleShowTimeExeptions","in":"formData","description":"","type":"boolean","required":false},{"name":"EnableBookingsOnSameTime","in":"formData","description":"","type":"boolean","required":false},{"name":"ShowWeekNumberSettingId","in":"formData","description":"","type":"integer","format":"int32","required":false},{"name":"EnableShowBookedTimes","in":"formData","description":"","type":"boolean","required":false},{"name":"EnableSendFollowUpMessage","in":"formData","description":"","type":"boolean","required":false},{"name":"BookSpotUserResponseMinutes","in":"formData","description":"","type":"int","format":"int32","required":false},{"name":"IsBookSpotDirectly","in":"formData","description":"","type":"boolean","required":false},{"name":"BookSpotDirectlyTimeLeftMinutes","in":"formData","description":"","type":"int","format":"int32","required":false},{"name":"SendEmailNotificationQueue","in":"formData","description":"","type":"int","required":false},{"name":"SendSMSNotificationQueue","in":"formData","description":"","type":"boolean","required":false},{"name":"WeightedPrices","in":"formData","description":"If you have different prices over different times per day and want it to calculate the weighted price for the booked time.","type":"boolean","required":false},{"name":"ShowMultiDayAsTime","in":"formData","description":"","type":"boolean","required":false},{"name":"ShowMultipleResourcesAsOne","in":"formData","description":"","type":"boolean","required":false},{"name":"BookingPinCodeRestriction","in":"formData","description":"If booking should be restricted by a pin code","type":"string","required":false},{"name":"CustomerInvoiceAdressRequired","in":"formData","description":"Customer Invoice Address will be required when creating booking","type":"boolean","required":false},{"name":"ShowPersonalIdentityNumber","in":"formData","description":"Show Personal Identity Number in booking form","type":"boolean","required":false},{"name":"PersonalIdentityNumberRequired","in":"formData","description":"Personal Identity Number is required when creating booking","type":"boolean","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateBookingSettings"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/BookingSettingResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/BookingSettingResponse"}},"403":{"description":"You have too low privileges to call this service","schema":{"$ref":"#/definitions/BookingSettingResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/statistics":{"get":{"tags":["statistics"],"operationId":"StatisticQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"From","in":"query","description":"Start of interval to get bookings and customers","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"To","in":"query","description":"End of interval to get bookings and customers","type":"string","format":"date-time","required":true,"x-nullable":false},{"name":"IncludeOccuringBookingsByDay","in":"query","description":"Set true if you want to include booked events by day","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeBookingsCanceledByDay","in":"query","description":"Set true if you want to include canceled booked events by day","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCreatedBookingsByDay","in":"query","description":"Set true if you want to include booking created by day","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCreatedCustomersByDay","in":"query","description":"Set true if you want to include customers created by day","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/StatisticQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/StatisticQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/StatisticQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/superadmin/support/cases":{"get":{"tags":["superadmin"],"summary":"Get company support cases","description":"Get company support cases.","operationId":"SuperAdminSupportCaseQuerysupportcases_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Active","in":"query","description":"If you want to search on active support cases","type":"boolean","required":false},{"name":"Id","in":"query","description":"Support Case Id","type":"int","format":"int32","required":false},{"name":"IncludeComments","in":"query","description":"If you want to include the support case comments","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCaseStatusInformation","in":"query","description":"If you want to include the support case status information","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCaseTypeInformation","in":"query","description":"If you want to include the support case type information","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCaseAreaInformation","in":"query","description":"If you want to include the support case area information","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCaseComments","in":"query","description":"If you want to include the support case comments","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCaseAttachments","in":"query","description":"If you want to include the support case attachments","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCaseStatusOptions","in":"query","description":"If you want to include the support case status  options to select from","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCaseTypeOptions","in":"query","description":"If you want to include the support case type  options to select from","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCaseAreaOptions","in":"query","description":"If you want to include the support case area options to select from","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["superadmin"],"summary":"Add a new support case","description":"Add a new support case to the company of the currently logged in user, only administrators are allowed to add support cases.","operationId":"SuperAdminCreateSupportCasesupportcases_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"Title","in":"formData","description":"The case title.","type":"string","required":false},{"name":"Description","in":"formData","description":"The case description.","type":"string","required":false},{"name":"CaseTypeId","in":"formData","description":"If the case type id.","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"CaseAreaId","in":"formData","description":"If the case area id.","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/SuperAdminCreateSupportCase"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SupportCaseQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/SupportCaseQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/SupportCaseQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/superadmin/support/cases/status":{"get":{"tags":["superadmin"],"summary":"Get all valid support case statuses","description":"Get all valid support case statuses.","operationId":"SuperAdminSupportCaseStatusQuerysupportcasesstatus_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Skip","in":"query","type":"integer","format":"int32"},{"name":"Take","in":"query","type":"integer","format":"int32"},{"name":"OrderBy","in":"query","type":"string"},{"name":"OrderByDesc","in":"query","type":"string"},{"name":"Include","in":"query","type":"string"},{"name":"Fields","in":"query","type":"string"},{"name":"Meta","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseStatusResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseStatusResponse_"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseStatusResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/superadmin/support/cases/types":{"get":{"tags":["superadmin"],"summary":"Get all valid support case types","description":"Get all valid support case types.","operationId":"SuperAdminSupportCaseTypeQuerysupportcasestypes_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Skip","in":"query","type":"integer","format":"int32"},{"name":"Take","in":"query","type":"integer","format":"int32"},{"name":"OrderBy","in":"query","type":"string"},{"name":"OrderByDesc","in":"query","type":"string"},{"name":"Include","in":"query","type":"string"},{"name":"Fields","in":"query","type":"string"},{"name":"Meta","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseTypeResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseTypeResponse_"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseTypeResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/superadmin/support/cases/areas":{"get":{"tags":["superadmin"],"summary":"Get all valid support case areas","description":"Get all valid support case areas.","operationId":"SuperAdminSupportCaseAreaQuerysupportcasesareas_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Skip","in":"query","type":"integer","format":"int32"},{"name":"Take","in":"query","type":"integer","format":"int32"},{"name":"OrderBy","in":"query","type":"string"},{"name":"OrderByDesc","in":"query","type":"string"},{"name":"Include","in":"query","type":"string"},{"name":"Fields","in":"query","type":"string"},{"name":"Meta","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseAreaResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseAreaResponse_"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseAreaResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/superadmin/support/cases/{Id}":{"put":{"tags":["superadmin"],"summary":"Update a support case","description":"Update a support case to the company of the currently logged in user, only administrators are allowed to add support cases.","operationId":"SuperAdminUpdateSupportCasesupportcasesId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"Id","in":"path","description":"The support case id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Title","in":"formData","description":"The case title.","type":"string","required":false},{"name":"Description","in":"formData","description":"The case description.","type":"string","required":false},{"name":"CaseTypeId","in":"formData","description":"If the case type id.","type":"integer","format":"int32","required":false},{"name":"CaseAreaId","in":"formData","description":"If the case area id.","type":"integer","format":"int32","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/SuperAdminUpdateSupportCase"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SupportCaseQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/SupportCaseQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/SupportCaseQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/superadmin/support/cases/{SupportCaseId}/comments":{"get":{"tags":["superadmin"],"summary":"Get all support case comments","description":"Get all support case comments.","operationId":"SuperAdminSupportCaseCommentQuerysupportcasesSupportCaseIdcomments_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"SupportCaseId","in":"path","description":"The support case id","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseCommentsResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseCommentsResponse_"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseCommentsResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/superadmin/support/cases/{SupportCaseId}/attachments":{"get":{"tags":["superadmin"],"summary":"Get all support case attachments","description":"Get all support case attachments.","operationId":"SuperAdminSupportCaseAttachmentQuerysupportcasesSupportCaseIdattachments_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"SupportCaseId","in":"path","description":"The support case id","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseAttachmentResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseAttachmentResponse_"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseAttachmentResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/superadmin/support/cases/{Id}/comments":{"post":{"tags":["superadmin"],"summary":"Add a new support case comment","description":"Add a new support case comment to the support case with the prvoided id for the currently logged in user, only administrators are allowed to add support cases.","operationId":"SuperAdminAddSupportCaseCommentsupportcasesIdcomments_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":false},{"name":"Id","in":"path","description":"The support case id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Comment","in":"formData","description":"The case comment.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/SuperAdminAddSupportCaseComment"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SupportCaseCommentsResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/SupportCaseCommentsResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/SupportCaseCommentsResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/superadmin/support/cases/{Id}/attachments":{"post":{"tags":["superadmin"],"summary":"Add a new support case comment","description":"Add a new support case attachment as image to the support case with the prvoided id for the currently logged in user, only administrators are allowed to add support cases.","operationId":"SuperAdminAddSupportCaseAttachmentsupportcasesIdattachments_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"Id","in":"path","description":"The support case id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"FileUrl","in":"formData","description":"The case attachment url. Only images are allowed to attach.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/SuperAdminAddSupportCaseAttachment"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SupportCaseAttachmentResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/SupportCaseAttachmentResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/SupportCaseAttachmentResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/superadmin/support/cases/{SupportCaseId}/comments/{Id}":{"delete":{"tags":["superadmin"],"summary":"Delete a case comment","description":"Delete a support case comment logged in user, only administrators are allowed to delete support case comments.","operationId":"SuperAdminDeleteSupportCaseCommentsupportcasesSupportCaseIdcommentsId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"SupportCaseId","in":"path","description":"The support case id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Id","in":"path","description":"The support case comment id","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SupportCaseCommentsResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/support/cases/status":{"get":{"tags":["support"],"summary":"Get all valid support case statuses","description":"Get all valid support case statuses.","operationId":"SupportCaseStatusQuerycasesstatus_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Skip","in":"query","type":"integer","format":"int32"},{"name":"Take","in":"query","type":"integer","format":"int32"},{"name":"OrderBy","in":"query","type":"string"},{"name":"OrderByDesc","in":"query","type":"string"},{"name":"Include","in":"query","type":"string"},{"name":"Fields","in":"query","type":"string"},{"name":"Meta","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseStatusResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseStatusResponse_"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseStatusResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/support/cases/types":{"get":{"tags":["support"],"summary":"Get all valid support case types","description":"Get all valid support case types.","operationId":"SupportCaseTypeQuerycasestypes_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Skip","in":"query","type":"integer","format":"int32"},{"name":"Take","in":"query","type":"integer","format":"int32"},{"name":"OrderBy","in":"query","type":"string"},{"name":"OrderByDesc","in":"query","type":"string"},{"name":"Include","in":"query","type":"string"},{"name":"Fields","in":"query","type":"string"},{"name":"Meta","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseTypeResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseTypeResponse_"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseTypeResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/support/cases/areas":{"get":{"tags":["support"],"summary":"Get all valid support case areas","description":"Get all valid support case areas.","operationId":"SupportCaseAreaQuerycasesareas_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Skip","in":"query","type":"integer","format":"int32"},{"name":"Take","in":"query","type":"integer","format":"int32"},{"name":"OrderBy","in":"query","type":"string"},{"name":"OrderByDesc","in":"query","type":"string"},{"name":"Include","in":"query","type":"string"},{"name":"Fields","in":"query","type":"string"},{"name":"Meta","in":"query","type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseAreaResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseAreaResponse_"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseAreaResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/support/cases/{Id}":{"put":{"tags":["support"],"summary":"Update a support case","description":"Update a support case to the company of the currently logged in user, only administrators are allowed to add support cases.","operationId":"UpdateSupportCasecasesId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"Id","in":"path","description":"The support case id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Title","in":"formData","description":"The case title.","type":"string","required":false},{"name":"Description","in":"formData","description":"The case description.","type":"string","required":false},{"name":"CaseTypeId","in":"formData","description":"If the case type id.","type":"integer","format":"int32","required":false},{"name":"CaseAreaId","in":"formData","description":"If the case area id.","type":"integer","format":"int32","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateSupportCase"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SupportCaseQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/SupportCaseQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/SupportCaseQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/support/cases/{SupportCaseId}/comments":{"get":{"tags":["support"],"summary":"Get all support case comments","description":"Get all support case comments.","operationId":"SupportCaseCommentQuerycasesSupportCaseIdcomments_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"SupportCaseId","in":"path","description":"The support case id","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseCommentsResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseCommentsResponse_"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseCommentsResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/support/cases/{SupportCaseId}/attachments":{"get":{"tags":["support"],"summary":"Get all support case attachments","description":"Get all support case attachments.","operationId":"SupportCaseAttachmentQuerycasesSupportCaseIdattachments_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"SupportCaseId","in":"path","description":"The support case id","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseAttachmentResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseAttachmentResponse_"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseAttachmentResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/support/cases/{Id}/comments":{"post":{"tags":["support"],"summary":"Add a new support case comment","description":"Add a new support case comment to the support case with the prvoided id for the currently logged in user, only administrators are allowed to add support cases.","operationId":"AddSupportCaseCommentcasesIdcomments_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":false},{"name":"Id","in":"path","description":"The support case id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Comment","in":"formData","description":"The case comment.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddSupportCaseComment"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SupportCaseCommentsResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/SupportCaseCommentsResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/SupportCaseCommentsResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/support/cases/{Id}/attachments":{"post":{"tags":["support"],"summary":"Add a new support case comment","description":"Add a new support case attachment as image to the support case with the prvoided id for the currently logged in user, only administrators are allowed to add support cases.","operationId":"AddSupportCaseAttachmentcasesIdattachments_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"Id","in":"path","description":"The support case id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"FileUrl","in":"formData","description":"The case attachment url. Only images are allowed to attach.","type":"string","required":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddSupportCaseAttachment"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SupportCaseAttachmentResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/SupportCaseAttachmentResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/SupportCaseAttachmentResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/support/cases":{"get":{"tags":["support"],"summary":"Get company support cases","description":"Get company support cases.","operationId":"SupportCaseQuerycases_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Active","in":"query","description":"If you want to search on active support cases","type":"boolean","required":false},{"name":"Id","in":"query","description":"Support Case Id","type":"int","format":"int32","required":false},{"name":"IncludeComments","in":"query","description":"If you want to include the support case comments","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCaseStatusInformation","in":"query","description":"If you want to include the support case status information","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCaseTypeInformation","in":"query","description":"If you want to include the support case type information","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCaseAreaInformation","in":"query","description":"If you want to include the support case area information","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCaseComments","in":"query","description":"If you want to include the support case comments","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCaseAttachments","in":"query","description":"If you want to include the support case attachments","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCaseStatusOptions","in":"query","description":"If you want to include the support case status  options to select from","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCaseTypeOptions","in":"query","description":"If you want to include the support case type  options to select from","type":"boolean","required":false,"x-nullable":false},{"name":"IncludeCaseAreaOptions","in":"query","description":"If you want to include the support case area options to select from","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseQueryResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_SupportCaseQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["support"],"summary":"Add a new support case","description":"Add a new support case to the company of the currently logged in user, only administrators are allowed to add support cases.","operationId":"CreateSupportCasecases_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"Title","in":"formData","description":"The case title.","type":"string","required":false},{"name":"Description","in":"formData","description":"The case description.","type":"string","required":false},{"name":"CaseTypeId","in":"formData","description":"If the case type id.","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"CaseAreaId","in":"formData","description":"If the case area id.","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateSupportCase"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SupportCaseQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/SupportCaseQueryResponse"}},"403":{"description":"You have too low privilegies to call this service","schema":{"$ref":"#/definitions/SupportCaseQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/support/cases/{SupportCaseId}/comments/{Id}":{"delete":{"tags":["support"],"summary":"Delete a case comment","description":"Delete a support case comment logged in user, only administrators are allowed to delete support case comments.","operationId":"DeleteSupportCaseCommentcasesSupportCaseIdcommentsId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string","required":true},{"name":"SupportCaseId","in":"path","description":"The support case id","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"Id","in":"path","description":"The support case comment id","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SupportCaseCommentsResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/timeexceptions/{TimeExceptionId}/tags":{"post":{"tags":["timeexceptions"],"summary":"Add tags to a time exception","description":"Attaches one or more tags to an existing time exception.","operationId":"AddTagsToTimeExceptionTimeExceptionIdtags_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"TimeExceptionId","in":"path","description":"The time exception id.","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"TagIds","in":"formData","description":"The ids of the tags to attach.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false},"collectionFormat":"multi","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddTagsToTimeException"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}},"400":{"description":"Returned if a tag does not belong to this company or has the wrong scope","schema":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}},"404":{"description":"Returned if the time exception was not found","schema":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/timeexceptions/{TimeExceptionId}/tags/{TagId}":{"delete":{"tags":["timeexceptions"],"summary":"Remove a tag from a time exception","description":"Detaches a tag from an existing time exception.","operationId":"RemoveTagFromTimeExceptionTimeExceptionIdtagsTagId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"TimeExceptionId","in":"path","description":"The time exception id.","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"TagId","in":"path","description":"The tag id to remove.","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}},"404":{"description":"Returned if the time exception or tag relation was not found","schema":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/tags":{"get":{"tags":["tags"],"summary":"Get tags for the company","description":"Returns tags for the current company, optionally filtered by scope and active status.","operationId":"TagQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Scope","in":"query","description":"Filter by tag scope. 0 = Booking, 1 = Customer, 2 = TimeException.","type":"string","required":false},{"name":"Active","in":"query","description":"Filter by active status. If not provided, only active tags are returned.","type":"boolean","required":false},{"name":"Skip","in":"query","description":"Number of records to skip","type":"integer","format":"int32","required":false},{"name":"Take","in":"query","description":"Number of records to take","type":"integer","format":"int32","required":false},{"name":"OrderBy","in":"query","description":"Sort field","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_TagResponse_"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/QueryResponse_TagResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["tags"],"summary":"Create a new tag","description":"Creates a new tag for the company.","operationId":"CreateTag_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Name","in":"formData","description":"The tag name.","type":"string","required":true},{"name":"Scope","in":"formData","description":"The scope this tag applies to. 0 = Booking, 1 = Customer, 2 = TimeException.","type":"string","required":true,"enum":["Booking","Customer","TimeException"],"x-nullable":false},{"name":"Color","in":"formData","description":"The display color for the tag, e.g. \u0027#FF5733\u0027 or \u0027red\u0027.","type":"string","required":false},{"name":"SortOrder","in":"formData","description":"The sort order for the tag.","type":"integer","format":"int32","required":false,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateTag"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TagResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/TagResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/TagResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/tags/{Id}":{"put":{"tags":["tags"],"summary":"Reactivate a tag","description":"Reactivates a previously deactivated tag. This is the only change allowed via PUT.","operationId":"UpdateTagId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"The tag id.","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateTag"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TagResponse"}},"404":{"description":"Returned if the tag was not found","schema":{"$ref":"#/definitions/TagResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/TagResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["tags"],"summary":"Deactivate a tag","description":"Deactivates a tag (soft delete). The tag is not removed from the database.","operationId":"DeleteTagId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"Id","in":"path","description":"The tag id.","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TagResponse"}},"404":{"description":"Returned if the tag was not found","schema":{"$ref":"#/definitions/TagResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/TagResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/trials":{"get":{"tags":["trials"],"summary":"Get all valid trials","description":"Get all valid trials that can be started","operationId":"TrialsQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Id","in":"query","description":"Trial Id","type":"integer","format":"int32","required":true}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/QueryResponse_TrialQueryResponse_"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/trials/company/check":{"get":{"tags":["trials"],"summary":"To check if trial is needed","description":"Check if a trial is needed and current trial status","operationId":"CheckCompanyTrialcompanycheck_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"Enter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ","type":"string","required":false},{"name":"TrialTypeId","in":"query","description":"The TrialType you want to check","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/trials/company/":{"get":{"tags":["trials"],"summary":"Get all company started trials","description":"Get all trials that have been started for a specific company","operationId":"CompanyTrialsQuerycompany_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":true},{"name":"Id","in":"query","description":"Trial Id","type":"integer","format":"int32","required":true,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CompanyTrialQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["trials"],"summary":"Add new trial to a company","description":"Start a new trial to the company for the logged in user.","operationId":"AddCompanyTrialcompany_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"formData","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":false},{"name":"TrialTypeId","in":"formData","description":"Id of the trial type","type":"integer","format":"int32","required":true,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AddCompanyTrial"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CompanyTrialQueryResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/CompanyTrialQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/users":{"get":{"tags":["users"],"summary":"Get user information","description":"Get information about the currently logged in user","operationId":"CurrentUserQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"IncludeFavorites","in":"query","description":"If you want to include the users favorites","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CurrentUserQueryResponse"}},"401":{"description":"Returned if the service was called without an existing session","schema":{"$ref":"#/definitions/CurrentUserQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["users"],"summary":"Update my information","description":"Updates the logged in users info both in customer profile and application admin profile if any exists. Users are only allowed to update their own info.","operationId":"UpdateUser_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"UserId","in":"formData","description":"The user id for your profile.","type":"string","required":false},{"name":"Realm","in":"formData","description":"The user realm for identity server.  BookMore = 1, BookMoreAdmin = 2 ","type":"string","required":true,"enum":["BookMore","BookMoreAdmin","SuperAdmin"],"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateUser"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UpdateUserResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/UpdateUserResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/UpdateUserResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["users"],"summary":"Create user","description":"Creates a new user account and customer profile.","operationId":"CreateUser_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"Firstname","in":"formData","type":"string","required":true},{"name":"Lastname","in":"formData","type":"string","required":true},{"name":"Phone","in":"formData","type":"string","required":false},{"name":"Email","in":"formData","type":"string","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateUser"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CreateUserResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/CreateUserResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/CreateUserResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["users"],"summary":"Deletes a user","description":"Deletes the logged in user account.","operationId":"DeleteUser_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"UserName","in":"query","description":"The user name of your profile.","type":"string","required":true},{"name":"Realm","in":"query","description":"The user realm for identity server.  BookMore = 1, BookMoreAdmin = 2 ","type":"string","required":true,"enum":["BookMore","BookMoreAdmin","SuperAdmin"],"x-nullable":false},{"name":"DeleteCustomerProfiles","in":"query","description":"If this equals true it will force delete all customer profiles on all company on there you have booked a time.","type":"boolean","required":false,"x-nullable":false},{"name":"ForceDelete","in":"query","description":"If this equals true it will check the request token value and try to delete user, if it is false it will send a delete confirmation email.","type":"boolean","required":false,"x-nullable":false},{"name":"Token","in":"query","description":"The value is only checked when ForceDelete is set to true. Contains the token value what was sent to email.","type":"string","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/DeleteUserResponse"}},"400":{"description":"Returned if there is a validation error on the input parameters","schema":{"$ref":"#/definitions/DeleteUserResponse"}},"401":{"description":"Returned if the current user is not allowed to perform the action","schema":{"$ref":"#/definitions/DeleteUserResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/version":{"get":{"tags":["version"],"summary":"Get information about this API\u0027s version and build","description":"Returns information about which version of the API is currently running and when it was built.","operationId":"ApiVersionQuery_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApiVersionQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/version/compability":{"get":{"tags":["version"],"summary":"Get information about whether your current version is compatible with the API version","description":"Returns information on whether the client application\u0027s version is compatible with the current API version, indicating any breaking changes.","operationId":"ApiVersionCompabilityQuerycompability_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Identifier","in":"query","description":"The identifier for your application.","type":"string","required":true,"enum":["BokaMeraiOS","BokaMeraAdminiOS","BokaMeraAndroid","BokaMeraAdminAndroid"],"x-nullable":false},{"name":"Version","in":"query","description":"The version you are running and you want to check","type":"string","required":true}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApiVersionCompabilityQueryResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/webhook/settings":{"get":{"tags":["webhook"],"summary":"Get webhook feature settings.","description":"Get webhook feature settings.","operationId":"WebhookSettingsRequestsettings_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":true}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/WebhookSettingsResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["webhook"],"summary":"Enable or disable webhook feature for the company","description":"Sets the webhook feature flag for the company identified by the API key in the header","operationId":"UpdateWebhookSettingsRequestsettings_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":true},{"name":"Enabled","in":"formData","type":"boolean","required":false,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateWebhookSettingsRequest"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/WebhookSettingsResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/webhook/endpoints":{"get":{"tags":["webhook"],"summary":"List webhook endpoints","description":"List webhook endpoints","operationId":"ListWebhookEndpointendpoints_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":true}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ListEndpointsResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/ListEndpointsResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"post":{"tags":["webhook"],"summary":"Create webhook endpoint","description":"Create webhook endpoint","operationId":"CreateWebhookEndpointendpoints_Post","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":true},{"name":"Url","in":"formData","schema":{"$ref":"#/definitions/Uri"},"description":"The webhook endpoint URL.","required":true},{"name":"EventTypes","in":"formData","description":"List of event types. At least one event type is required.","type":"array","items":{"type":"string"},"collectionFormat":"multi","required":true},{"name":"Disabled","in":"formData","type":"boolean","required":false,"x-nullable":false},{"name":"body","in":"body","schema":{"$ref":"#/definitions/CreateWebhookEndpoint"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/WebhookEndpoint"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/WebhookEndpoint"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/webhook/messages":{"get":{"tags":["webhook"],"summary":"List webhook message","description":"List webhook message","operationId":"ListWebhookMessagesmessages_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":true}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ListMessagesResponseDto"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/ListMessagesResponseDto"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/webhook/eventtypes":{"get":{"tags":["webhook"],"summary":"Get all Webhook event types","description":"Get all WebhookEventTypes","operationId":"ListWebhookEventTypesRequesteventtypes_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/WebhookEventTypesResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/webhook/endpoints/{Id}":{"get":{"tags":["webhook"],"summary":"Get endpoint","description":"Get endpoint","operationId":"GetWebhookEndpointendpointsId_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":true},{"name":"Id","in":"path","description":"The ID of the webhook endpoint.","type":"string","required":true},{"name":"IncludeSecret","in":"query","description":"Include Endpoint secret in the response. Default is false.","type":"boolean","required":false,"x-nullable":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/WebhookEndpoint"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/WebhookEndpoint"}}},"deprecated":false,"security":[{"Bearer":[]}]},"put":{"tags":["webhook"],"summary":"Update webhook endpoint","description":"Update webhook endpoint","operationId":"UpdateWebhookEndpointendpointsId_Create","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":true},{"name":"Url","in":"formData","description":"The webhook endpoint URL.","type":"string","required":true},{"name":"Id","in":"path","description":"The ID of the webhook endpoint.","type":"string","required":true},{"name":"EventTypes","in":"formData","description":"List of event types. At least one event type is required.","type":"array","items":{"type":"string"},"collectionFormat":"multi","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/UpdateWebhookEndpoint"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/WebhookEndpoint"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/WebhookEndpoint"}}},"deprecated":false,"security":[{"Bearer":[]}]},"delete":{"tags":["webhook"],"summary":"Delete webhook endpoint","description":"Delete webhook endpoint","operationId":"DeleteWebhookEndpointendpointsId_Delete","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":true},{"name":"Id","in":"path","description":"The ID of the webhook endpoint.","type":"string","required":true}],"responses":{"204":{"description":"No Content"},"401":{"description":"You were unauthorized to call this service"}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/webhook/messages/{MessageId}/attempts":{"get":{"tags":["webhook"],"summary":"List webhook message attempts","description":"List webhook message attempts","operationId":"ListWebhookMessageAttemptsmessagesMessageIdattempts_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":true},{"name":"MessageId","in":"path","description":"The ID of the webhook message.","type":"string","required":true},{"name":"Iterator","in":"query","description":"Pagination iterator.","type":"string","required":false},{"name":"Limit","in":"query","description":"Maximum number of attempts to return.","type":"integer","format":"int32","required":false},{"name":"Status","in":"query","description":"Filter by message status. 0 = Success, 1 = Pending, 2 = Fail, 3 = Sending.","type":"integer","format":"int32","required":false},{"name":"EventTypes","in":"query","description":"Filter by event types.","type":"array","items":{"type":"string"},"collectionFormat":"multi","required":false},{"name":"EndpointId","in":"query","description":"Filter by endpoint ID.","type":"string","required":false},{"name":"Before","in":"query","description":"Filter attempts before this date.","type":"string","format":"date-time","required":false},{"name":"After","in":"query","description":"Filter attempts after this date.","type":"string","format":"date-time","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ListMessageAttemptsResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/ListMessageAttemptsResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/webhook/endpoints/{EndpointId}/attempts":{"get":{"tags":["webhook"],"summary":"List webhook endpoint attempts","description":"List webhook endpoint attempts","operationId":"ListWebhookEndpointAttemptsendpointsEndpointIdattempts_Get","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":true},{"name":"EndpointId","in":"path","description":"The ID of the webhook endpoint.","type":"string","required":true},{"name":"Iterator","in":"query","description":"Pagination iterator.","type":"string","required":false},{"name":"Limit","in":"query","description":"Maximum number of attempts to return.","type":"integer","format":"int32","required":false},{"name":"Status","in":"query","description":"Filter by message status. 0 = Success, 1 = Pending, 2 = Fail, 3 = Sending.","type":"integer","format":"int32","required":false},{"name":"EventTypes","in":"query","description":"Filter by event types.","type":"array","items":{"type":"string"},"collectionFormat":"multi","required":false},{"name":"Before","in":"query","description":"Filter attempts before this date.","type":"string","format":"date-time","required":false},{"name":"After","in":"query","description":"Filter attempts after this date.","type":"string","format":"date-time","required":false}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ListMessageAttemptsResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/ListMessageAttemptsResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]},"/webhook/endpoints/{Id}/test":{"post":{"tags":["webhook"],"summary":"Test webhook endpoint by sending a sample message","description":"Test webhook endpoint by sending a sample message","operationId":"TestWebhookEndpointendpointsIdtest_Post","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"CompanyId","in":"query","description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","required":true},{"name":"Id","in":"path","description":"The ID of the webhook endpoint to test.","type":"string","required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/TestWebhookEndpoint"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TestWebhookEndpointResponse"}},"401":{"description":"You were unauthorized to call this service","schema":{"$ref":"#/definitions/TestWebhookEndpointResponse"}},"400":{"description":"Invalid request","schema":{"$ref":"#/definitions/TestWebhookEndpointResponse"}}},"deprecated":false,"security":[{"Bearer":[]}]},"parameters":[{"$ref":"#/parameters/Accept"}]}},"definitions":{"Object":{"properties":{},"description":"Object","type":"object"},"AccessKeyTypeQuery":{"title":"AccessKeyTypeQuery","properties":{"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"AccessKeyTypeQuery","type":"object"},"Dictionary_String_String_":{"title":"Dictionary\u003CString,String\u003E","additionalProperties":{"type":"string"},"description":"Dictionary\u003CString,String\u003E","type":"object"},"CreateUserAgreement":{"title":"CreateUserAgreement","properties":{"UserId":{"type":"string","x-nullable":false},"AgreementId":{"type":"string","x-nullable":false}},"description":"CreateUserAgreement","type":"object"},"UserAgreementQuery":{"title":"UserAgreementQuery","properties":{"UserId":{"type":"string","x-nullable":false}},"description":"UserAgreementQuery","type":"object"},"ForgotUserPassword":{"title":"ForgotUserPassword","required":["Email","Realm"],"properties":{"Email":{"type":"string"},"Realm":{"description":"The user realm for identity server.  BookMore = 1, BookMoreAdmin = 2 ","type":"string"}},"description":"ForgotUserPassword","type":"object"},"AddFavorite":{"title":"AddFavorite","required":["CompanyId"],"properties":{"CompanyId":{"description":"Id of the company","type":"string","x-nullable":false}},"description":"AddFavorite","type":"object"},"DeleteFavorite":{"title":"DeleteFavorite","required":["CompanyId"],"properties":{"CompanyId":{"description":"Id of the company","type":"string","x-nullable":false}},"description":"DeleteFavorite","type":"object"},"UpdateUserEmail":{"title":"UpdateUserEmail","required":["Token","Realm"],"properties":{"Token":{"type":"string"},"Realm":{"description":"The user realm for identity server.  BookMore = 1, BookMoreAdmin = 2 ","type":"string"}},"description":"UpdateUserEmail","type":"object"},"AgreementQuery":{"title":"AgreementQuery","properties":{},"description":"AgreementQuery","type":"object"},"CreateArticle":{"title":"CreateArticle","required":["Name","ArticleTypeId","Description","Active","Amount","Duration","Price","CurrencyId"],"properties":{"CompanyId":{"description":"","type":"string"},"Name":{"description":"","type":"string"},"ArticleTypeId":{"description":"","type":"integer","format":"int32","x-nullable":false},"Description":{"description":"","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":""},"Active":{"description":"","type":"boolean","x-nullable":false},"Amount":{"description":"","type":"integer","format":"int32","x-nullable":false},"Duration":{"description":"If the article is a service article, the duration in minutes.","type":"integer","format":"int32","x-nullable":false},"SortOrder":{"description":"SortOrder","type":"integer","format":"int32","x-nullable":false},"Price":{"description":"The price of the article.","type":"number","format":"double","x-nullable":false},"CurrencyId":{"description":"The payment currency id","type":"string"},"VAT":{"description":"The price VAT in percent","type":"number","format":"double"},"ServiceIds":{"description":"Query for specific services.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"ValidDays":{"description":"Number of days the article is valid from the purchase date. Used to calculate ValidToDate on rebate codes, punch tickets, and gift cards.","type":"integer","format":"int32","x-nullable":false},"SendNotification":{"description":"If true, an email notification is sent to NotificationEmail when this article is purchased.","type":"boolean","x-nullable":false},"NotificationEmail":{"description":"Email address to notify when the article is purchased. Only used when SendNotification is true.","type":"string"}},"description":"CreateArticle","type":"object"},"Uri":{"title":"Uri","properties":{},"description":"Uri","type":"object"},"GetArticles":{"title":"GetArticles","required":["Id","Active","ArticleTypeId"],"properties":{"Id":{"description":"","type":"integer","format":"int32"},"Active":{"description":"","type":"boolean"},"IncludeServiceInformation":{"description":"","type":"boolean","x-nullable":false},"CompanyId":{"description":"","type":"string"},"ArticleTypeId":{"description":"Article type to filter articles","type":"integer","format":"int32"},"IsArticlePayable":{"description":"If true, only returns articles with payable types. If false, only returns non-payable types. If null, no filtering is applied.","type":"boolean"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"GetArticles","type":"object"},"UpdateArticle":{"title":"UpdateArticle","required":["Id","Duration"],"properties":{"Id":{"description":"","type":"integer","format":"int32","x-nullable":false},"CompanyId":{"description":"","type":"string"},"Name":{"description":"","type":"string"},"ArticleTypeId":{"description":"","type":"integer","format":"int32"},"Description":{"description":"","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":""},"SortOrder":{"description":"SortOrder","type":"integer","format":"int32"},"Active":{"description":"","type":"boolean"},"Amount":{"description":"","type":"integer","format":"int32"},"Duration":{"description":"If the article is a service article, the duration in minutes.","type":"integer","format":"int32"},"Price":{"description":"The updated price of the article.","type":"number","format":"double"},"CurrencyId":{"description":"The payment currency id","type":"string"},"VAT":{"description":"The price VAT in percent","type":"number","format":"double"},"ServiceIds":{"description":"Query for specific services.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"ValidDays":{"description":"Number of days the article is valid from the purchase date. Used to calculate ValidToDate on rebate codes, punch tickets, and gift cards.","type":"integer","format":"int32"},"SendNotification":{"description":"If true, an email notification is sent to NotificationEmail when this article is purchased.","type":"boolean"},"NotificationEmail":{"description":"Email address to notify when the article is purchased. Only used when SendNotification is true.","type":"string"}},"description":"UpdateArticle","type":"object"},"DeleteArticle":{"title":"DeleteArticle","required":["Id"],"properties":{"CompanyId":{"description":"","type":"string"},"Id":{"description":"","type":"integer","format":"int32","x-nullable":false}},"description":"DeleteArticle","type":"object"},"ArticleTypeQuery":{"title":"ArticleTypeQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"ArticleTypeQuery","type":"object"},"PaymentLogQuery":{"title":"PaymentLogQuery","required":["ArticleTypeId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"CreatedFrom":{"description":"Start of interval to query for payments when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time"},"CreatedTo":{"description":"End of interval to query for payments when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time"},"ArticleTypeId":{"description":"Article type (Could be Service, rebate code types, etc..","type":"integer","format":"int32"},"IncludeArticleType":{"description":"","type":"boolean","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"PaymentLogQuery","type":"object"},"ExportPayableEntityReport":{"title":"ExportPayableEntityReport","required":["InternalReferenceId","ArticleTypeId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"InternalReferenceId":{"description":"Id of the internal reference (booking, rebate code, etc)","type":"string"},"SendReceiptMethod":{"type":"string"},"ArticleTypeId":{"description":"Article type (Could be Service, rebate code types, etc..","type":"integer","format":"int32","x-nullable":false}},"description":"ExportPayableEntityReport","type":"object"},"ExportInvoice":{"title":"ExportInvoice","required":["InvoiceId"],"properties":{"InvoiceId":{"description":"Id of the invoice","type":"integer","format":"int32","x-nullable":false},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"ExportInvoice","type":"object"},"BillingMethodQuery":{"title":"BillingMethodQuery","properties":{"CountryId":{"description":"If you want to only get billing methods that are valid for a specific country","type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"BillingMethodQuery","type":"object"},"CompanyBillingInformation":{"title":"CompanyBillingInformation","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"IncludeBillingMethodOptions":{"description":"If you want to include the billing methods to select from","type":"boolean","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"CompanyBillingInformation","type":"object"},"AddBillingInformation":{"title":"AddBillingInformation","required":["LicensePlanId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"LicensePlanId":{"description":"License plan ID.","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The name that should be printed on the billing information, normally this would be your company name.","type":"string"},"Attention":{"description":"If you want to add the attention to the billing person.","type":"string"},"Street1":{"description":"The street for the billing adress. This is required when having postal invoice as billing method.","type":"string"},"Street2":{"description":"The street for the billing adress.","type":"string"},"Email":{"description":"The billing email. This is required when having email invoice as billing method.","type":"string"},"PaymentTermsDays":{"description":"The billing payment terms in days. This is default 15 days.","type":"integer","format":"int32"},"VatRegistrationNumber":{"description":"The company vat registration number.","type":"string"},"GLN":{"description":"The company global location number.","type":"string"},"ReferenceLine1":{"description":"Your internal reference.","type":"string"},"ReferenceLine2":{"description":"Your internal reference.","type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"PhoneNumber":{"type":"string"},"CountryId":{"type":"string"},"BillingMethodId":{"type":"integer","format":"int32","x-nullable":false},"ZipCode":{"type":"string"},"City":{"type":"string"}},"description":"AddBillingInformation","type":"object"},"UpdateBillingInformation":{"title":"UpdateBillingInformation","required":["LicensePlanId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"LicensePlanId":{"description":"License plan of how license should be billed.","type":"integer","format":"int32"},"Name":{"description":"The name that should be printed on the billing information, normally this would be your company name.","type":"string"},"Attention":{"description":"If you want to add the attention to the billing address.","type":"string"},"Street1":{"description":"The street for the billing adress. This is required when having postal invoice as billing method.","type":"string"},"Street2":{"description":"The street for the billing adress.","type":"string"},"Email":{"description":"The billing email. This is required when having email invoice as billing method.","type":"string"},"PaymentTermsDays":{"description":"The billing payment terms in days. This is default 15 days.","type":"integer","format":"int32"},"VatRegistrationNumber":{"description":"The company vat registration number.","type":"string"},"GLN":{"description":"The company global location number.","type":"string"},"ReferenceLine1":{"description":"Your internal reference.","type":"string"},"ReferenceLine2":{"description":"Your internal reference.","type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"PhoneNumber":{"type":"string"},"CountryId":{"type":"string"},"BillingMethodId":{"type":"integer","format":"int32","x-nullable":false},"ZipCode":{"type":"string"},"City":{"type":"string"}},"description":"UpdateBillingInformation","type":"object"},"CompanyInvoiceQuery":{"title":"CompanyInvoiceQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the invoice","type":"integer","format":"int32"},"StatusId":{"description":"Id of the invoice","type":"integer","format":"int32"},"IncludeInvoiceLines":{"description":"If you want to include the invoice lines","type":"boolean","x-nullable":false},"IncludeCurrencyInformation":{"description":"If you want to include the currency information","type":"boolean","x-nullable":false},"IncludeInvoiceStatusInformation":{"description":"If you want to include the invoice status information","type":"boolean","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"CompanyInvoiceQuery","type":"object"},"BookingLogQuery":{"title":"BookingLogQuery","required":["CompanyId","BookingId"],"properties":{"CompanyId":{"description":"Enter the company and booking id you want to see log for, if blank company id and you are an admin, your company id will be used","type":"string"},"BookingId":{"description":"Enter the booking id you want to get the log","type":"integer","format":"int32","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"BookingLogQuery","type":"object"},"CreateBookingLogItem":{"title":"CreateBookingLogItem","required":["BookingId","EventTypeId","Comments","Created"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"BookingId":{"description":"The booking id","type":"integer","format":"int32","x-nullable":false},"EventTypeId":{"description":"The type of event","type":"integer","format":"int32","x-nullable":false},"Comments":{"description":"Comments that could be added to the event log item","type":"string"},"Created":{"description":"The date when the event occurred. Leave blank for the current datetime","type":"string","format":"date-time"}},"description":"CreateBookingLogItem","type":"object"},"BookingStatusQuery":{"title":"BookingStatusQuery","properties":{"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"BookingStatusQuery","type":"object"},"GroupedBookingQuery":{"title":"GroupedBookingQuery","properties":{"BookedResourceIds":{"description":"Query for specific Booked Resources, default is all resources","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"BookedResourceTypeIds":{"description":"Query for specific Booked Resource types, default is all resource types","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the booking","type":"integer","format":"int32"},"BookingStart":{"description":"Start of interval to query for bookings. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time"},"BookingEnd":{"description":"End of interval to query for bookings. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time"},"CompanyBookings":{"description":"Set to true if you want to include all bookings for the company. Only administrators are allowed to do this.","type":"boolean","x-nullable":false},"IncludeStatuses":{"description":"Query for specific booking statuses. Valid statuses are TimeBooked = 1, TimeUnbooked = 2, TimeReserved = 3, TimeCanceled = 4. Default is 1,3 for active statuses.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"IncludeCustomFields":{"description":"If you want to include the connected resourcetypes and resources","type":"boolean","x-nullable":false},"IncludeCustomFieldValues":{"description":"If you want to include the connected custom fields","type":"boolean","x-nullable":false},"IncludePriceInformation":{"description":"If you want to include the price information on the booking","type":"boolean","x-nullable":false},"IncludeStatusInformation":{"description":"If you want to include booking status information","type":"boolean","x-nullable":false},"IncludePaymentLog":{"description":"If you want to include the payment log on the booking","type":"boolean","x-nullable":false},"IncludeCheckouts":{"description":"If you want to include the checkouts","type":"boolean","x-nullable":false},"IncludeBookedResourceTypes":{"description":"If you want to include the booked resourcetypes and it\u0027s booked resources","type":"boolean","x-nullable":false},"IncludeCompanyInformation":{"description":"If you want to include the company information for the booking","type":"boolean","x-nullable":false},"IncludeCustomerInformation":{"description":"If you want to include the customer information for the booking","type":"boolean","x-nullable":false},"CreatedFrom":{"description":"Start of interval to query for bookings when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time"},"CreatedTo":{"description":"End of interval to query for bookings when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time"},"StatusIds":{"description":"Query for specific booking statuses. Valid statuses are TimeBooked = 1, TimeUnbooked = 2, TimeReserved = 3, TimeCanceled = 4, AwaitingPayment = 5, AwaitingPaymentNoTimeLimit = 6, BookedAndPayed = 7, 8 = AwaitingPaymentRequestFromAdmin, 9 = AwaitingPaymentFromProvider. Default is all.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"CustomerId":{"description":"Query for specific customer","type":"string"},"MaxLimit":{"description":"The max limit of records you want to retrieve, default is 100","type":"int","format":"int32"},"IncludeTags":{"description":"If you want to include the tags attached to the booking. Requires administrator access.","type":"boolean","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"GroupedBookingQuery","type":"object"},"ResponseStatus":{"title":"ResponseStatus","properties":{"ErrorCode":{"type":"string"},"Message":{"type":"string"},"StackTrace":{"type":"string"},"Errors":{"type":"array","items":{"$ref":"#/definitions/ResponseError"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"ResponseStatus","type":"object"},"ResponseError":{"title":"ResponseError","properties":{"ErrorCode":{"type":"string"},"FieldName":{"type":"string"},"Message":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"ResponseError","type":"object"},"DeleteBooking":{"title":"DeleteBooking","properties":{"Id":{"description":"Id of the booking","type":"integer","format":"int32"},"UnBookedComments":{"description":"If you want to add comments when canceling a booking you can add them here and it will be saved to the log","type":"string"},"Message":{"description":"Any comment sent to user if SendSmsConfirmation or SendEmailConfirmation","type":"string"},"SendSmsConfirmation":{"description":"If you want to send SMS confirmation. If null, it will take the default value of the bookings SendSMSConfirmation.","type":"boolean"},"SendEmailConfirmation":{"description":"If you want to send Email confirmation. If null, it will take the default value of the bookings SendEmailConfirmation.","type":"boolean"}},"description":"DeleteBooking","type":"object"},"UpdateBooking":{"title":"UpdateBooking","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the booking","type":"integer","format":"int32"},"From":{"type":"string","format":"date-time"},"To":{"type":"string","format":"date-time"},"Status":{"type":"string"},"PaymentExpiration":{"type":"string","format":"date-time"},"LastTimeToUnBook":{"type":"string","format":"date-time"},"UnbookedComments":{"description":"If you want to add comments when canceling a booking you can add them here, this comments are send in the confirmation to the customer","type":"string"},"BookedComments":{"description":"If you want to add comments to a booking you can add them here, this comments are never shared with the customer","type":"string"},"CommentsToCustomer":{"description":"If you want to add comments to the booking that is sent to the customer, you can add them here. Comments will be sent in the booking confirmation","type":"string"},"CustomFields":{"description":"If Custom Fields are added to the booking, here you will send the id and the value for each custom field to be updated","type":"array","items":{"$ref":"#/definitions/AddCustomField"}},"Resources":{"$ref":"#/definitions/ResourceToUpdate","description":"Resources you want to change, leave it empty if no changes to the booked resources"},"AllowBookingOutsideSchedules":{"description":"If want to allow to book outside the service schedules. This means you can book a time after the schedule opening hours as long as the resource are available. This is only allowed by administrators","type":"boolean","x-nullable":false},"Comment":{"description":"Any comment to save to the log when changing the booking.","type":"string"},"Message":{"description":"Any comment sent to user if SendSmsConfirmation or SendEmailConfirmation","type":"string"},"SendSmsConfirmation":{"description":"If you want to send SMS confirmation. If null, it will take the default value of the bookings SendSMSConfirmation.","type":"boolean"},"SendEmailConfirmation":{"description":"If you want to send Email confirmation. If null, it will take the default value of the bookings SendEmailConfirmation.","type":"boolean"}},"description":"UpdateBooking","type":"object"},"AddCustomField":{"title":"AddCustomField","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Value":{"type":"string"}},"description":"AddCustomField","type":"object"},"ResourceToUpdate":{"title":"ResourceToUpdate","properties":{"AutoSelectNotDefinedResources":{"description":"Set this property to true if you want to autoselected not provided resources. If false you will need to add all resources you want to have booked","type":"boolean","x-nullable":false},"Resources":{"description":"All resources to be booked, if AutoSelectNotDefinedResources is true you will only need to provide the one you want to select, rest will be auto selected if avaiable. ","type":"array","items":{"$ref":"#/definitions/ResourceToBook"}}},"description":"ResourceToUpdate","type":"object"},"ResourceToBook":{"title":"ResourceToBook","properties":{"ResourceTypeId":{"type":"integer","format":"int32","x-nullable":false},"ResourceId":{"type":"integer","format":"int32","x-nullable":false}},"description":"ResourceToBook","type":"object"},"CreateBookings":{"title":"CreateBookings","required":["DatesToRepeat","ServiceId","Articles"],"properties":{"DatesToRepeat":{"description":"Set the dates you want to book and it\u0027s quantities. It\u0027s an array of dates and quantities.","type":"List\u003CDatesToRepeat\u003E","items":{"$ref":"#/definitions/DatesToRepeat"}},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"CustomerId":{"description":"If you want to book on an existing customer instead of CustomerToBook info set the CustomerId here. Set Empty Guid (00000000-0000-0000-0000-000000000000) if you want to book without any customer, this is only allowed by admin. The customer id is shown in the customer list named as id. When booking as customer (no admin) leave this field blank.","type":"string"},"PinCode":{"description":"If company requires to be authenticated or a pin code entered to book on a specific customer, enter it here.","type":"string"},"Customer":{"$ref":"#/definitions/CustomerToHandle","description":"If you want to book with customer information instead of the Customer Id send the customer information here. Note: If customer profile already exists with the same email the information will not be changed, instead the provided information will be added as BookingsComments if it differs from the ordinary profile. "},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressToHandle","description":"If you want to book with customer information instead of the Customer Id send the customer information here. Note: If customer profile already exists with the same email the information will not be changed, instead the provided information will be added as BookingsComments if it differs from the ordinary profile. "},"ServiceId":{"description":"The service to be booked","type":"integer","format":"int32","x-nullable":false},"BookedComments":{"description":"If you want to add comments to a booking you can add them here, this comments are never shared with the customer","type":"string"},"CommentsToCustomer":{"description":"If you want to add comments to the booking that is sent to the customer, you can add them here. Comments will be sent in the booking confirmation","type":"string"},"Resources":{"type":"array","items":{"$ref":"#/definitions/ResourceToBook"}},"RebateCodeIds":{"description":"Rebate codes applied to booking","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"Articles":{"description":"Article ids that should be booked with the service. The articles must be of type ServiceAddonArticle and connected to the service.","type":"array","items":{"$ref":"#/definitions/ArticleToCreateBase"}},"SendEmailReminder":{"description":"If you want to send Email reminder","type":"boolean"},"SendSmsReminder":{"description":"If you want to send SMS reminder","type":"boolean"},"SendSmsConfirmation":{"description":"If you want to send SMS confirmation","type":"boolean"},"SendEmailConfirmation":{"description":"Only admins are allowed to not send an email confirmation. Default is true","type":"boolean"},"PaymentOption":{"description":"If payment is enabled and you\u0027re an administrator, optional to choose payment option, if empty then the default settings will be used. Following payment options exists. DefaultSetting = 0, BookWithoutPayment = 1 (will be direcyly booked without payment), BookWithPaymentMessageToCustomer = 2 (will set status AwaitingPayment and send payment instructions to customer), BookWithManualPayment = 3 (Will set status AwaitingPaymentNoTimeLimit and Admin will need to manually mark the booking as payed when recieved payment).","type":"string"},"CustomFields":{"description":"If Custom Fields are added to the booking, here you will send the id and the value for each custom field to be saved","type":"array","items":{"$ref":"#/definitions/AddCustomField"}},"CustomerCustomFields":{"description":"If Custom Fields are added to the customer, here you will send the id and the value for each custom field to be updated","type":"array","items":{"$ref":"#/definitions/AddCustomField"}},"AllowBookingOutsideSchedules":{"description":"If want to allow to book outside the service schedules. This means you can book a time after the schedule opening hours as long as the resource are available. This is only allowed by administrators","type":"boolean","x-nullable":false},"TagIds":{"description":"Ids of tags to attach to the booking at creation time. Tags must have Scope = Booking and belong to the company.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}}},"description":"CreateBookings","type":"object"},"DatesToRepeat":{"title":"DatesToRepeat","properties":{"From":{"description":"Booking start","type":"string","format":"date-time","x-nullable":false},"To":{"description":"Booking end","type":"string","format":"date-time","x-nullable":false},"Quantities":{"description":"Set the number of spots you want to book. You add number of spots per price category. Multiple spots require that the service has GroupBooking enabled. Default is one spot.","type":"array","items":{"$ref":"#/definitions/QuantityToBook"}}},"description":"DatesToRepeat","type":"object"},"QuantityToBook":{"title":"QuantityToBook","required":["PriceId","Quantity"],"properties":{"PriceId":{"description":"If service has a price, enter the price id for that price. If no price exists for the service set 0 as PriceId. If you put 0 and a price exists, it will use that price (only works if just one price exists for the current selected date to book)","type":"integer","format":"int32","x-nullable":false},"Quantity":{"description":"Set the number of spots or resources you want to book on the specific price category","type":"integer","format":"int32","x-nullable":false},"OccupiesSpot":{"description":"If the quantity you add should occupy a spot. Default is true. If no it will only be a row that includes price information.","type":"boolean","x-nullable":false}},"description":"QuantityToBook","type":"object"},"CustomerToHandle":{"title":"CustomerToHandle","properties":{"CustomerId":{"type":"string"},"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Email":{"type":"string"},"Phone":{"type":"string"},"SubscribedToNewsletter":{"type":"boolean","x-nullable":false},"PersonalIdentityNumber":{"type":"string"}},"description":"CustomerToHandle","type":"object"},"InvoiceAddressToHandle":{"title":"InvoiceAddressToHandle","properties":{"CorporateIdentityNumber":{"type":"string"},"InvoiceAddress1":{"type":"string"},"InvoiceAddress2":{"type":"string"},"InvoiceCity":{"type":"string"},"InvoicePostalCode":{"type":"string"},"InvoiceCountryCode":{"type":"string"}},"description":"InvoiceAddressToHandle","type":"object"},"ArticleToCreateBase":{"title":"ArticleToCreateBase","properties":{"ArticleId":{"type":"integer","format":"int32","x-nullable":false},"Quantity":{"type":"integer","format":"int32","x-nullable":false}},"description":"ArticleToCreateBase","type":"object"},"ReportQuery":{"title":"ReportQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"ReportQuery","type":"object"},"BookingQuery":{"title":"BookingQuery","properties":{"BookedResourceIds":{"description":"Query for specific Booked Resources, default is all resources","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"BookedResourceTypeIds":{"description":"Query for specific Booked Resource types, default is all resource types","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the booking","type":"integer","format":"int32"},"CancellationCode":{"description":"The cancellation code of the booking, can be used if you want to get a booking without being authenticated","type":"string"},"BookingStart":{"description":"Start of interval to query for bookings. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time"},"BookingEnd":{"description":"End of interval to query for bookings. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time"},"CreatedFrom":{"description":"Start of interval to query for bookings when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time"},"CreatedTo":{"description":"End of interval to query for bookings when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time"},"CompanyBookings":{"description":"Set to true if you want to include the bookings for the company you are logged in as administrator on, if false only bookings for the logged in user will be retrieved. Only administrators are allowed to do this.","type":"boolean","x-nullable":false},"ServiceIds":{"description":"Query for specific services.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"StatusIds":{"description":"Query for specific booking statuses. Valid statuses are TimeBooked = 1, TimeUnbooked = 2, TimeReserved = 3, TimeCanceled = 4, AwaitingPayment = 5, AwaitingPaymentNoTimeLimit = 6, BookedAndPayed = 7, 8 = AwaitingPaymentRequestFromAdmin, 9 = AwaitingPaymentFromProvider. Default is all.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"CustomerId":{"description":"Query for specific customer","type":"string"},"IncludeExternalReferences":{"description":"If you want to include the external references for the booking","type":"boolean","x-nullable":false},"IncludeCustomFields":{"description":"If you want to include the connected resource types and resources","type":"boolean","x-nullable":false},"IncludeCustomFieldValues":{"description":"If you want to include the connected custom fields","type":"boolean","x-nullable":false},"IncludeBookedResourceTypes":{"description":"If you want to include the booked resources","type":"boolean","x-nullable":false},"IncludeCompanyInformation":{"description":"If you want to include the company information for the booking","type":"boolean","x-nullable":false},"IncludeServiceInformation":{"description":"If you want to include the service information for the booking","type":"boolean","x-nullable":false},"IncludeCustomerInformation":{"description":"If you want to include the customer information for the booking","type":"boolean","x-nullable":false},"IncludeInvoiceAddress":{"description":"If you want to include invoice address specific to this booking","type":"boolean","x-nullable":false},"IncludeLog":{"description":"If you want to include the log of all events on the booking","type":"boolean","x-nullable":false},"IncludePaymentLog":{"description":"If you want to include the payment log on the booking","type":"boolean","x-nullable":false},"IncludeCheckoutLog":{"description":"If you want to include the checkouts","type":"boolean","x-nullable":false},"IncludeQuantityInformation":{"description":"If you want to include the quantity and price information on the booking","type":"boolean","x-nullable":false},"IncludeCalendarExportStatus":{"description":"If you want to include google calendar sync status","type":"boolean","x-nullable":false},"IncludeStatusInformation":{"description":"If you want to include booking status information","type":"boolean","x-nullable":false},"MaxLimit":{"description":"The max limit of records you want to retrieve, default is 100","type":"int","format":"int32"},"IncludeTags":{"description":"If you want to include the tags for the booking. Requires administrator access.","type":"boolean","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"BookingQuery","type":"object"},"CreateBooking":{"title":"CreateBooking","required":["From","To","ServiceId","Articles"],"properties":{"From":{"description":"The datetime you want to start the booking.","type":"string","format":"date-time","x-nullable":false},"To":{"description":"The datetime you want to end the booking.","type":"string","format":"date-time","x-nullable":false},"Quantities":{"description":"Set the number of spots you want to book. You add number of spots per price category. Multiple spots require that the service has GroupBooking enabled. Default is one spot.","type":"array","items":{"$ref":"#/definitions/QuantityToBook"}},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"CustomerId":{"description":"If you want to book on an existing customer instead of CustomerToBook info set the CustomerId here. Set Empty Guid (00000000-0000-0000-0000-000000000000) if you want to book without any customer, this is only allowed by admin. The customer id is shown in the customer list named as id. When booking as customer (no admin) leave this field blank.","type":"string"},"PinCode":{"description":"If company requires to be authenticated or a pin code entered to book on a specific customer, enter it here.","type":"string"},"Customer":{"$ref":"#/definitions/CustomerToHandle","description":"If you want to book with customer information instead of the Customer Id send the customer information here. Note: If customer profile already exists with the same email the information will not be changed, instead the provided information will be added as BookingsComments if it differs from the ordinary profile. "},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressToHandle","description":"If you want to book with customer information instead of the Customer Id send the customer information here. Note: If customer profile already exists with the same email the information will not be changed, instead the provided information will be added as BookingsComments if it differs from the ordinary profile. "},"ServiceId":{"description":"The service to be booked","type":"integer","format":"int32","x-nullable":false},"BookedComments":{"description":"If you want to add comments to a booking you can add them here, this comments are never shared with the customer","type":"string"},"CommentsToCustomer":{"description":"If you want to add comments to the booking that is sent to the customer, you can add them here. Comments will be sent in the booking confirmation","type":"string"},"Resources":{"type":"array","items":{"$ref":"#/definitions/ResourceToBook"}},"RebateCodeIds":{"description":"Rebate codes applied to booking","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"Articles":{"description":"Article ids that should be booked with the service. The articles must be of type ServiceAddonArticle and connected to the service.","type":"array","items":{"$ref":"#/definitions/ArticleToCreateBase"}},"SendEmailReminder":{"description":"If you want to send Email reminder","type":"boolean"},"SendSmsReminder":{"description":"If you want to send SMS reminder","type":"boolean"},"SendSmsConfirmation":{"description":"If you want to send SMS confirmation","type":"boolean"},"SendEmailConfirmation":{"description":"Only admins are allowed to not send an email confirmation. Default is true","type":"boolean"},"PaymentOption":{"description":"If payment is enabled and you\u0027re an administrator, optional to choose payment option, if empty then the default settings will be used. Following payment options exists. DefaultSetting = 0, BookWithoutPayment = 1 (will be direcyly booked without payment), BookWithPaymentMessageToCustomer = 2 (will set status AwaitingPayment and send payment instructions to customer), BookWithManualPayment = 3 (Will set status AwaitingPaymentNoTimeLimit and Admin will need to manually mark the booking as payed when recieved payment).","type":"string"},"CustomFields":{"description":"If Custom Fields are added to the booking, here you will send the id and the value for each custom field to be saved","type":"array","items":{"$ref":"#/definitions/AddCustomField"}},"CustomerCustomFields":{"description":"If Custom Fields are added to the customer, here you will send the id and the value for each custom field to be updated","type":"array","items":{"$ref":"#/definitions/AddCustomField"}},"AllowBookingOutsideSchedules":{"description":"If want to allow to book outside the service schedules. This means you can book a time after the schedule opening hours as long as the resource are available. This is only allowed by administrators","type":"boolean","x-nullable":false},"TagIds":{"description":"Ids of tags to attach to the booking at creation time. Tags must have Scope = Booking and belong to the company.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}}},"description":"CreateBooking","type":"object"},"ResourceTypeAvailableResourcesQuery":{"title":"ResourceTypeAvailableResourcesQuery","required":["Id","ResourceTypeId"],"properties":{"CompanyId":{"description":"Enter the company and id you want to see the information for a resourcetype, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ","type":"string"},"Id":{"description":"Enter the id for the booking.","type":"integer","format":"int32","x-nullable":false},"ResourceTypeId":{"description":"Enter the id for a resourcetype.","type":"integer","format":"int32","x-nullable":false}},"description":"ResourceTypeAvailableResourcesQuery","type":"object"},"RefundBookingPayment":{"title":"RefundBookingPayment","required":["Id","PaymentLogId","Amount"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The booking id","type":"integer","format":"int32","x-nullable":false},"PaymentLogId":{"description":"The booking payment log id","type":"integer","format":"int32","x-nullable":false},"Amount":{"description":"The amount to refund on the checkout.","type":"number","format":"double","x-nullable":false},"Comments":{"description":"Any comments to be saved in log.","type":"string"}},"description":"RefundBookingPayment","type":"object"},"UpdateQuantity":{"title":"UpdateQuantity","required":["BookingId","Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"BookingId":{"description":"Id of the booking","type":"integer","format":"int32"},"Id":{"description":"Id of the quantity","type":"integer","format":"int32"},"OccupiesSpot":{"description":"If the quantity you add should occupy a spot. Default is true. If no it will only be a row that includes price information.","type":"boolean"},"Quantity":{"description":"The quantity for booked on this price category","type":"integer","format":"int32","x-nullable":false},"Price":{"description":"The price","type":"number","format":"double"},"CurrencyId":{"description":"The price currency","type":"string"},"Category":{"description":"The price category","type":"string"},"VAT":{"description":"The price VAT in percent","type":"number","format":"double"},"Comments":{"description":"Any comments to be stored in the event log.","type":"string"},"Refund":{"description":"If you want the amount to be refunded automatically if amount is lower than paid","type":"boolean","x-nullable":false}},"description":"UpdateQuantity","type":"object"},"ExportBookingReport":{"title":"ExportBookingReport","required":["BookingId","ReportId"],"properties":{"BookingId":{"description":"Id of the booking","type":"integer","format":"int32","x-nullable":false},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ReportId":{"description":"Id of the report","type":"integer","format":"int32","x-nullable":false},"SendReceiptMethod":{"type":"string"}},"description":"ExportBookingReport","type":"object"},"RemoveTagFromBooking":{"title":"RemoveTagFromBooking","required":["BookingId","TagId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"BookingId":{"description":"The booking id.","type":"integer","format":"int32","x-nullable":false},"TagId":{"description":"The tag id to remove.","type":"integer","format":"int32","x-nullable":false}},"description":"RemoveTagFromBooking","type":"object"},"DeleteBookingByCode":{"title":"DeleteBookingByCode","required":["Id","CancellationCode"],"properties":{"Id":{"description":"Id of the booking","type":"integer","format":"int32","x-nullable":false},"UnBookedComments":{"description":"If you want to add comments when canceling a booking you can add them here and it will be saved to the log","type":"string"},"CancellationCode":{"description":"The unique cancelation code for that booking","type":"string"}},"description":"DeleteBookingByCode","type":"object"},"BookingMoveResources":{"title":"BookingMoveResources","required":["ResourceId","Test","ResourceTypeId","NewResourceId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ResourceId":{"description":"Id of the resource you want to move from","type":"integer","format":"int32","x-nullable":false},"Test":{"description":"If you want to see what bookings, just set this to true. Will not update anything just retrieve the bookings","type":"boolean","x-nullable":false},"ResourceTypeId":{"description":"If you only want to move from a specific resource group then enter the id here. If blank it will move from all resourcetypes where the resource id exists","type":"integer","format":"int32"},"NewResourceId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"integer","format":"int32","x-nullable":false},"NewResourceTypeId":{"description":"If you want to move to another resourcetype then enter the new resource group id. If blank it will not move it to another resourcetype","type":"integer","format":"int32"},"BookingStart":{"description":"Start of interval to query for bookings. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time"},"BookingEnd":{"description":"End of interval to query for bookings. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time"}},"description":"BookingMoveResources","type":"object"},"ApproveBooking":{"title":"ApproveBooking","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the booking","type":"integer","format":"int32"},"PaymentOption":{"description":"If payment is enabled, optional to choose payment option, if blank then the default settings will be used","type":"string"},"Comment":{"description":"Any comment logged to the booking history and sent to user if SendSmsConfirmation or SendEmailConfirmation","type":"string"},"Message":{"description":"Any comment sent to user if SendSmsConfirmation or SendEmailConfirmation","type":"string"},"SendSmsConfirmation":{"description":"If you want to send SMS confirmation. If null, it will take the default value of the bookings SendSMSConfirmation.","type":"boolean"},"SendEmailConfirmation":{"description":"If you want to send Email confirmation. If null, it will take the default value of the bookings SendEmailConfirmation.","type":"boolean"}},"description":"ApproveBooking","type":"object"},"MarkBookingAsPayed":{"title":"MarkBookingAsPayed","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the booking","type":"integer","format":"int32"},"Comment":{"description":"Any comment logged to the booking history","type":"string"}},"description":"MarkBookingAsPayed","type":"object"},"AddQuantity":{"title":"AddQuantity","required":["BookingId","Quantity"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"BookingId":{"description":"Id of the booking","type":"integer","format":"int32"},"Quantity":{"description":"The quantity for booked on this price category","type":"integer","format":"int32"},"Price":{"description":"The price","type":"number","format":"double"},"CurrencyId":{"description":"The price currency","type":"string"},"Category":{"description":"The price category","type":"string"},"VAT":{"description":"The price VAT in percent","type":"number","format":"double"},"OccupiesSpot":{"description":"If the quantity you add should occupy a spot. Default is true. If no it will only be a row that includes price information.","type":"boolean","x-nullable":false},"Comments":{"description":"Any comments to be stored in the event log.","type":"string"}},"description":"AddQuantity","type":"object"},"UpdateAllQuantities":{"title":"UpdateAllQuantities","required":["BookingId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"BookingId":{"description":"Id of the booking","type":"integer","format":"int32","x-nullable":false},"Quantities":{"description":"Set the number of spots you want to book. You add number of spots per price category. Multiple spots require that the service has GroupBooking enabled. Default is one spot.","type":"array","items":{"$ref":"#/definitions/QuantityToUpdate"}},"Comments":{"description":"Any comments to be stored in the event log.","type":"string"}},"description":"UpdateAllQuantities","type":"object"},"QuantityToUpdate":{"title":"QuantityToUpdate","required":["Id","Quantity"],"properties":{"Id":{"description":"Id of the quantity","type":"integer","format":"int32"},"Quantity":{"description":"The quantity for booked on this price category","type":"integer","format":"int32"},"Price":{"description":"The price","type":"number","format":"double"},"CurrencyId":{"description":"The price currency","type":"string"},"Category":{"description":"The price category","type":"string"},"VAT":{"description":"The price VAT in percent","type":"number","format":"double"},"OccupiesSpot":{"description":"If the quantity you add should occupy a spot. Default is true. If no it will only be a row that includes price information.","type":"boolean"}},"description":"QuantityToUpdate","type":"object"},"AddResourceToBooking":{"title":"AddResourceToBooking","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the booking","type":"integer","format":"int32"},"ResourceTypeId":{"description":"The resource type id","type":"integer","format":"int32","x-nullable":false},"ResourceId":{"description":"The resource id","type":"integer","format":"int32","x-nullable":false}},"description":"AddResourceToBooking","type":"object"},"RemoveResourceFromBooking":{"title":"RemoveResourceFromBooking","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the booking","type":"integer","format":"int32"},"ResourceTypeId":{"description":"The resource type id","type":"integer","format":"int32","x-nullable":false},"ResourceId":{"description":"The resource id","type":"integer","format":"int32","x-nullable":false}},"description":"RemoveResourceFromBooking","type":"object"},"ChangeResourceOnBooking":{"title":"ChangeResourceOnBooking","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the booking","type":"integer","format":"int32"},"ResourceTypeId":{"description":"The resource type id","type":"integer","format":"int32","x-nullable":false},"ResourceId":{"description":"The resource id you want to replace","type":"integer","format":"int32","x-nullable":false},"NewResourceId":{"description":"The resource id to be replaced with","type":"integer","format":"int32","x-nullable":false}},"description":"ChangeResourceOnBooking","type":"object"},"DeclineBooking":{"title":"DeclineBooking","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the booking","type":"integer","format":"int32"},"Comment":{"description":"Any comment logged to the booking history","type":"string"},"Message":{"description":"Any comment sent to user if SendSmsConfirmation or SendEmailConfirmation","type":"string"},"SendSmsConfirmation":{"description":"If you want to send SMS confirmation. If null, it will take the default value of the bookings SendSMSConfirmation.","type":"boolean"},"SendEmailConfirmation":{"description":"If you want to send Email confirmation. If null, it will take the default value of the bookings SendEmailConfirmation.","type":"boolean"}},"description":"DeclineBooking","type":"object"},"RescheduleBooking":{"title":"RescheduleBooking","required":["Id","From","To"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the booking to reschedule","type":"integer","format":"int32","x-nullable":false},"From":{"description":"The new datetime you want to start the booking.","type":"string","format":"date-time","x-nullable":false},"To":{"description":"The new datetime you want to end the booking.","type":"string","format":"date-time","x-nullable":false},"Quantities":{"description":"Set the number of spots/resources you want to book. If null, existing booking quantities are used.","type":"array","items":{"$ref":"#/definitions/QuantityToBook"}},"Resources":{"$ref":"#/definitions/ResourceToUpdate","description":"Resources you want to change. Leave empty to auto-select resources that are available for the new time."},"AllowBookingOutsideSchedules":{"description":"If want to allow booking outside the service schedules. Only allowed by administrators.","type":"boolean","x-nullable":false},"Comments":{"description":"Any comment to save to the log when rescheduling the booking.","type":"string"},"SendSmsConfirmation":{"description":"If you want to send SMS confirmation about the reschedule. If null, it will take the default value of the bookings SendSMSConfirmation.","type":"boolean"},"SendEmailConfirmation":{"description":"If you want to send Email confirmation about the reschedule. If null, it will take the default value of the bookings SendEmailConfirmation.","type":"boolean"}},"description":"RescheduleBooking","type":"object"},"AddTagsToBooking":{"title":"AddTagsToBooking","required":["BookingId","TagIds"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"BookingId":{"description":"The booking id.","type":"integer","format":"int32","x-nullable":false},"TagIds":{"description":"The ids of the tags to attach.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}}},"description":"AddTagsToBooking","type":"object"},"GetBookingUserQueue":{"title":"GetBookingUserQueue","required":["Id","CompanyId","CustomerId"],"properties":{"Id":{"description":"Id of the booking user queue","type":"integer","format":"int32","x-nullable":false},"CompanyId":{"description":"","type":"string","x-nullable":false},"CustomerId":{"description":"","type":"string","x-nullable":false},"IncludeServiceInformation":{"description":"If you want to include the service information for the booking","type":"boolean","x-nullable":false},"IncludeCompanyInformation":{"description":"If you want to include the company information for the booking","type":"boolean","x-nullable":false}},"description":"GetBookingUserQueue","type":"object"},"GetAllBookingQueue":{"title":"GetAllBookingQueue","properties":{"UserId":{"description":"The user id for your profile. If not set it will set it automatically from your session","type":"string"},"DateStart":{"description":"Optional start date for the search interval. If not set it will default to todays date.","type":"dateTime","format":"date-time"},"DateEnd":{"description":"Optional end date for the search interval. If not set all future queue items will be returned.","type":"dateTime","format":"date-time"},"CompanyQueueItems":{"description":"Set to true if you want to include the queue items for the company you are logged in as administrator on, if false only queue items for the logged in user will be retrieved. Only administrators are allowed to do this.","type":"boolean","x-nullable":false},"ServiceId":{"description":"Optional filter for a specific service id.","type":"int","format":"int32"},"CustomerId":{"description":"Optional filter for a specific customer id.","type":"Guid"},"IncludeServiceInformation":{"description":"If you want to include the service information for the booking","type":"boolean","x-nullable":false},"IncludeCompanyInformation":{"description":"If you want to include the company information for the booking","type":"boolean","x-nullable":false},"IncludeCustomerInformation":{"description":"If you want to include the customer information for the booking","type":"boolean","x-nullable":false},"Skip":{"description":"Number of records to skip (for pagination)","type":"int","format":"int32"},"Take":{"description":"Maximum number of records to return (for pagination)","type":"int","format":"int32"}},"description":"GetAllBookingQueue","type":"object"},"DeleteBookingUserQueue":{"title":"DeleteBookingUserQueue","required":["Id","CompanyId","CustomerId"],"properties":{"Id":{"description":"Id of the booking user queue","type":"integer","format":"int32","x-nullable":false},"CompanyId":{"description":"","type":"string","x-nullable":false},"CustomerId":{"description":"","type":"string","x-nullable":false}},"description":"DeleteBookingUserQueue","type":"object"},"CreateBookingUserQueue":{"title":"CreateBookingUserQueue","properties":{"CompanyId":{"type":"string"},"CustomerId":{"type":"string"},"Customer":{"$ref":"#/definitions/CustomerToHandle"},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressToHandle"},"ServiceId":{"type":"integer","format":"int32","x-nullable":false},"From":{"type":"string","format":"date-time","x-nullable":false},"To":{"type":"string","format":"date-time","x-nullable":false},"Quantities":{"type":"array","items":{"$ref":"#/definitions/QuantityToBook"}},"CustomFields":{"description":"If Custom Fields are added to the booking, here you will send the id and the value for each custom field to be saved","type":"array","items":{"$ref":"#/definitions/AddCustomField"}},"CustomerCustomFields":{"description":"If Custom Fields are added to the customer, here you will send the id and the value for each custom field to be saved","type":"array","items":{"$ref":"#/definitions/AddCustomField"}}},"description":"CreateBookingUserQueue","type":"object"},"CodeLockSettingQuery":{"title":"CodeLockSettingQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"IncludeCodeLockSystemOptions":{"description":"If you want to include code locks that is supported.","type":"boolean","x-nullable":false}},"description":"CodeLockSettingQuery","type":"object"},"UpdateCodeLockSetting":{"title":"UpdateCodeLockSetting","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Active":{"description":"If code lock sync is active","type":"bool"},"CodeLockSystemsId":{"description":"The system type of the code lock","type":"int","format":"int32"},"ValidBeforeMinutes":{"description":"Number of minutes the access should be valid before booking starts.","type":"int","format":"int32"},"ValidAfterMinutes":{"description":"Number of minutes the access should be valid after booking ends.","type":"int","format":"int32"},"DeleteOldBySchedule":{"description":"If it should clean up old bookings after they have passed.","type":"boolean"},"SendEmailNotification":{"description":"If a notification should be sent by Email","type":"boolean"},"SendSMSNotification":{"description":"If a notification should be sent by SMS","type":"boolean"},"EmailNotificationTime":{"description":"How long before the booking starts in minutes the notification should be sent","type":"int","format":"int32"},"SMSNotificationTime":{"description":"How long before the booking starts in minutes the notification should be sent","type":"int","format":"int32"}},"description":"UpdateCodeLockSetting","type":"object"},"CodeLockAxemaSettingQuery":{"title":"CodeLockAxemaSettingQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"CodeLockAxemaSettingQuery","type":"object"},"CodeLockSiedleSettingQuery":{"title":"CodeLockSiedleSettingQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"CodeLockSiedleSettingQuery","type":"object"},"CodeLockTelkeySettingQuery":{"title":"CodeLockTelkeySettingQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"CodeLockTelkeySettingQuery","type":"object"},"CodeLockZesecSettingQuery":{"title":"CodeLockZesecSettingQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"CodeLockZesecSettingQuery","type":"object"},"UpdateZesecCodeLockSetting":{"title":"UpdateZesecCodeLockSetting","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"PhoneNumber":{"description":"The username (phone number) for login to the code lock","type":"string"},"Password":{"description":"The password for login to the code lock","type":"string"}},"description":"UpdateZesecCodeLockSetting","type":"object"},"AddZesecCodeLockSetting":{"title":"AddZesecCodeLockSetting","required":["Password","PhoneNumber"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Password":{"description":"The password for login to the code lock","type":"string"},"PhoneNumber":{"description":"The username (phone number) for login to the code lock","type":"string"}},"description":"AddZesecCodeLockSetting","type":"object"},"CodeLockZesecUnlock":{"title":"CodeLockZesecUnlock","properties":{"CompanyId":{"description":"The Company Id of the company you want to unlock the door for.","type":"string","x-nullable":false},"BookingId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"integer","format":"int32","x-nullable":false}},"description":"CodeLockZesecUnlock","type":"object"},"CodeLockVanderbiltSettingQuery":{"title":"CodeLockVanderbiltSettingQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"CodeLockVanderbiltSettingQuery","type":"object"},"CodeLockParakeySettingQuery":{"title":"CodeLockParakeySettingQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"CodeLockParakeySettingQuery","type":"object"},"CodeLockRcoEnablaSettingQuery":{"title":"CodeLockRcoEnablaSettingQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"CodeLockRcoEnablaSettingQuery","type":"object"},"DeleteOldReservations":{"title":"DeleteOldReservations","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"To":{"description":"The date to delete To. Only bookings that have ended by this date will be deleted.","type":"datetime","format":"date-time","x-nullable":false},"CodeLockSystemsId":{"description":"The system type of the code lock","type":"int","format":"int32","x-nullable":false},"Token":{"description":"If not logged in you can use token to update","type":"string"}},"description":"DeleteOldReservations","type":"object"},"UpdateTelkeyCodeLockSetting":{"title":"UpdateTelkeyCodeLockSetting","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Username":{"description":"The username for login to the code lock","type":"string"},"Password":{"description":"The password for login to the code lock","type":"string"}},"description":"UpdateTelkeyCodeLockSetting","type":"object"},"UpdateAxemaCodeLockSetting":{"title":"UpdateAxemaCodeLockSetting","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ApiEndpoint":{"description":"The api endpoint of the code lock","type":"string"},"ApiPort":{"description":"The api port for the code lock.","type":"string"},"Username":{"description":"The username to logon to the code lock.","type":"string"},"Password":{"description":"The password to logon to the code lock.","type":"string"}},"description":"UpdateAxemaCodeLockSetting","type":"object"},"UpdateSiedleCodeLockSetting":{"title":"UpdateSiedleCodeLockSetting","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ApiEndpoint":{"description":"The api endpoint of the code lock","type":"string"},"ApiPort":{"description":"The api port for the code lock.","type":"string"},"IntegrationType":{"description":"The integration type to the code lock. 1 = Local Api,  2 = Cloud Based Api","type":"string"},"DeviceId":{"description":"The device id to the code lock.","type":"string"},"Username":{"description":"The username to logon to the code lock.","type":"string"},"Password":{"description":"The password to logon to the code lock.","type":"string"}},"description":"UpdateSiedleCodeLockSetting","type":"object"},"AddAxemaCodeLockSetting":{"title":"AddAxemaCodeLockSetting","required":["ApiEndpoint","ApiPort","Username","Password"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ApiEndpoint":{"description":"The api endpoint of the code lock","type":"string"},"ApiPort":{"description":"The api port for the code lock.","type":"string"},"Username":{"description":"The username to logon to the code lock.","type":"string"},"Password":{"description":"The password to logon to the code lock.","type":"string"}},"description":"AddAxemaCodeLockSetting","type":"object"},"AddSiedleCodeLockSetting":{"title":"AddSiedleCodeLockSetting","required":["ApiEndpoint","ApiPort","Username","Password"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ApiEndpoint":{"description":"The api endpoint of the code lock","type":"string"},"ApiPort":{"description":"The api port for the code lock.","type":"string"},"DeviceId":{"description":"The device id to the code lock.","type":"string"},"IntegrationType":{"description":"The integration type to the code lock. 1 = Local Api,  2 = Cloud Based Api","type":"string"},"Username":{"description":"The username to logon to the code lock.","type":"string"},"Password":{"description":"The password to logon to the code lock.","type":"string"}},"description":"AddSiedleCodeLockSetting","type":"object"},"AddTelkeyCodeLockSetting":{"title":"AddTelkeyCodeLockSetting","required":["Username","Password"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Username":{"description":"The username for login to the code lock","type":"string"},"Password":{"description":"The password for login to the code lock","type":"string"}},"description":"AddTelkeyCodeLockSetting","type":"object"},"UpdateVanderbiltCodeLockSetting":{"title":"UpdateVanderbiltCodeLockSetting","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ApiEndpoint":{"description":"The api endpoint of the code lock","type":"string"},"ApiPort":{"description":"The api port for the code lock.","type":"string"},"Identifier":{"description":"The default identifier for the code lock.","type":"string"},"DefaultFacilityId":{"description":"The default facility id to be used when no set on the resource.","type":"string"}},"description":"UpdateVanderbiltCodeLockSetting","type":"object"},"ResyncBookingToCodeLock":{"title":"ResyncBookingToCodeLock","required":["BookingId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"BookingId":{"description":"Booking id","type":"integer","format":"int32","x-nullable":false}},"description":"ResyncBookingToCodeLock","type":"object"},"AddVanderbiltCodeLockSetting":{"title":"AddVanderbiltCodeLockSetting","required":["ApiEndpoint","ApiPort","Identifier"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ApiEndpoint":{"description":"The api endpoint of the code lock","type":"string"},"ApiPort":{"description":"The api port for the code lock.","type":"string"},"Identifier":{"description":"The default identifier for the code lock.","type":"string"},"DefaultFacilityId":{"description":"The default facility id to be used when no set on the resource.","type":"string"}},"description":"AddVanderbiltCodeLockSetting","type":"object"},"UpdateRcoEnablaCodeLockSetting":{"title":"UpdateRcoEnablaCodeLockSetting","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"SystemId":{"description":"The system id of the code lock.","type":"string"}},"description":"UpdateRcoEnablaCodeLockSetting","type":"object"},"CreateRcoEnablaCodeLockSetting":{"title":"CreateRcoEnablaCodeLockSetting","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"SystemId":{"description":"The system id of the code lock.","type":"string"}},"description":"CreateRcoEnablaCodeLockSetting","type":"object"},"UpdateParakeyCodeLockSetting":{"title":"UpdateParakeyCodeLockSetting","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"DomainId":{"description":"The domain id of the code lock.","type":"string"},"AccessToken":{"description":"The access token of the code lock.","type":"string"}},"description":"UpdateParakeyCodeLockSetting","type":"object"},"AddParakeyCodeLockSetting":{"title":"AddParakeyCodeLockSetting","required":["DomainId","AccessToken"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"DomainId":{"description":"The domain id of the code lock.","type":"string"},"AccessToken":{"description":"The access token of the code lock.","type":"string"}},"description":"AddParakeyCodeLockSetting","type":"object"},"CodeLockAccessySettingQuery":{"title":"CodeLockAccessySettingQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"CodeLockAccessySettingQuery","type":"object"},"UpdateAccessyCodeLockSetting":{"title":"UpdateAccessyCodeLockSetting","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ClientId":{"description":"The api clientId","type":"string"},"ClientSecret":{"description":"The api clientSecret","type":"string"}},"description":"UpdateAccessyCodeLockSetting","type":"object"},"AddAccessyCodeLockSetting":{"title":"AddAccessyCodeLockSetting","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ClientId":{"description":"The api clientId","type":"string"},"ClientSecret":{"description":"The api clientSecret","type":"string"}},"description":"AddAccessyCodeLockSetting","type":"object"},"CreateAxemaUserSync":{"title":"CreateAxemaUserSync","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"CreateAxemaUserSync","type":"object"},"QueryAxemaUserSyncJobs":{"title":"QueryAxemaUserSyncJobs","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Status":{"description":"Filter by status (0=Pending, 1=Processing, 2=Completed, 3=Failed).","type":"string"}},"description":"QueryAxemaUserSyncJobs","type":"object"},"CodeLockAmidoDaxSettingQuery":{"title":"CodeLockAmidoDaxSettingQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"CodeLockAmidoDaxSettingQuery","type":"object"},"UpdateAmidoDaxCodeLockSetting":{"title":"UpdateAmidoDaxCodeLockSetting","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"InstanceId":{"description":"The instance id of the code lock","type":"string"},"PartnerId":{"description":"The partner id of the code lock","type":"string"}},"description":"UpdateAmidoDaxCodeLockSetting","type":"object"},"AddAmidoDaxCodeLockSetting":{"title":"AddAmidoDaxCodeLockSetting","required":["InstanceId","PartnerId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"InstanceId":{"description":"The instance id of the code lock","type":"string","x-nullable":false},"PartnerId":{"description":"The partner id of the code lock","type":"string","x-nullable":false}},"description":"AddAmidoDaxCodeLockSetting","type":"object"},"GetAxemaUserSyncJob":{"title":"GetAxemaUserSyncJob","required":["Id"],"properties":{"Id":{"description":"The sync job id.","type":"string","x-nullable":false},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"GetAxemaUserSyncJob","type":"object"},"CategoryQuery":{"title":"CategoryQuery","properties":{"Id":{"description":"Id of the category","type":"integer","format":"int32"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"CategoryQuery","type":"object"},"CreateCompanyCategory":{"title":"CreateCompanyCategory","required":["Name"],"properties":{"Name":{"description":"Name of the category","type":"string"}},"description":"CreateCompanyCategory","type":"object"},"UpdateCompanyCategory":{"title":"UpdateCompanyCategory","properties":{"Id":{"description":"If of the category to update","type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Active":{"type":"boolean","x-nullable":false}},"description":"UpdateCompanyCategory","type":"object"},"SuperAdminCategoryQuery":{"title":"SuperAdminCategoryQuery","properties":{"Id":{"description":"Id of the category","type":"integer","format":"int32"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"SuperAdminCategoryQuery","type":"object"},"CompanyCoordinatesQuery":{"title":"CompanyCoordinatesQuery","required":["Street1","ZipCode","City","CountryId"],"properties":{"Street1":{"description":"Street address","type":"string"},"Street2":{"description":"Street adress","type":"string"},"ZipCode":{"description":"Street zip code","type":"string"},"City":{"description":"City","type":"string"},"CountryId":{"description":"Country Id (Example SE= Sweden)","type":"string"}},"description":"CompanyCoordinatesQuery","type":"object"},"CompanyTypeQuery":{"title":"CompanyTypeQuery","properties":{"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"CompanyTypeQuery","type":"object"},"UpdateCompany":{"title":"UpdateCompany","required":["CompanyId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Name":{"type":"string"},"OrganisationNumber":{"type":"string"},"TypeId":{"description":"What type of company. If it\u0027s used for personal use or as a company. 1 = Company use, 2 = Personal use","type":"int","format":"int32"},"OpeningHours":{"type":"string"},"Details":{"type":"string"},"CategoryName":{"type":"string"},"CategoryId":{"type":"integer","format":"int32"},"CompanyOwnerId":{"type":"integer","format":"int32"},"LogoType":{"$ref":"#/definitions/Uri"},"Street1":{"type":"string"},"Street2":{"type":"string"},"ZipCode":{"type":"string"},"City":{"type":"string"},"CountryId":{"type":"string"},"Longitude":{"type":"string"},"Latitude":{"type":"string"},"Phone":{"type":"string"},"Email":{"type":"string"},"Fax":{"type":"string"},"Homepage":{"type":"string"},"SitePath":{"type":"string"}},"description":"UpdateCompany","type":"object"},"CompanyQuery":{"title":"CompanyQuery","properties":{"Id":{"description":"Id for a specific company you want to retrieve.","type":"string"},"Categories":{"description":"Include companies in these categories.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"Latitude":{"description":"Search nearby this latitude coordinate.","type":"number","format":"double"},"Longitude":{"description":"Search nearby this longitude coordinate.","type":"number","format":"double"},"SitePath":{"description":"The site path url for the company homepage","type":"string"},"Active":{"description":"Search active companies. You\u0027re only allowed to search active companies.","type":"boolean","x-nullable":false},"OrganisationNumber":{"description":"The organisation number for the company","type":"string"},"Distance":{"description":"Maxium distance from the coordinates to be included in the result.","type":"number","format":"double"},"Search":{"description":"Will search by any company name or city that contains the search string provided.","type":"string"},"CompanyOwnerId":{"description":"Will search by any company owner id. Default is 1 = BokaMera.","type":"integer","format":"int32"},"IncludeBookingAgreements":{"description":"If you want to get the booking agreements loaded into the field BookingAgreements","type":"boolean","x-nullable":false},"IncludeCodeLockSystem":{"description":"If you want to get the code lock system used by the company","type":"boolean","x-nullable":false},"IncludeBookingSettings":{"description":"If you want to get the booking settings loaded into the field BookingSettings","type":"boolean","x-nullable":false},"IncludeSystemSettings":{"description":"If you want to get the system settings loaded into the field SystemSettings","type":"boolean","x-nullable":false},"IncludeWidgetSettings":{"description":"If you want to get the widget settings loaded into the field WidgetSettings","type":"boolean","x-nullable":false},"IncludeHomepageSettings":{"description":"If you want to get the homepage settings loaded into the field HomepageSettings","type":"boolean","x-nullable":false},"IncludeCustomerCustomFields":{"description":"If you want to include the connected custom fields for the customers","type":"boolean","x-nullable":false},"IncludeCustomFields":{"description":"If you want to include the connected custom fields","type":"boolean","x-nullable":false},"IncludeRatingReviews":{"description":"If you want to include the rating reviews","type":"boolean","x-nullable":false},"IncludeRatingSummary":{"description":"If you want to include the rating summary","type":"boolean","x-nullable":false},"IncludeCompanyOwner":{"description":"If you want to include company owner information","type":"boolean","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"CompanyQuery","type":"object"},"CreateCompany":{"title":"CreateCompany","required":["Name","OrganisationNumber","TypeId","CompanyOwnerId","OpeningHours","CategoryName","LogoType","Longitude","Email","SitePath","CompanyUser","LicenseTypeId"],"properties":{"Name":{"description":"","type":"string"},"OrganisationNumber":{"description":"","type":"string"},"TypeId":{"description":"What type of company. If it\u0027s used for personal use or as a company. 1 = Company use, 2 = Personal use","type":"int","format":"int32","x-nullable":false},"CompanyOwnerId":{"description":"What company owner.  1 = BokaMera (default)","type":"int","format":"int32"},"OpeningHours":{"description":"","type":"string"},"Details":{"description":"","type":"string"},"CategoryName":{"description":"","type":"string"},"LogoType":{"$ref":"#/definitions/Uri","description":"","type":"uri"},"Street1":{"description":"","type":"string"},"Street2":{"description":"","type":"string"},"ZipCode":{"description":"","type":"string"},"City":{"description":"","type":"string"},"CountryId":{"description":"","type":"string"},"Longitude":{"description":"","type":"string"},"Latitude":{"description":"","type":"string"},"Phone":{"description":"","type":"string"},"Email":{"description":"","type":"string"},"Fax":{"description":"","type":"string"},"Homepage":{"description":"","type":"string"},"SitePath":{"description":"","type":"string"},"CompanyUser":{"$ref":"#/definitions/CreateCompanyCompanyUser","description":""},"BillingInformation":{"$ref":"#/definitions/CreateCompanyBillingInformation"},"LicenseTypeId":{"description":"Id of the license type. If none is set it\u0027s free license","type":"integer","format":"int32"},"DomainName":{"description":"","type":"string"}},"description":"CreateCompany","type":"object"},"CreateCompanyCompanyUser":{"title":"CreateCompanyCompanyUser","required":["Firstname","Lastname","Phone","Email"],"properties":{"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Phone":{"type":"string"},"Email":{"type":"string"},"WorkerId":{"type":"integer","format":"int32"}},"description":"CreateCompanyCompanyUser","type":"object"},"CreateCompanyBillingInformation":{"title":"CreateCompanyBillingInformation","required":["LicensePlanId"],"properties":{"Name":{"description":"The name that should be printed on the billing information, normally this would be your company name.","type":"string"},"Attention":{"description":"If you want to add the attention to the billing address.","type":"string"},"Street1":{"description":"The street for the billing adress. This is required when having postal invoice as billing method.","type":"string"},"Street2":{"description":"The street for the billing adress.","type":"string"},"Email":{"description":"The billing email. This is required when having email invoice as billing method.","type":"string"},"PaymentTermsDays":{"description":"The billing payment terms in days. This is default 15 days.","type":"integer","format":"int32"},"LicensePlanId":{"description":"License plan ID.","type":"integer","format":"int32","x-nullable":false},"VatRegistrationNumber":{"description":"The company vat registration number.","type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"PhoneNumber":{"type":"string"},"CountryId":{"type":"string"},"BillingMethodId":{"type":"integer","format":"int32","x-nullable":false},"ZipCode":{"type":"string"},"City":{"type":"string"}},"description":"CreateCompanyBillingInformation","type":"object"},"CompanyUserQuery":{"title":"CompanyUserQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Active":{"description":"If you want to show only active or inactive administrators","type":"boolean"},"IncludeResourceInformation":{"description":"If you want to include the connected resource for the administrator","type":"boolean","x-nullable":false},"IncludeRolesInformation":{"description":"If you want to include the connected roles for the administrator","type":"boolean","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"CompanyUserQuery","type":"object"},"CreateCompanyUser":{"title":"CreateCompanyUser","required":["Firstname","Lastname","Phone","Email"],"properties":{"CompanyId":{"description":"Enter the company and id for the customer, if blank company id and you are an admin, your company id will be used.","type":"string"},"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Phone":{"type":"string"},"Email":{"type":"string"},"ResourceId":{"type":"integer","format":"int32"},"Roles":{"type":"array","items":{"$ref":"#/definitions/AddCompanyUserRolesResponse"}},"WorkerId":{"type":"integer","format":"int32"},"SendPushNotification":{"description":"If the admin should receive Push notification when booked","type":"boolean","x-nullable":false},"SendPushNotificationReminder":{"description":"If the resource should receive Push notification reminders on bookings","type":"boolean","x-nullable":false}},"description":"CreateCompanyUser","type":"object"},"AddCompanyUserRolesResponse":{"title":"AddCompanyUserRolesResponse","properties":{"RoleId":{"type":"string","x-nullable":false}},"description":"AddCompanyUserRolesResponse","type":"object"},"CompanyUserRolesQuery":{"title":"CompanyUserRolesQuery","properties":{},"description":"CompanyUserRolesQuery","type":"object"},"UpdateCompanyUser":{"title":"UpdateCompanyUser","required":["Id"],"properties":{"CompanyId":{"description":"Enter the company and id for the application user, if blank company id and you are an admin, your company id will be used.","type":"string"},"Id":{"description":"Enter the user id for the administrator.","type":"string","x-nullable":false},"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Phone":{"type":"string"},"Email":{"type":"string"},"ResourceId":{"type":"integer","format":"int32"},"Roles":{"type":"array","items":{"$ref":"#/definitions/AddCompanyUserRolesResponse"}},"WorkerId":{"type":"integer","format":"int32"},"SendPushNotification":{"description":"If the admin should receive Push notification when booked","type":"boolean"},"SendPushNotificationReminder":{"description":"If the resource should receive Push notification reminders on bookings","type":"boolean"}},"description":"UpdateCompanyUser","type":"object"},"DeleteCompanyUser":{"title":"DeleteCompanyUser","required":["Id"],"properties":{"CompanyId":{"description":"Enter the company and id for the application user, if blank company id and you are an admin, your company id will be used.","type":"string"},"Id":{"description":"Enter the user id for the administrator.","type":"string","x-nullable":false}},"description":"DeleteCompanyUser","type":"object"},"CountryQuery":{"title":"CountryQuery","properties":{"Id":{"description":"Id of the country","type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"CountryQuery","type":"object"},"CurrencyQuery":{"title":"CurrencyQuery","properties":{"Id":{"description":"Id of the currency","type":"string"},"Active":{"description":"Only active currencies","type":"boolean","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"CurrencyQuery","type":"object"},"CreateCustomerArticleFromArticle":{"title":"CreateCustomerArticleFromArticle","required":["ArticleId"],"properties":{"CompanyId":{"description":"","type":"string"},"ArticleId":{"description":"Article ID for the rebate code","type":"integer","format":"int32","x-nullable":false},"Customer":{"$ref":"#/definitions/CustomerToHandle","description":"Customer information"},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressToHandle","description":"If you want to book with customer information instead of the Customer Id send the customer information here. Note: If customer profile already exists with the same email the information will not be changed, instead the provided information will be added as BookingsComments if it differs from the ordinairy profile. "}},"description":"CreateCustomerArticleFromArticle","type":"object"},"UpdateCustomerArticle":{"title":"UpdateCustomerArticle","required":["Id"],"properties":{"Id":{"description":"The customer article id","type":"integer","format":"int32","x-nullable":false},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"StatusId":{"description":"The new status of the customer article","type":"string"},"Price":{"description":"Updated price","type":"number","format":"double"},"VAT":{"description":"Updated VAT","type":"number","format":"double"},"CurrencyId":{"description":"Updated currency","type":"string"}},"description":"UpdateCustomerArticle","type":"object"},"DeleteCustomerArticle":{"title":"DeleteCustomerArticle","required":["Id"],"properties":{"Id":{"description":"The customer article id","type":"integer","format":"int32","x-nullable":false},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"DeleteCustomerArticle","type":"object"},"CustomerArticleStatusQuery":{"title":"CustomerArticleStatusQuery","properties":{},"description":"CustomerArticleStatusQuery","type":"object"},"CreateCustomerArticle":{"title":"CreateCustomerArticle","required":["ArticleId","CustomerId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ArticleId":{"description":"The article id to base this customer article on","type":"integer","format":"int32","x-nullable":false},"CustomerId":{"description":"The customer id to assign the article to","type":"string","x-nullable":false},"StatusId":{"description":"The status of the customer article","type":"string"},"Price":{"description":"Optional price override. If not provided, uses the article price.","type":"number","format":"double"},"VAT":{"description":"Optional VAT override. If not provided, uses the article VAT.","type":"number","format":"double"},"CurrencyId":{"description":"Optional currency override. If not provided, uses the article currency.","type":"string"}},"description":"CreateCustomerArticle","type":"object"},"CustomerArticleQuery":{"title":"CustomerArticleQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the stand alone article","type":"integer","format":"int32"},"StatusId":{"description":"Filter by status","type":"string"},"CustomerId":{"description":"Filter by customer id","type":"string"},"IncludeCustomerInformation":{"description":"If you want to include the customer information","type":"boolean","x-nullable":false},"IncludeArticleInformation":{"description":"If you want to include the article information","type":"boolean","x-nullable":false},"IncludeCompanyInformation":{"description":"If you want to include the company information","type":"boolean","x-nullable":false},"IncludePaymentLog":{"description":"If you want to include the payment log","type":"boolean","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"CustomerArticleQuery","type":"object"},"CustomerQuery":{"title":"CustomerQuery","required":["CompanyId"],"properties":{"CompanyId":{"description":"Enter the company and id you want to see the information for a customer, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ","type":"string"},"CustomerId":{"description":"Enter the customer id you want to see the information for a customer. Only admins are allowed to see all customers on their company, users can only see their own customer info.","type":"string"},"UserId":{"description":"Enter the user id you want to see the information for a customer. Only admins are allowed to see all customers on their company, users can only see their own customer info. User Id is the userprofile","type":"string"},"Search":{"description":"Will search by any customer name,phone or email that contains the searchstring provided.","type":"string"},"Visible":{"description":"If you want to filter on visible customers.","type":"boolean"},"IncludeCustomFieldValues":{"description":"If you want to include the connected custom fields","type":"boolean","x-nullable":false},"IncludeCustomFields":{"description":"If you want to include the connected custom fields","type":"boolean","x-nullable":false},"IncludeComments":{"description":"If you want to include the comments on the customer","type":"boolean","x-nullable":false},"IncludeAccessKeys":{"description":"If you want to include the accesskeys","type":"boolean","x-nullable":false},"IncludeInvoiceAddress":{"description":"If you want to include invoice address","type":"boolean","x-nullable":false},"IncludeTags":{"description":"If you want to include tags attached to the customer. Requires administrator access.","type":"boolean","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"CustomerQuery","type":"object"},"CreateCustomer":{"title":"CreateCustomer","properties":{"CompanyId":{"description":"Enter the company and id for the customer, if blank company id and you are an admin, your company id will be used.","type":"string"},"CustomFields":{"description":"If Custom Fields are added to the customer, here you will send the id and the value for each custom field to be updated","type":"array","items":{"$ref":"#/definitions/AddCustomField"}},"AccessKeys":{"description":"List of Access Keys","type":"array","items":{"$ref":"#/definitions/AddUserAccessKey"}},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressToHandle","description":"Customer invoice adress"},"TagIds":{"description":"Ids of tags to attach to the customer at creation time. Tags must have Scope = Customer and belong to the company.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"CustomerId":{"type":"string"},"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Email":{"type":"string"},"Phone":{"type":"string"},"SubscribedToNewsletter":{"type":"boolean","x-nullable":false},"PersonalIdentityNumber":{"type":"string"}},"description":"CreateCustomer","type":"object"},"AddUserAccessKey":{"title":"AddUserAccessKey","properties":{"Id":{"description":"Specify \u0027Id\u0027 to update an existing access key, leave empty to create a new one","type":"string"},"CompanyId":{"description":"The company ID associated with this access key","type":"string"},"AccessKeyTypeId":{"description":"The type of access key to create","type":"integer","format":"int32","x-nullable":false},"Value":{"description":"The actual key value or token","type":"string"},"CustomerId":{"description":"The customer ID this access key is associated with","type":"string"},"Description":{"description":"A description or note about this access key","type":"string"}},"description":"AddUserAccessKey","type":"object"},"DeleteCustomer":{"title":"DeleteCustomer","required":["Id"],"properties":{"CompanyId":{"description":"Enter the company and id for the customer, if blank company id and you are an admin, your company id will be used.","type":"string"},"Id":{"description":"customer id","type":"string","x-nullable":false}},"description":"DeleteCustomer","type":"object"},"UpdateCustomer":{"title":"UpdateCustomer","required":["Id"],"properties":{"CompanyId":{"description":"Enter the company and id for the customer, if blank company id and you are an admin, your company id will be used.","type":"string"},"Id":{"description":"customer id","type":"string","x-nullable":false},"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Phone":{"type":"string"},"Email":{"type":"string"},"PersonalIdentityNumber":{"type":"string"},"CustomFields":{"description":"If Custom Fields are added to the customer, here you will send the id and the value for each custom field to be updated","type":"array","items":{"$ref":"#/definitions/AddCustomField"}},"AccessKeys":{"description":"List of Access Keys","type":"array","items":{"$ref":"#/definitions/AddUserAccessKey"}},"AccessKeysToDelete":{"type":"array","items":{"$ref":"#/definitions/DeleteUserAccessKey"}},"SubscribedToNewsletter":{"type":"boolean"},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressToHandle"}},"description":"UpdateCustomer","type":"object"},"DeleteUserAccessKey":{"title":"DeleteUserAccessKey","properties":{"Id":{"description":"The unique identifier of the access key to delete","type":"string","x-nullable":false}},"description":"DeleteUserAccessKey","type":"object"},"CustomerCommentsQuery":{"title":"CustomerCommentsQuery","required":["CustomerId","CompanyId"],"properties":{"CustomerId":{"type":"string","x-nullable":false},"CompanyId":{"type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"CustomerCommentsQuery","type":"object"},"CreateCustomerComments":{"title":"CreateCustomerComments","required":["CustomerId","Comments"],"properties":{"CustomerId":{"type":"string","x-nullable":false},"Comments":{"type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri"},"CompanyId":{"type":"string"}},"description":"CreateCustomerComments","type":"object"},"AddTagsToCustomer":{"title":"AddTagsToCustomer","required":["CustomerId","TagIds"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"CustomerId":{"description":"The customer id.","type":"string","x-nullable":false},"TagIds":{"description":"The ids of the tags to attach.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}}},"description":"AddTagsToCustomer","type":"object"},"DeleteCustomerComments":{"title":"DeleteCustomerComments","required":["Id","CustomerId"],"properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"CustomerId":{"type":"string","x-nullable":false},"CompanyId":{"type":"string"}},"description":"DeleteCustomerComments","type":"object"},"RemoveTagFromCustomer":{"title":"RemoveTagFromCustomer","required":["CustomerId","TagId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"CustomerId":{"description":"The customer id.","type":"string","x-nullable":false},"TagId":{"description":"The tag id to remove.","type":"integer","format":"int32","x-nullable":false}},"description":"RemoveTagFromCustomer","type":"object"},"CustomFieldQuery":{"title":"CustomFieldQuery","properties":{"Ids":{"description":"One or multiple id\u0027s of custom fields to find","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"CompanyId":{"description":"Company id to find custom fields for","type":"string"},"Table":{"description":"Table to which the custom field belongs to","type":"string"},"Active":{"description":"Active or removed fields, empty parameter includes both","type":"boolean"},"IncludeCustomFieldValues":{"description":"If you want to include the custom fields values to select from when using dropdown as datatype","type":"boolean","x-nullable":false},"IncludeConnectedServices":{"description":"If you want to include the connected services for the custom field","type":"bool","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"CustomFieldQuery","type":"object"},"CreateCustomField":{"title":"CreateCustomField","required":["Name","Description","IconId","MaxLength"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"FieldId":{"description":"Field id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"Configuration name. Example: \u0027Number of persons\u0027.","type":"string"},"Description":{"description":"Custom field description. Example: \u0027For how many persons is this booking?\u0027","type":"string"},"IconId":{"description":"Custom field icon id. Example: \u00271   House,2   Calendar,3   Building,4   Cart,5   Find,6   Blue flag,7   Green flag,8   Information,9   Lightning,10  Page edit,11  Pencil,12  Link,13  Star,14  User,15  Tick,16  Wrench,17  Clock\u0027","type":"integer","format":"int32","x-nullable":false},"Width":{"description":"Field width. Example: 20","type":"integer","format":"int32","x-nullable":false},"Datatype":{"description":"Data field of custom field. Valid values are: TextBox, DropDown Example: \u0027TextBox\u0027","type":"string"},"DefaultValue":{"description":"Default value of the field. Example: \u00273\u0027","type":"string"},"IsMandatory":{"description":"Determines if the field is required to have a value or not. Default is false","type":"boolean","x-nullable":false},"MandatoryErrorMessage":{"description":"Error message shown to the user if the field data is required but not entered","type":"string"},"MaxLength":{"description":"Max lenght of the field. Default is 500","type":"integer","format":"int32","x-nullable":false},"MultipleLineText":{"description":"If the field should have multiple lines. Defualt is false","type":"boolean","x-nullable":false},"RegExId":{"description":"Regular expression used for validation of the field","type":"integer","format":"int32"},"RegExErrorMessage":{"description":"Error message shown if the regular expression validation failed","type":"string"},"IsPublic":{"description":"If the field is visible to the customer. Default is true","type":"boolean","x-nullable":false},"IsHidden":{"description":"If the field should be hidden in lists. Default is false","type":"boolean","x-nullable":false},"SortOrder":{"description":"Display order for the field. Lower values appear first. Same as Service SortOrder.","type":"integer","format":"int32","x-nullable":false},"Values":{"description":"The values to select from if Datatype is DropDown for this custom field","type":"array","items":{"$ref":"#/definitions/CustomFieldGroupValue"}},"Services":{"description":"The services that is connected to the custom field. If null it will be connected to all services.","type":"array","items":{"$ref":"#/definitions/CustomFieldServices"}}},"description":"CreateCustomField","type":"object"},"CustomFieldGroupValue":{"title":"CustomFieldGroupValue","properties":{"SortOrder":{"type":"integer","format":"int32"},"Value":{"type":"string"}},"description":"CustomFieldGroupValue","type":"object"},"CustomFieldServices":{"title":"CustomFieldServices","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"description":"Name of the service","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The image url of the service"}},"description":"CustomFieldServices","type":"object"},"CustomFieldSlotsQuery":{"title":"CustomFieldSlotsQuery","required":["Table"],"properties":{"CompanyId":{"description":"Company id to find custom fields for","type":"string"},"Table":{"description":"Table to which the field belongs","type":"string"},"FreeSlots":{"description":"If you want to receive only free slots (not occupied).","type":"boolean"}},"description":"CustomFieldSlotsQuery","type":"object"},"CustomFieldValidationsQuery":{"title":"CustomFieldValidationsQuery","properties":{},"description":"CustomFieldValidationsQuery","type":"object"},"UpdateCustomField":{"title":"UpdateCustomField","required":["Id","Name","Description","IconId","MaxLength"],"properties":{"Id":{"description":"Custom field id","type":"integer","format":"int32","x-nullable":false},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"GroupId":{"description":"Group id","type":"integer","format":"int32"},"FieldId":{"description":"Field id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"Configuration name. Example: \u0027Number of persons\u0027.","type":"string"},"Description":{"description":"Custom field description. Example: \u0027For how many persons is this booking?\u0027","type":"string"},"IconId":{"description":"Custom field icon id. Example: \u00271   House,2   Calendar,3   Building,4   Cart,5   Find,6   Blue flag,7   Green flag,8   Information,9   Lightning,10  Page edit,11  Pencil,12  Link,13  Star,14  User,15  Tick,16  Wrench,17  Clock\u0027","type":"integer","format":"int32","x-nullable":false},"Width":{"description":"Field width. Example: 20","type":"integer","format":"int32","x-nullable":false},"Datatype":{"description":"Data field of custom field. Valid values are: TextBox, DropDown Example: \u0027TextBox\u0027","type":"string"},"DefaultValue":{"description":"Default value of the field. Example: \u00273\u0027","type":"string"},"IsMandatory":{"description":"Determines if the field is required to have a value or not. Default is false","type":"boolean"},"MandatoryErrorMessage":{"description":"Error message shown to the user if the field data is required but not entered","type":"string"},"MaxLength":{"description":"Max lenght of the field. Default is 500","type":"integer","format":"int32","x-nullable":false},"MultipleLineText":{"description":"If the field should have multiple lines. Defualt is false","type":"boolean"},"RegExId":{"description":"Regular expression used for validation of the field","type":"integer","format":"int32"},"RegExErrorMessage":{"description":"Error message shown if the regular expression validation failed","type":"string"},"IsPublic":{"description":"If the field is visible to the customer. Default is true","type":"boolean"},"IsHidden":{"description":"If the field should be hidden in lists. Default is false","type":"boolean"},"SortOrder":{"description":"Display order for the field. Lower values appear first. Same as Service SortOrder.","type":"integer","format":"int32"},"Values":{"description":"The values to select from if Datatype is DropDown for this custom field","type":"array","items":{"$ref":"#/definitions/CustomFieldGroupValue"}},"Services":{"description":"The services that is connected to the custom field. If null it will be connected to all services.","type":"array","items":{"$ref":"#/definitions/CustomFieldServices"}}},"description":"UpdateCustomField","type":"object"},"DeleteCustomField":{"title":"DeleteCustomField","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the custom field to delete","type":"integer","format":"int32","x-nullable":false}},"description":"DeleteCustomField","type":"object"},"EAccountingStoreTokenCallback":{"title":"EAccountingStoreTokenCallback","properties":{"Code":{"type":"string"},"state":{"type":"string"},"CompanyId":{"type":"string"}},"description":"EAccountingStoreTokenCallback","type":"object"},"EaccountingUserToken":{"title":"EaccountingUserToken","properties":{"CompanyId":{"type":"string"}},"description":"EaccountingUserToken","type":"object"},"EAccountingCheckAuthentication":{"title":"EAccountingCheckAuthentication","properties":{"CompanyId":{"type":"string"}},"description":"EAccountingCheckAuthentication","type":"object"},"EAccountingArticleQuery":{"title":"EAccountingArticleQuery","properties":{"CompanyId":{"type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"EAccountingArticleQuery","type":"object"},"EaccountingInvoiceQuery":{"title":"EaccountingInvoiceQuery","properties":{"BookingId":{"type":"integer","format":"int32"},"Paid":{"type":"boolean"},"IncludeInvoiceLines":{"type":"boolean","x-nullable":false},"IncludeInvoiceNotes":{"type":"boolean","x-nullable":false},"IncludePaymentTermData":{"type":"boolean","x-nullable":false},"IncludeInvoiceAddress":{"type":"boolean","x-nullable":false},"CompanyId":{"type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"EaccountingInvoiceQuery","type":"object"},"EAccountingInvoiceDraftQuery":{"title":"EAccountingInvoiceDraftQuery","properties":{"BookingId":{"type":"integer","format":"int32"},"IncludeInvoiceLines":{"type":"boolean","x-nullable":false},"IncludeInvoiceNotes":{"type":"boolean","x-nullable":false},"CompanyId":{"type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"EAccountingInvoiceDraftQuery","type":"object"},"EAccountingCustomerQuery":{"title":"EAccountingCustomerQuery","properties":{"CompanyId":{"type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"EAccountingCustomerQuery","type":"object"},"UpdateEaccountingCustomer":{"title":"UpdateEaccountingCustomer","required":["Id"],"properties":{"Id":{"description":"Customer Id in e-accounting.","type":"string"},"InvoiceCity":{"description":"","type":"string"},"InvoicePostalCode":{"description":"Max length: 10 characters","type":"string"},"Name":{"description":"Max length: 50 characters","type":"string"},"TermsOfPaymentId":{"description":"","type":"string"},"IsPrivatePerson":{"description":"","type":"boolean","x-nullable":false},"IsActive":{"description":"","type":"boolean","x-nullable":false},"Telephone":{"description":"","type":"string"},"EmailAddress":{"description":"","type":"string"},"MobilePhone":{"description":"","type":"string"},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"UpdateEaccountingCustomer","type":"object"},"CreateInvoiceDraft":{"title":"CreateInvoiceDraft","required":["BookingId","TermsOfPaymentId","RotPropertyType","RotReducedInvoicingType"],"properties":{"BookingId":{"description":"The booking id, to be used to create the customer.","type":"integer","format":"int32","x-nullable":false},"TermsOfPaymentId":{"description":"The Term of payment Id, to be used to create the invoice.","type":"string","x-nullable":false},"Notes":{"description":"Note id\u0027s to add to this invoice","type":"array","items":{"type":"string"}},"InvoiceCustomerName":{"description":"Invoice Customer name","type":"string"},"RotPropertyType":{"description":"1 = Apartment, 2 = Property Leave blank or set to null if you do not intend to use ROT or Green Technology functionality.","type":"string"},"RotReducedInvoicingType":{"description":"0 = Normal, 1 = Rot, 2 = Rut = [\u00270\u0027, \u00271\u0027, \u00272\u0027]","type":"string"},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"InvoiceAddressId":{"type":"string","x-nullable":false},"UserId":{"type":"string"},"CorporateIdentityNumber":{"type":"string"},"InvoiceAddress1":{"type":"string"},"InvoiceAddress2":{"type":"string"},"InvoiceCity":{"type":"string"},"InvoicePostalCode":{"type":"string"},"InvoiceCountryCode":{"type":"string"}},"description":"CreateInvoiceDraft","type":"object"},"CreateInvoice":{"title":"CreateInvoice","required":["BookingId","TermsOfPaymentId","SendType","RotPropertyType","RotReducedInvoicingType"],"properties":{"BookingId":{"description":"The booking id, to be used to create the customer.","type":"integer","format":"int32","x-nullable":false},"TermsOfPaymentId":{"description":"The Term of payment Id, to be used to create the invoice.","type":"string","x-nullable":false},"Notes":{"description":"Note id\u0027s to add to this invoice","type":"array","items":{"type":"string"}},"InvoiceCustomerName":{"description":"Invoice Customer name","type":"string"},"SendType":{"description":"Used for sending the invoice via Auto-invoice Default:None, 0 = None, 1 = AutoInvoiceElectronic, 2 = AutoInvoicePrint, 3 = AutoInvoiceB2C = [\u00270\u0027, \u00271\u0027, \u00272\u0027, \u00273\u0027].","type":"string"},"RotPropertyType":{"description":"1 = Apartment, 2 = Property Leave blank or set to null if you do not intend to use ROT or Green Technology functionality.","type":"string"},"RotReducedInvoicingType":{"description":"0 = Normal, 1 = Rot, 2 = Rut = [\u00270\u0027, \u00271\u0027, \u00272\u0027]","type":"string"},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"InvoiceAddressId":{"type":"string","x-nullable":false},"UserId":{"type":"string"},"CorporateIdentityNumber":{"type":"string"},"InvoiceAddress1":{"type":"string"},"InvoiceAddress2":{"type":"string"},"InvoiceCity":{"type":"string"},"InvoicePostalCode":{"type":"string"},"InvoiceCountryCode":{"type":"string"}},"description":"CreateInvoice","type":"object"},"LogOut":{"title":"LogOut","properties":{"CompanyId":{"type":"string"}},"description":"LogOut","type":"object"},"CreateEaccountingNote":{"title":"CreateEaccountingNote","properties":{"Text":{"type":"string"},"CompanyId":{"type":"string"}},"description":"CreateEaccountingNote","type":"object"},"CreateEAccountingArticle":{"title":"CreateEAccountingArticle","properties":{"ServiceId":{"type":"integer","format":"int32","x-nullable":false},"CompanyId":{"type":"string"},"ArticleId":{"type":"string","x-nullable":false},"ArticlePrice":{"type":"number","format":"double","x-nullable":false},"ArticleName":{"type":"string"},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false}},"description":"CreateEAccountingArticle","type":"object"},"GetEAccountingSettingsQuery":{"title":"GetEAccountingSettingsQuery","properties":{"CompanyId":{"description":"E-Accounting settings company Id.","type":"string"}},"description":"GetEAccountingSettingsQuery","type":"object"},"GetEAccountingDefaultArticlesQuery":{"title":"GetEAccountingDefaultArticlesQuery","properties":{"CompanyId":{"description":"E-Accounting settings company Id.","type":"string"}},"description":"GetEAccountingDefaultArticlesQuery","type":"object"},"UpdateEAccountingSettings":{"title":"UpdateEAccountingSettings","properties":{"DefaultArticle25PercentVat":{"description":"Article id for 25% VAT in e-accounting system","type":"string"},"DefaultArticle12PercentVat":{"description":"Article id for 12% VAT in e-accounting system","type":"string"},"DefaultArticle6PercentVat":{"description":"Article id for 6% VAT in e-accounting system","type":"string"},"DefaultArticle0PercentVat":{"description":"Article id for 0% VAT in e-accounting system","type":"string"},"DefaultCreateType":{"description":"Default invoice create type for invoice creation","type":"string"},"EAccountingIntegrationActive":{"description":"Determines wether e-accounting intergration is active or not","type":"boolean","x-nullable":false},"DefaultTermsOfPaymentId":{"description":"Default terms of payment value for invoice creation","type":"string"},"CreditOnCancel":{"description":"True - Cancel and automatic credit the invoice, False - Will not credit the invoice","type":"boolean","x-nullable":false},"MaxDaysBookingStatusCheck":{"description":"Max number of days back in time the background job should check booking invoice statuses. Default is 90 days if not set.","type":"integer","format":"int32"},"CompanyId":{"description":"E-Accounting settings company Id.","type":"string"}},"description":"UpdateEAccountingSettings","type":"object"},"EaccountingNoteQuery":{"title":"EaccountingNoteQuery","properties":{"CompanyId":{"type":"string"}},"description":"EaccountingNoteQuery","type":"object"},"EAccountingTermsOfPaymentQuery":{"title":"EAccountingTermsOfPaymentQuery","properties":{"TermsOfPaymentTypeId":{"type":"string"},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"EAccountingTermsOfPaymentQuery","type":"object"},"EAccountingTermOfPaymentQuery":{"title":"EAccountingTermOfPaymentQuery","properties":{"PaymentTermId":{"description":"Payment Term Id in e-accounting.","type":"string"},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"EAccountingTermOfPaymentQuery","type":"object"},"CreateSummarizedInvoice":{"title":"CreateSummarizedInvoice","required":["DateFrom","DateTo","TermsOfPaymentId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"DateFrom":{"description":"Start date for the booking range to include.","type":"string","format":"date-time","x-nullable":false},"DateTo":{"description":"End date for the booking range to include.","type":"string","format":"date-time","x-nullable":false},"CustomerId":{"description":"Optional customer id. If null, creates one summarized invoice per customer with eligible bookings.","type":"string"},"ServiceId":{"description":"Optional service/event id filter. Only include bookings for this service.","type":"integer","format":"int32"},"BookingStatusIds":{"description":"Optional list of booking status ids to include. If empty, all statuses are included.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"TermsOfPaymentId":{"description":"The terms of payment id from EAccounting.","type":"string"},"CreateType":{"description":"Invoice creation type: \u0027Draft\u0027 or \u0027Invoice\u0027. Defaults to company\u0027s EAccounting DefaultCreateType.","type":"string"},"SendType":{"description":"Send type for final invoices. 0 = None, 1 = AutoInvoiceElectronic, 2 = AutoInvoicePrint, 3 = AutoInvoiceB2C.","type":"string"},"CorporateIdentityNumber":{"description":"Override corporate identity number for invoice address.","type":"string"},"InvoiceAddress1":{"description":"Override invoice address line 1.","type":"string"},"InvoiceAddress2":{"description":"Override invoice address line 2.","type":"string"},"InvoiceCity":{"description":"Override invoice city.","type":"string"},"InvoicePostalCode":{"description":"Override invoice postal code.","type":"string"},"InvoiceCountryCode":{"description":"Override invoice country code.","type":"string"}},"description":"CreateSummarizedInvoice","type":"object"},"QuerySummarizedInvoices":{"title":"QuerySummarizedInvoices","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"CustomerId":{"description":"Filter by customer id.","type":"string"},"DateFrom":{"description":"Filter by date from.","type":"string","format":"date-time"},"DateTo":{"description":"Filter by date to.","type":"string","format":"date-time"},"Status":{"description":"Filter by status (0=Pending, 1=Processing, 2=Completed, 3=Failed).","type":"string"}},"description":"QuerySummarizedInvoices","type":"object"},"EaccountingInvoicePrintQuery":{"title":"EaccountingInvoicePrintQuery","properties":{"InvoiceId":{"type":"string"},"CompanyId":{"type":"string"}},"description":"EaccountingInvoicePrintQuery","type":"object"},"EAccountingInvoiceDraftConvertQuery":{"title":"EAccountingInvoiceDraftConvertQuery","required":["SendType"],"properties":{"InvoiceDraftId":{"type":"string"},"BookingId":{"type":"integer","format":"int32","x-nullable":false},"SendType":{"description":"Used for sending the invoice via Auto-invoice Default:None, 0 = None, 1 = AutoInvoiceElectronic, 2 = AutoInvoicePrint, 3 = AutoInvoiceB2C = [\u00270\u0027, \u00271\u0027, \u00272\u0027, \u00273\u0027].","type":"string"},"CompanyId":{"type":"string"}},"description":"EAccountingInvoiceDraftConvertQuery","type":"object"},"EAccountingUpdatePricesMapping":{"title":"EAccountingUpdatePricesMapping","properties":{"ServicePriceMappings":{"type":"array","items":{"$ref":"#/definitions/ServicePriceMapping"}},"CompanyId":{"description":"Company to show services for","type":"string"}},"description":"EAccountingUpdatePricesMapping","type":"object"},"ServicePriceMapping":{"title":"ServicePriceMapping","properties":{"Id":{"description":"The id","type":"string"},"PriceId":{"description":"The price id","type":"integer","format":"int32","x-nullable":false},"ReferenceType":{"description":"The Reference Type: StripeArticle = 1, EAccountingArticle = 2","type":"string"},"ExternalReference":{"description":"The external reference; Values for EAccountingArticle, StripeArticle","type":"string"}},"description":"ServicePriceMapping","type":"object"},"PreviewSummarizedInvoice":{"title":"PreviewSummarizedInvoice","required":["DateFrom","DateTo"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"DateFrom":{"description":"Start date for the booking range to include.","type":"string","format":"date-time","x-nullable":false},"DateTo":{"description":"End date for the booking range to include.","type":"string","format":"date-time","x-nullable":false},"CustomerId":{"description":"Optional customer id filter.","type":"string"},"ServiceId":{"description":"Optional service/event id filter.","type":"integer","format":"int32"},"BookingStatusIds":{"description":"Optional list of booking status ids to include. If empty, all statuses are included.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"SendType":{"description":"Send type for invoices. 0 = None, 1 = AutoInvoiceElectronic, 2 = AutoInvoicePrint, 3 = AutoInvoiceB2C. Used to validate customer addresses for postal delivery.","type":"string"}},"description":"PreviewSummarizedInvoice","type":"object"},"GetSummarizedInvoice":{"title":"GetSummarizedInvoice","required":["Id"],"properties":{"Id":{"description":"The summarized invoice id.","type":"string","x-nullable":false},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"GetSummarizedInvoice","type":"object"},"SendAnInvoiceByEmail":{"title":"SendAnInvoiceByEmail","properties":{"InvoiceId":{"type":"string"},"Email":{"type":"string"},"CcRecipients":{"type":"array","items":{"type":"string"}},"Subject":{"type":"string"},"Message":{"type":"string"},"CompanyId":{"type":"string"}},"description":"SendAnInvoiceByEmail","type":"object"},"ResolveErrorLogQuery":{"title":"ResolveErrorLogQuery","properties":{"Resolved":{"type":"boolean","x-nullable":false},"ErrorLogIds":{"type":"array","items":{"type":"integer","format":"int32","x-nullable":false}}},"description":"ResolveErrorLogQuery","type":"object"},"CreateError":{"title":"CreateError","required":["ExceptionName","ExceptionMessage","InnerExceptionName","StackTrace","URL"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ExceptionName":{"description":"","type":"string"},"ExceptionMessage":{"description":"","type":"string"},"ExceptionSource":{"description":"","type":"string"},"InnerExceptionName":{"description":"","type":"string"},"StackTrace":{"description":"","type":"string"},"URL":{"description":"","type":"string"},"LoggedInUser":{"description":"","type":"string"},"IPAddress":{"description":"","type":"string"},"Request":{"description":"","type":"string"},"Session":{"description":"","type":"string"}},"description":"CreateError","type":"object"},"DeleteInactiveCustomers":{"title":"DeleteInactiveCustomers","required":["InactiveSince"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"InactiveSince":{"description":"Inactive customers since the date. Inactive means they haven\u0027t done any bookings since that date.","type":"string","format":"date-time","x-nullable":false}},"description":"DeleteInactiveCustomers","type":"object"},"GDPRInactiveCustomerQuery":{"title":"GDPRInactiveCustomerQuery","required":["InactiveSince"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"InactiveSince":{"description":"Inactive customers since the date. Inactive means they haven\u0027t done any bookings since that date.","type":"string","format":"date-time","x-nullable":false},"IncludeCustomerInformation":{"description":"If you want to include the full customer information in the response","type":"boolean","x-nullable":false}},"description":"GDPRInactiveCustomerQuery","type":"object"},"GDPRCustomerQuery":{"title":"GDPRCustomerQuery","required":["CompanyId","CustomerId"],"properties":{"CompanyId":{"description":"Enter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ","type":"string"},"CustomerId":{"description":"Id of the customer","type":"string","x-nullable":false}},"description":"GDPRCustomerQuery","type":"object"},"GeoDataCitiesQuery":{"title":"GeoDataCitiesQuery","required":["CountryId"],"properties":{"CountryId":{"description":"Enter the country id you want to search cities. Example SE for Sweden.","type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"GeoDataCitiesQuery","type":"object"},"MessageLogQuery":{"title":"MessageLogQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Sent":{"description":"If you want to search on sent messages","type":"boolean"},"Id":{"description":"Message Id","type":"int","format":"int32"},"BookingId":{"description":"If you want to search on a messages for a specific booking","type":"int","format":"int32"},"Receiver":{"description":"If you want to search on a messages for a specific receiver","type":"string"},"Created":{"description":"If you want to search on a messages created a specific date","type":"datetime","format":"date-time"},"SentDate":{"description":"If you want to search on a messages sent a specific date","type":"datetime","format":"date-time"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"MessageLogQuery","type":"object"},"FieldTranslationsQuery":{"title":"FieldTranslationsQuery","properties":{"Id":{"description":"The field translation id.","type":"integer","format":"int32"},"Group":{"description":"The field translation group","type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"FieldTranslationsQuery","type":"object"},"MessageTemplatesQuery":{"title":"MessageTemplatesQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The message template id.","type":"integer","format":"int32"},"TypeId":{"description":"The message type id. See GET /messages/templates/types ","type":"integer","format":"int32"},"MessageTypeSendMethodId":{"description":"The message send method id.1 = Email and 2 = SMS. See GET /messages/templates/types ","type":"integer","format":"int32"},"Default":{"description":"If you only want to retrieve active message templates (not inactive).","type":"boolean"},"IncludeMessageTypeInformation":{"description":"If you want to include the message type information","type":"boolean","x-nullable":false},"IncludeConnectedServices":{"description":"If you want to include the services that are conencted to this template","type":"boolean","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"MessageTemplatesQuery","type":"object"},"CreateMessageTemplate":{"title":"CreateMessageTemplate","required":["TypeId","Name","Title","Body"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"TypeId":{"description":"The message type id. See GET /messages/templates/types ","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The message template name.","type":"string"},"Title":{"description":"The message template title.","type":"string"},"Body":{"description":"The message template title.","type":"string"},"Sender":{"description":"The message template sender (an email for message types with sendmethod 1, for SMS this cannot be set).","type":"string"},"Language":{"description":"Template Language sv / en","type":"string"},"Services":{"description":"The services that is connected to the template. If null it will be connected to all services.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}}},"description":"CreateMessageTemplate","type":"object"},"GetGoogleMeetAuthUrl":{"title":"GetGoogleMeetAuthUrl","required":["ResourceId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ResourceId":{"description":"The resource id to connect the Google account to. Use 0 for a company-wide default.","type":"integer","format":"int32","x-nullable":false}},"description":"GetGoogleMeetAuthUrl","type":"object"},"GetGoogleMeetStatus":{"title":"GetGoogleMeetStatus","required":["ResourceId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ResourceId":{"description":"The resource id to check status for. Use 0 for company-wide default.","type":"integer","format":"int32","x-nullable":false}},"description":"GetGoogleMeetStatus","type":"object"},"DisconnectGoogleMeet":{"title":"DisconnectGoogleMeet","required":["ResourceId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ResourceId":{"description":"The resource id to disconnect. Use 0 for company-wide default.","type":"integer","format":"int32","x-nullable":false}},"description":"DisconnectGoogleMeet","type":"object"},"HomepageImagesQuery":{"title":"HomepageImagesQuery","properties":{"CompanyId":{"description":"Enter the company you want to see news for, if blank and you are an admin, your company id will be used","type":"string"},"Id":{"description":"The image id.","type":"integer","format":"int32"},"SitePath":{"description":"The homepage sitepath.","type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"HomepageImagesQuery","type":"object"},"CreateHomepageImage":{"title":"CreateHomepageImage","required":["CompanyId"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"Title":{"description":"The image title.","type":"string"},"Description":{"description":"The image description.","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The image url."}},"description":"CreateHomepageImage","type":"object"},"HomepageMenuQuery":{"title":"HomepageMenuQuery","properties":{"CompanyId":{"description":"Enter the company you want to see news for, if blank and you are an admin, your company id will be used","type":"string"},"SitePath":{"description":"The homepage sitepath.","type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"HomepageMenuQuery","type":"object"},"HomepageSettingsQuery":{"title":"HomepageSettingsQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"IncludeHomePageTemplateOptions":{"description":"If you want to include the homepage template options to select from","type":"boolean","x-nullable":false},"IncludeHomePageHeroSectionStyleOptions":{"description":"If you want to include the homepage hero section style options to select from","type":"boolean","x-nullable":false},"SitePath":{"description":"The homepage sitepath.","type":"string"}},"description":"HomepageSettingsQuery","type":"object"},"UpdateHomepageMenu":{"title":"UpdateHomepageMenu","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"HomeText":{"description":"The text for home menu item","type":"string"},"HomeHidden":{"description":"If the home menu item should be hidden","type":"boolean"},"ServicesText":{"description":"The text for services menu item","type":"string"},"ServicesHidden":{"description":"If the services menu item should be hidden","type":"boolean"},"BookTimeText":{"description":"The text for book time menu item","type":"string"},"BookTimeHidden":{"description":"If the book time menu item should be hidden","type":"boolean"},"AboutUsText":{"description":"The text for about us menu item","type":"string"},"AboutUsHidden":{"description":"If the about us menu item should be hidden","type":"boolean"},"ContactUsText":{"description":"The text for contact us menu item","type":"string"},"ContactUsHidden":{"description":"If the contact us menu item should be hidden","type":"boolean"},"MyBookingsText":{"description":"The text for my bookings menu item","type":"string"},"MyBookingsHidden":{"description":"If the my bookings menu item should be hidden","type":"boolean"},"CalendarText":{"description":"The text for calendar menu item","type":"string"},"CalendarHidden":{"description":"If the calendar menu item should be hidden","type":"boolean"},"NewsText":{"description":"The text for news menu item","type":"string"},"NewsHidden":{"description":"If the news menu item should be hidden","type":"boolean"},"AddressText":{"description":"The text for address menu item","type":"string"},"AddressHidden":{"description":"If the address menu item should be hidden","type":"boolean"},"GalleryText":{"description":"The text for gallery menu item","type":"string"},"GalleryHidden":{"description":"If the gallery menu item should be hidden","type":"boolean"}},"description":"UpdateHomepageMenu","type":"object"},"UpdateHomepageSettings":{"title":"UpdateHomepageSettings","properties":{"CompanyId":{"description":"The company id","type":"string"},"HomepageHeading":{"description":"The text for homepage heading","type":"string"},"WelcomePageHeading":{"description":"The text for homepage startpage heading","type":"string"},"WelcomePageBody":{"description":"The text for homepage startpage body","type":"string"},"AboutUsPageHeading":{"description":"The text for homepage about us page heading","type":"string"},"AboutUsPageBody":{"description":"The text for homepage about us page body","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The start page image url"},"HomePageTemplateId":{"description":"The template for the homepage","type":"integer","format":"int32"},"ShowRating":{"description":"Show rating on the page","type":"boolean"},"EnableHomepage":{"description":"Enable the BokaMera Homepage","type":"boolean"},"HeroSectionStyleId":{"description":"The hero section style for the homepage","type":"integer","format":"int32"}},"description":"UpdateHomepageSettings","type":"object"},"UpdateHomepageImage":{"title":"UpdateHomepageImage","required":["CompanyId","Id"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"Id":{"description":"The homepage image id.","type":"integer","format":"int32","x-nullable":false},"Title":{"description":"The image title.","type":"string"},"Description":{"description":"The image description.","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The image url."}},"description":"UpdateHomepageImage","type":"object"},"DeleteHomePageImage":{"title":"DeleteHomePageImage","required":["CompanyId","Id"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"Id":{"description":"The homepage image id.","type":"integer","format":"int32","x-nullable":false}},"description":"DeleteHomePageImage","type":"object"},"HomepageWidgetSettingsQuery":{"title":"HomepageWidgetSettingsQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"SitePath":{"description":"The homepage sitepath.","type":"string"},"IncludeServiceLayoutOptions":{"description":"If you want to include what service layout options to select from","type":"boolean","x-nullable":false},"IncludeTimeLayoutOptions":{"description":"If you want to include what time layout options to select from","type":"boolean","x-nullable":false},"IncludeBookingLayoutOptions":{"description":"If you want to include what booking layout options to select from","type":"boolean","x-nullable":false},"IncludeBookingMethodOptions":{"description":"If you want to include what booking method options to select from","type":"boolean","x-nullable":false}},"description":"HomepageWidgetSettingsQuery","type":"object"},"UpdateHomepageWidgetSettings":{"title":"UpdateHomepageWidgetSettings","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ServiceLayoutId":{"description":"Serivce Layout.","type":"integer","format":"int32"},"TimeLayoutId":{"description":"Time Layout.","type":"integer","format":"int32"},"BookingLayoutId":{"description":"Booking Layout.","type":"integer","format":"int32"},"PrimaryColor":{"description":"The primary color of the booking widget.","type":"string"},"DarkTheme":{"description":"If the site should have dark theme or not.","type":"boolean"},"ShowServiceImage":{"description":"If you should show the service image in the booking widget.","type":"boolean"},"ShowRebateCodeField":{"description":"If you should show the rebate code field in the booking widget.","type":"boolean"},"ShowNextAvailableTime":{"description":"If you should show the next available time in the booking widget.","type":"boolean"},"ShowEndTime":{"description":"If you should show the end time in the booking widget.","type":"boolean"},"ShowSubscribeToNewsletter":{"description":"Show subscribe to newsletter checkbox on the page","type":"boolean"},"BookedTimeSlotText":{"description":"What text to show on booked time slots. Default text is Booked","type":"string"},"EnableCreateAccount":{"description":"If you should show the create account option.","type":"boolean"},"EnableLogin":{"description":"If you should show the login to account option.","type":"boolean"},"EnableFacebookLogin":{"description":"If you should show the facebook login to account option.","type":"boolean"},"EnableDirectBooking":{"description":"If you should show the direct booking option. This enables customer to book with entering contact information.","type":"boolean"}},"description":"UpdateHomepageWidgetSettings","type":"object"},"GetImageRequest":{"title":"GetImageRequest","properties":{"Id":{"type":"string","x-nullable":false}},"description":"GetImageRequest","type":"object"},"UploadImagesRequest":{"title":"UploadImagesRequest","required":["FolderType"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"FolderType":{"description":"1 - LogoType ,2 - Homepage, 3 - Newsletter, 4 - Resource, 5 - Service, 6 - Customer comments, 7 - Support Case Attachments","type":"integer","format":"int32","x-nullable":false}},"description":"UploadImagesRequest","type":"object"},"CompanyLicenseQuery":{"title":"CompanyLicenseQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"OnlyActiveLicenses":{"description":"If you want to include the connected license items","type":"boolean","x-nullable":false},"CountryId":{"description":"What country you want to list the prices for","type":"string"},"MetaData":{"description":"Search by the Meta data information on the license","type":"string"},"TypeId":{"description":"Id of the license type","type":"integer","format":"int32"},"IsExtraLicenseOption":{"description":"If you want to only select Extra license options","type":"boolean"},"IncludeLicenseItems":{"description":"If you want to include the connected license items","type":"boolean","x-nullable":false},"IncludeLicensePrices":{"description":"If you want to include the connected licens prices","type":"boolean","x-nullable":false},"IncludeVossSubscription":{"description":"If you want to include information from voss","type":"boolean","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"CompanyLicenseQuery","type":"object"},"LicenseCheckDomain":{"title":"LicenseCheckDomain","required":["DomainName"],"properties":{"DomainName":{"description":"The domain name you want to check","type":"string"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"LicenseCheckDomain","type":"object"},"LicenseInformationQuery":{"title":"LicenseInformationQuery","properties":{"IncludeLicensePrices":{"description":"If you want to include the connected license prices","type":"boolean","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"LicenseInformationQuery","type":"object"},"LicenseTypeQuery":{"title":"LicenseTypeQuery","properties":{"ExtraLicenseOption":{"description":"If you want to only select Extra license options","type":"boolean"},"CountryId":{"description":"What country you want to list the prices for","type":"string"},"IncludeLicenseItems":{"description":"If you want to include the connected license items","type":"boolean","x-nullable":false},"IncludeLicensePrices":{"description":"If you want to include the connected license prices","type":"boolean","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"LicenseTypeQuery","type":"object"},"LicensePlanQuery":{"title":"LicensePlanQuery","properties":{"Active":{"description":"Search active plan.","type":"boolean","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"LicensePlanQuery","type":"object"},"LicenseInformationTypeQuery":{"title":"LicenseInformationTypeQuery","properties":{"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"LicenseInformationTypeQuery","type":"object"},"CreateLicense":{"title":"CreateLicense","required":["TypeId","MetaData"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"TypeId":{"description":"Id of the license type","type":"integer","format":"int32"},"MetaData":{"description":"Any metadata connected to the license. In example for domain license set the requested domain name here.","type":"string"},"BillingInformation":{"$ref":"#/definitions/BillingInformationResponse","description":"If you want to update your company billing information. Note, if no billing information is added before, you need to set this."}},"description":"CreateLicense","type":"object"},"BillingInformationResponse":{"title":"BillingInformationResponse","required":["BillingMethodId","LicensePlanId"],"properties":{"CompanyId":{"description":"The company id.","type":"string","x-nullable":false},"BillingMethodId":{"description":"The prefered billing method.","type":"integer","format":"int32","x-nullable":false},"LicensePlanId":{"description":"The prefered billing method.","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The name that should be printed on the billing information, normally this would be your company name.","type":"string"},"FirstName":{"description":"Billing person first name","type":"string"},"LastName":{"description":"Billing person last name","type":"string"},"PhoneNumber":{"description":"Billing person phone numbers","type":"string"},"Attention":{"description":"If you want to add the attention to the billing address.","type":"string"},"Street1":{"description":"The street for the billing adress. This is required when having postal invoice as billing method.","type":"string"},"Street2":{"description":"The street for the billing adress.","type":"string"},"ZipCode":{"description":"The zip code (postal code) for the billing adress. This is required when having postal invoice as billing method.","type":"string"},"City":{"description":"The city for the billing adress. This is required when having postal invoice as billing method.","type":"string"},"CountryId":{"description":"The country for the billing adress. This is required when having postal invoice as billing method.","type":"string"},"Email":{"description":"The billing email. This is required when having email invoice as billing method.","type":"string"},"GLN":{"description":"The company global location number.","type":"string"},"ReferenceLine1":{"description":"Your internal reference.","type":"string"},"ReferenceLine2":{"description":"Your internal reference.","type":"string"},"PaymentTermsDays":{"description":"The billing payment terms in days. This is default 15 days.","type":"integer","format":"int32","x-nullable":false},"VatRegistrationNumber":{"description":"The company vat registration number.","type":"string"},"BillingMethodOptions":{"description":"The billing method options to choose from","type":"array","items":{"$ref":"#/definitions/BillingMethod"}}},"description":"BillingInformationResponse","type":"object"},"BillingMethod":{"title":"BillingMethod","properties":{"BillingMethodCountriesRelation":{"type":"array","items":{"$ref":"#/definitions/BillingMethodCountriesRelation"}},"Name":{"type":"string"},"Description":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"BillingMethod","type":"object"},"BillingMethodCountriesRelation":{"title":"BillingMethodCountriesRelation","properties":{"BillingMethodId":{"type":"integer","format":"int32","x-nullable":false},"CountryId":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"}},"description":"BillingMethodCountriesRelation","type":"object"},"CompanyOwnerQuery":{"title":"CompanyOwnerQuery","properties":{"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"CompanyOwnerQuery","type":"object"},"UpdateVossSubscriptions":{"title":"UpdateVossSubscriptions","properties":{"CompanyId":{"description":"The company id. Subscription will be fetched of this company","type":"string","x-nullable":false},"DiscountAgreements":{"description":"Discount agreement data","type":"array","items":{"$ref":"#/definitions/SubscriptionDiscountAgreementRequestDto"}},"DiscountAgreementsChangeType":{"description":"    Discount agreements change type controls how already occured transactions are treated \u0026lt;br /\u0026gt;Retrospective - all future and past not invoiced transactions will be recalculated with new discount agreements  \u0026lt;br /\u0026gt;Prospective - discounts will apply only for future transactions\n","type":"string"},"CompanyOwnerId":{"description":"The company id. Subscription will be fetched of this company","type":"integer","format":"int32","x-nullable":false}},"description":"UpdateVossSubscriptions","type":"object"},"SubscriptionDiscountAgreementRequestDto":{"title":"SubscriptionDiscountAgreementRequestDto","properties":{"discountAgreementId":{"type":"string","x-nullable":false},"period":{"$ref":"#/definitions/SubscriptionDiscountPeriodRequestDto"}},"description":"SubscriptionDiscountAgreementRequestDto","type":"object"},"SubscriptionDiscountPeriodRequestDto":{"title":"SubscriptionDiscountPeriodRequestDto","properties":{"length":{"$ref":"#/definitions/DiscountAgreementTimeLengthRequestDto"},"periodIterationCount":{"type":"integer","format":"int32"},"periodKind":{"type":"string"}},"description":"SubscriptionDiscountPeriodRequestDto","type":"object"},"DiscountAgreementTimeLengthRequestDto":{"title":"DiscountAgreementTimeLengthRequestDto","properties":{"unit":{"type":"string"},"value":{"type":"integer","format":"int32","x-nullable":false}},"description":"DiscountAgreementTimeLengthRequestDto","type":"object"},"GetVossDiscountAgreements":{"title":"GetVossDiscountAgreements","properties":{"DiscountAgreementStatus":{"description":"Discount agreement data","type":"string"}},"description":"GetVossDiscountAgreements","type":"object"},"UpdateVossDiscountAgreements":{"title":"UpdateVossDiscountAgreements","required":["DiscountAgreementId","DiscountPeriod","DiscountAgreementStatus"],"properties":{"DiscountAgreementId":{"description":"Discount agreement data","type":"string","x-nullable":false},"DiscountPeriod":{"$ref":"#/definitions/UpdateDiscountPeriodRequestDto","description":"Discount agreement period data. Iteration count must be added"},"DiscountAgreementStatus":{"description":"Discount agreement status. Published is default.","type":"string"},"Name":{"type":"string"},"Description":{"type":"string"},"ValidFrom":{"type":"string","format":"date-time","x-nullable":false},"ValidTo":{"type":"string","format":"date-time"}},"description":"UpdateVossDiscountAgreements","type":"object"},"UpdateDiscountPeriodRequestDto":{"title":"UpdateDiscountPeriodRequestDto","properties":{"length":{"$ref":"#/definitions/DiscountAgreementTimeLengthRequestDto"},"periodIterationCount":{"type":"integer","format":"int32"},"periodKind":{"type":"string"}},"description":"UpdateDiscountPeriodRequestDto","type":"object"},"CreateVossDiscountAgreement":{"title":"CreateVossDiscountAgreement","required":["Name","ChargePlanDiscounts","ValidFrom"],"properties":{"Name":{"description":"Discount agreement name","type":"string"},"ChargePlanDiscounts":{"description":"Discount agreement name","type":"array","items":{"$ref":"#/definitions/CreateChargePlanDiscountRequestDto"}},"Description":{"type":"string"},"ValidFrom":{"description":"Discount agreement name","type":"string","format":"date-time","x-nullable":false},"ValidTo":{"description":"Discount agreement name","type":"string","format":"date-time"},"DiscountPeriod":{"$ref":"#/definitions/CreateDiscountPeriodRequestDto","description":"Discount agreement name"}},"description":"CreateVossDiscountAgreement","type":"object"},"CreateChargePlanDiscountRequestDto":{"title":"CreateChargePlanDiscountRequestDto","properties":{"chargePlanId":{"type":"string","x-nullable":false},"productGroupDiscounts":{"type":"array","items":{"$ref":"#/definitions/CreateProductGroupDiscountRequestDto"}}},"description":"CreateChargePlanDiscountRequestDto","type":"object"},"CreateProductGroupDiscountRequestDto":{"title":"CreateProductGroupDiscountRequestDto","properties":{"productGroupId":{"type":"string","x-nullable":false},"productPricingDiscounts":{"type":"array","items":{"$ref":"#/definitions/ProductPricingDiscountRequestDto"}}},"description":"CreateProductGroupDiscountRequestDto","type":"object"},"ProductPricingDiscountRequestDto":{"title":"ProductPricingDiscountRequestDto","properties":{"discountType":{"type":"string"},"productId":{"type":"string","x-nullable":false},"tierPricingDiscounts":{"type":"array","items":{"$ref":"#/definitions/CreatePricingTierDiscountRequestDto"}},"unitPriceDiscount":{"type":"number","format":"double","x-nullable":false}},"description":"ProductPricingDiscountRequestDto","type":"object"},"CreatePricingTierDiscountRequestDto":{"title":"CreatePricingTierDiscountRequestDto","properties":{"discountType":{"type":"string"},"flatPriceDiscount":{"type":"number","format":"double","x-nullable":false},"index":{"type":"integer","format":"int32","x-nullable":false},"unitPriceDiscount":{"type":"number","format":"double","x-nullable":false}},"description":"CreatePricingTierDiscountRequestDto","type":"object"},"CreateDiscountPeriodRequestDto":{"title":"CreateDiscountPeriodRequestDto","properties":{"length":{"$ref":"#/definitions/DiscountAgreementTimeLengthRequestDto"},"periodIterationCount":{"type":"integer","format":"int32"},"periodKind":{"type":"string"}},"description":"CreateDiscountPeriodRequestDto","type":"object"},"CreateVossUsage":{"title":"CreateVossUsage","required":["CompanyId","ArticleNumber","Quantity"],"properties":{"CompanyId":{"description":"The company id","type":"string","x-nullable":false},"ArticleNumber":{"description":"Article number. Can be fetched from products","type":"string"},"Quantity":{"description":"Example: developer worked 6 hours","type":"integer","format":"int32","x-nullable":false}},"description":"CreateVossUsage","type":"object"},"VossAsyncOperations":{"title":"VossAsyncOperations","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"SearchText":{"description":"Available values : CreateInvoice","type":"string"},"Status":{"description":"Available values : Pending, Started, Completed, Failed, Cancelled","type":"string"}},"description":"VossAsyncOperations","type":"object"},"CreateVossData":{"title":"CreateVossData","properties":{},"description":"CreateVossData","type":"object"},"DeleteVossData":{"title":"DeleteVossData","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"OnlySync":{"type":"boolean","x-nullable":false}},"description":"DeleteVossData","type":"object"},"GetVossProducts":{"title":"GetVossProducts","properties":{"ProductType":{"description":"The type of the product  - Main \u0026#x3D; The product is treated as the main product of the product group (Only 1 allowed per product family in the package tier), billed in subscription billing period  - Addon \u0026#x3D; The product is treated as the addon product of the product group (Multiple allowed per product family in the package tier when Main product is also present),  billed in subscription billing period  - License \u0026#x3D; The product is treated as the license product in the product group (Multiple allowed per product family in the package tier when Main product is also present),  billed in subscription billing period and product quantity is carried over to the next billing period,  requires to have individual pricing in a product group pricing  - Usage \u0026#x3D; The product is treated as the usage product of the product group,  billed in usage billing period, the product quantity is reset every usage billing period,  requires to have individual pricing in a product group pricing\n","type":"string"}},"description":"GetVossProducts","type":"object"},"GetVossPlans":{"title":"GetVossPlans","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"PackageId":{"type":"string"}},"description":"GetVossPlans","type":"object"},"GetVossTiers":{"title":"GetVossTiers","properties":{"PackageId":{"type":"string"}},"description":"GetVossTiers","type":"object"},"GetVossProductGroups":{"title":"GetVossProductGroups","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"PackageId":{"description":"Passed if we have multilpe packages","type":"string"}},"description":"GetVossProductGroups","type":"object"},"GetVossInvoice":{"title":"GetVossInvoice","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"InvoiceId":{"description":"InvoiceId","type":"string"}},"description":"GetVossInvoice","type":"object"},"CreateVossInvoice":{"title":"CreateVossInvoice","properties":{"CompanyIds":{"description":"Company ids to create invoice. If none added invoice for all will be created","type":"array","items":{"type":"string","x-nullable":false}},"InvoiceDate":{"description":"Controls up to which point of time transactions are included in invoice, can be set to any date, if not provided current UTC time will be used instead","type":"string","format":"date-time"},"ScheduledStartTime":{"description":"If present the operation will start only after this date","type":"string","format":"date-time"},"RecurringSchedule":{"description":"Optional CRON expression for recurring operations.","type":"string"},"OnlyUsage":{"description":"Only usage.","type":"boolean","x-nullable":false}},"description":"CreateVossInvoice","type":"object"},"CreatePresetBehaviour":{"title":"CreatePresetBehaviour","properties":{"ChangeType":{"description":"Company ids to create invoice. If none added invoice for all will be created","type":"string"},"ChangeOperation":{"type":"string"},"Timing":{"type":"string"},"PeriodAnchor":{"type":"string"},"RenewalTiming":{"type":"string"},"DebitBehaviour":{"type":"string"},"CreditBehaviour":{"type":"string"},"CreditKind":{"type":"string"},"PeriodIterationCount":{"type":"integer","format":"int32"}},"description":"CreatePresetBehaviour","type":"object"},"GetPresetBehaviour":{"title":"GetPresetBehaviour","properties":{},"description":"GetPresetBehaviour","type":"object"},"DeletePresetBehaviour":{"title":"DeletePresetBehaviour","required":["PresetBehaviourId"],"properties":{"PresetBehaviourId":{"description":"Preset behaviour id to delete","type":"string","x-nullable":false}},"description":"DeletePresetBehaviour","type":"object"},"GetVossSubscriptions":{"title":"GetVossSubscriptions","properties":{"CompanyId":{"description":"The company id; If not passed all subscriptions wll be returned","type":"string"}},"description":"GetVossSubscriptions","type":"object"},"GetVossTenantConfigurations":{"title":"GetVossTenantConfigurations","properties":{},"description":"GetVossTenantConfigurations","type":"object"},"UpdateVossTenantConfigurations":{"title":"UpdateVossTenantConfigurations","properties":{},"description":"UpdateVossTenantConfigurations","type":"object"},"GetVossChargePlans":{"title":"GetVossChargePlans","properties":{},"description":"GetVossChargePlans","type":"object"},"GetVossCustomerUsages":{"title":"GetVossCustomerUsages","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"GetVossCustomerUsages","type":"object"},"GetVossCustomer":{"title":"GetVossCustomer","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"GetVossCustomer","type":"object"},"UpdateVossInvoiceConfigurations":{"title":"UpdateVossInvoiceConfigurations","properties":{"intermediaryPlacement":{"type":"string"},"accrualCodeFormat":{"type":"string"},"dateFormat":{"type":"string"},"delimiter":{"type":"string"},"decimalSeparator":{"type":"string"},"orderCreatorCode":{"type":"string"},"salesPersonId":{"type":"string"},"salesDepartmentId":{"type":"string"},"includeBillingPeriodDates":{"type":"boolean","x-nullable":false},"trackInvoicePayments":{"type":"boolean","x-nullable":false},"includeInvoicedCustomerDetails":{"type":"boolean","x-nullable":false},"billingPeriodTextFormat":{"type":"string"},"customerFooterText":{"type":"string"},"addEmptyLineBeforeCustomerFooter":{"type":"boolean","x-nullable":false},"includeOnlyDefaultSalesPersonAndDepartment":{"type":"boolean","x-nullable":false},"includeSubscriptionCustomerDetailsIfPayedByAnotherCustomer":{"type":"boolean","x-nullable":false},"transactionGroup":{"type":"string"},"invoiceArbitraryNumber":{"type":"string"},"deliveryMethod":{"type":"string"},"deliveryConditions":{"type":"string"},"orderType":{"type":"string"},"invoiceStatus":{"type":"string"},"useProductGroupRevenueRecognition":{"type":"boolean","x-nullable":false},"productGroupLineExcludePrint":{"type":"string"},"productGroupLineEditPreferences":{"type":"string"},"productLineExcludePrint":{"type":"string"},"useDiscountedPrices":{"type":"boolean","x-nullable":false},"terminateUnpaidSubscriptions":{"type":"boolean","x-nullable":false},"allowedUnpaidAmountLimit":{"type":"number","format":"double","x-nullable":false},"allowedPaymentOverdue":{"$ref":"#/definitions/TimeLengthRequestDto"},"unpaidSubscriptionTerminationReasonId":{"type":"string"},"unpaidSubscriptionTerminationComment":{"type":"string"},"creditInvoiceNumberReferenceTextFormat":{"type":"string"}},"description":"UpdateVossInvoiceConfigurations","type":"object"},"TimeLengthRequestDto":{"title":"TimeLengthRequestDto","properties":{"unit":{"type":"string"},"value":{"type":"integer","format":"int32","x-nullable":false}},"description":"TimeLengthRequestDto","type":"object"},"GetVossDiscountAgreement":{"title":"GetVossDiscountAgreement","required":["DiscountAgreementId"],"properties":{"DiscountAgreementId":{"description":"Discount agreement data","type":"string","x-nullable":false}},"description":"GetVossDiscountAgreement","type":"object"},"DeleteVossDiscountAgreements":{"title":"DeleteVossDiscountAgreements","required":["DiscountAgreementId"],"properties":{"DiscountAgreementId":{"description":"Discount agreement data","type":"string","x-nullable":false}},"description":"DeleteVossDiscountAgreements","type":"object"},"SyncCustomers":{"title":"SyncCustomers","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"PackageId":{"type":"string"},"Demo":{"type":"boolean","x-nullable":false}},"description":"SyncCustomers","type":"object"},"GetVossTier":{"title":"GetVossTier","properties":{"TierId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","x-nullable":false},"PackageId":{"type":"string"}},"description":"GetVossTier","type":"object"},"GetVossProductGroup":{"title":"GetVossProductGroup","required":["ProductGroupId","TierId"],"properties":{"PackageId":{"description":"Passed if we have multilpe packages","type":"string"},"ProductGroupId":{"description":"Procut Group id to get","type":"string","x-nullable":false},"TierId":{"description":"Tier id required because it is used it voss url","type":"string","x-nullable":false}},"description":"GetVossProductGroup","type":"object"},"GetVossSubscriptionsScheduledChanges":{"title":"GetVossSubscriptionsScheduledChanges","properties":{"CompanyId":{"description":"The company id; If not passed all subscriptions wll be returned","type":"string","x-nullable":false}},"description":"GetVossSubscriptionsScheduledChanges","type":"object"},"GetVossInvoiceFile":{"title":"GetVossInvoiceFile","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"InvoiceId":{"description":"InvoiceId","type":"string"},"InvoiceDate":{"description":"Controls up to which point of time transactions are included in invoice, can be set to any date, if not provided current UTC time will be used instead","type":"string","format":"date-time"},"ScheduledStartTime":{"description":"If present the operation will start only after this date","type":"string","format":"date-time"},"RecurringSchedule":{"description":"Optional CRON expression for recurring operations.","type":"string"}},"description":"GetVossInvoiceFile","type":"object"},"GetVossCustomerInvoiceBalance":{"title":"GetVossCustomerInvoiceBalance","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"InvoiceDate":{"description":"Controls up to which point of time transactions are included in invoice, can be set to any date, if not provided current UTC time will be used instead","type":"string","format":"date-time"},"ScheduledStartTime":{"description":"If present the operation will start only after this date","type":"string","format":"date-time"},"RecurringSchedule":{"description":"Optional CRON expression for recurring operations.","type":"string"},"SearchText":{"type":"string"},"PageIndex":{"type":"integer","format":"int32","x-nullable":false},"PageSize":{"type":"integer","format":"int32","x-nullable":false},"SortField":{"type":"string"},"SortDirection":{"type":"string"}},"description":"GetVossCustomerInvoiceBalance","type":"object"},"GetVossCustomerInvoice":{"title":"GetVossCustomerInvoice","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"GetVossCustomerInvoice","type":"object"},"CreateVossUsageTermination":{"title":"CreateVossUsageTermination","required":["CompanyId","Id","Behaviour","CreditKind"],"properties":{"CompanyId":{"description":"The company id","type":"string","x-nullable":false},"Id":{"description":"Usage Id","type":"string"},"InvoiceLineTexts":{"type":"array","items":{"type":"string"}},"TerminationReasonComment":{"type":"string"},"TerminationReasonId":{"type":"string","x-nullable":false},"Behaviour":{"description":"Credit behaviour:  \u0026lt;br /\u0026gt; 1. Full - usage will be credited in full  \u0026lt;br /\u0026gt; 2. None - no credit will be created","type":"string"},"CreditKind":{"description":"Credit kind:  \u0026lt;br /\u0026gt; 1. Normal - default credit type  \u0026lt;br /\u0026gt; 2. Internal - corresponding credit will be marked as internal in invoice file line","type":"string"}},"description":"CreateVossUsageTermination","type":"object"},"SyncCustomersCompanyOwners":{"title":"SyncCustomersCompanyOwners","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Demo":{"type":"boolean","x-nullable":false}},"description":"SyncCustomersCompanyOwners","type":"object"},"SyncCustomersDiscountAgreements":{"title":"SyncCustomersDiscountAgreements","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Demo":{"type":"boolean","x-nullable":false}},"description":"SyncCustomersDiscountAgreements","type":"object"},"GetVossSubscriptionsDiscounts":{"title":"GetVossSubscriptionsDiscounts","required":["SubscriptionId"],"properties":{"SubscriptionId":{"description":"Id of subscription","type":"string","x-nullable":false}},"description":"GetVossSubscriptionsDiscounts","type":"object"},"UpdateCompanyInvoiceArticle":{"title":"UpdateCompanyInvoiceArticle","required":["Id"],"properties":{"Id":{"description":"Invoice article No in Db.","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"Invoice article Name","type":"string"},"LicenseTypeId":{"description":"Invoice article Name","type":"integer","format":"int32"},"LicenseProductTypeId":{"description":"Invoice LicenseProductTypeId","type":"integer","format":"int32"},"IsMainLicense":{"description":"Invoice article is TIER license","type":"boolean"},"VossProductGroupId":{"description":"Invoice VossProductGroupId reference","type":"string"}},"description":"UpdateCompanyInvoiceArticle","type":"object"},"GetCompanyInvoiceArticle":{"title":"GetCompanyInvoiceArticle","properties":{"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"GetCompanyInvoiceArticle","type":"object"},"GetCompanyMailchimpSyncExecution":{"title":"GetCompanyMailchimpSyncExecution","properties":{"CreatedDate":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","format":"date-time"},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"GetCompanyMailchimpSyncExecution","type":"object"},"EndAllLicenses":{"title":"EndAllLicenses","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Deactivate":{"description":"If you want to deactivate the account the booking system also (will not be working during your period of notice).","type":"boolean","x-nullable":false},"Questionnaire":{"description":"Questionaire with answers from customer why ending license.","type":"array","items":{"$ref":"#/definitions/Questionnaire"}}},"description":"EndAllLicenses","type":"object"},"Questionnaire":{"title":"Questionnaire","properties":{"Question":{"type":"string"},"Value":{"type":"string"}},"description":"Questionnaire","type":"object"},"CancelLicense":{"title":"CancelLicense","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the license","type":"integer","format":"int32","x-nullable":false}},"description":"CancelLicense","type":"object"},"GetLicenseChangesLog":{"title":"GetLicenseChangesLog","properties":{"Id":{"type":"integer","format":"int32"},"VossSubscriptionId":{"type":"string"},"CheckedAt":{"type":"string","format":"date-time"},"CheckStatus":{"type":"string"},"CheckNote":{"type":"string"},"CreatedDate":{"type":"string","format":"date-time"},"CompanyId":{"type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"GetLicenseChangesLog","type":"object"},"SyncCompanyMembers":{"title":"SyncCompanyMembers","properties":{"DeleteNonExisting":{"description":"Should we delete emails that do not exist in BokaMera.","type":"boolean","x-nullable":false},"Test":{"description":"Determines if it is a test user","type":"boolean","x-nullable":false},"Manual":{"description":"Determines if it sync was executed manually by click in superAdmin","type":"boolean","x-nullable":false},"MemberCompanyId":{"description":"The company id of member of which members you want to sync.","type":"string"}},"description":"SyncCompanyMembers","type":"object"},"SyncCompanyCustomerMembers":{"title":"SyncCompanyCustomerMembers","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"DeleteNonExisting":{"description":"Should we delete emails that do not exist in BokaMera.","type":"boolean","x-nullable":false},"OnlySubscribed":{"description":"Should we target only subscribed to newsletter customers.","type":"boolean","x-nullable":false},"Test":{"description":"Determines if it is a test user","type":"boolean","x-nullable":false}},"description":"SyncCompanyCustomerMembers","type":"object"},"CreateMailchimpProfile":{"title":"CreateMailchimpProfile","required":["MailChimpApiKey"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"MailChimpApiKey":{"description":"","type":"string"},"MailChimpAudienceId":{"description":"","type":"string"}},"description":"CreateMailchimpProfile","type":"object"},"GetMailchimpProfile":{"title":"GetMailchimpProfile","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"GetMailchimpProfile","type":"object"},"GetMailchimpSyncExecution":{"title":"GetMailchimpSyncExecution","properties":{"CreatedDate":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string","format":"date-time"},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"GetMailchimpSyncExecution","type":"object"},"GetCompanyAudience":{"title":"GetCompanyAudience","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"GetCompanyAudience","type":"object"},"MessageTypeQuery":{"title":"MessageTypeQuery","properties":{"Id":{"description":"The message type id.","type":"integer","format":"int32"},"SendMethodId":{"description":"The message send method id. 1 = Email, 2 = SMS","type":"integer","format":"int32"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"MessageTypeQuery","type":"object"},"MessageSendMethodQuery":{"title":"MessageSendMethodQuery","properties":{"Id":{"description":"The send method id.","type":"integer","format":"int32"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"MessageSendMethodQuery","type":"object"},"UpdateMessageTemplate":{"title":"UpdateMessageTemplate","required":["Id","Language"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The message template id.","type":"integer","format":"int32","x-nullable":false},"TypeId":{"description":"The message type id. See GET /messages/templates/types ","type":"integer","format":"int32"},"Default":{"description":"The message should be default and the one to be used. All other messages for the same message type will be set to Default = false","type":"boolean"},"Name":{"description":"The message template name.","type":"string"},"Title":{"description":"The message template title.","type":"string"},"Body":{"description":"The message template title.","type":"string"},"Sender":{"description":"The message template sender (an email for message types with sendmethod 1, for SMS this cannot be set).","type":"string"},"Language":{"description":"Message template lanugage","type":"string"},"Services":{"description":"The services that is connected to the template. If null it will be connected to all services.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}}},"description":"UpdateMessageTemplate","type":"object"},"DeleteMessageTemplate":{"title":"DeleteMessageTemplate","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The message template id.","type":"integer","format":"int32","x-nullable":false}},"description":"DeleteMessageTemplate","type":"object"},"TestSendMessageTemplate":{"title":"TestSendMessageTemplate","required":["Receiver","Body","TypeId","Language"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Receiver":{"description":"The email recepient to receive the newsletter. For templates with send method SMS you need to enter a valid mobile phone number and send method Email a valid Email must be provided.","type":"string"},"Title":{"description":"The message template title.","type":"string"},"Body":{"description":"The newsletter template body.","type":"string"},"TypeId":{"description":"The message type id. See GET /messages/templates/types ","type":"integer","format":"int32"},"Language":{"description":"Message template lanugage","type":"string"},"Services":{"description":"The services that is connected to the message. If null it will be connected to all services.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}}},"description":"TestSendMessageTemplate","type":"object"},"ResendMessage":{"title":"ResendMessage","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Message Id","type":"int","format":"int32","x-nullable":false}},"description":"ResendMessage","type":"object"},"UnsubscribeEmailTopic":{"title":"UnsubscribeEmailTopic","required":["Email","ConfigurationSet","Topic","Token"],"properties":{"Email":{"description":"The email address to unsubscribe.","type":"string"},"ConfigurationSet":{"description":"Configuration set identifier used when sending the email.","type":"string"},"Topic":{"description":"Topic identifier used when sending the email.","type":"string"},"Token":{"description":"Verification token from the unsubscribe link.","type":"string"}},"description":"UnsubscribeEmailTopic","type":"object"},"NewsItemQuery":{"title":"NewsItemQuery","properties":{"CompanyId":{"description":"Enter the company you want to see news for, if blank and you are an admin, your company id will be used","type":"string"},"From":{"description":"Enter the From Date you want to see news from, only allowed if admin","type":"dateTime","format":"date-time"},"To":{"description":"Enter the To Date you want to see news to, only allowed if admin","type":"dateTime","format":"date-time"},"Active":{"description":"Use this parameter if you want to only show active news","type":"boolean"},"SitePath":{"description":"The homeage sitepath.","type":"string"},"PlainText":{"description":"If you want to remove Html tags from newsbody and show as plain text.","type":"boolean","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"NewsItemQuery","type":"object"},"CreateNewsItem":{"title":"CreateNewsItem","required":["Heading","Body","From","To"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Heading":{"description":"The news item header, keep this short and concise","type":"string"},"Body":{"description":"The news body text","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"Valid url to a image associated with the news"},"From":{"description":"The timestamp from which the newsitem should be visible from","type":"string","format":"date-time","x-nullable":false},"To":{"description":"The timestamp to which the newsitem should be visible to","type":"string","format":"date-time","x-nullable":false}},"description":"CreateNewsItem","type":"object"},"DeleteNewsItem":{"title":"DeleteNewsItem","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the newsitem to delete","type":"integer","format":"int32","x-nullable":false}},"description":"DeleteNewsItem","type":"object"},"UpdateNewsItem":{"title":"UpdateNewsItem","required":["Id","Heading","Body","From","To"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the newsitem to update","type":"integer","format":"int32","x-nullable":false},"Heading":{"description":"The news item header, keep this short and concise","type":"string"},"Body":{"description":"The news body text","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"Valid url to a image associated with the news"},"From":{"description":"The timestamp from which the newsitem should be visible from","type":"string","format":"date-time","x-nullable":false},"To":{"description":"The timestamp to which the newsitem should be visible to","type":"string","format":"date-time","x-nullable":false}},"description":"UpdateNewsItem","type":"object"},"NewsletterCustomerQuery":{"title":"NewsletterCustomerQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"CustomerMinBookings":{"description":"Search for customer has done minimum number of bookings.","type":"integer","format":"int32"},"CustomerMaxBookings":{"description":"Search for customer has done maximum number of bookings.","type":"integer","format":"int32"},"BookedServiceIds":{"description":"Search for customer has booked any of the service in the list (List contain service id\u0027s).","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"From":{"description":"Search interval From datetime .","type":"string","format":"date-time"},"To":{"description":"Search interval To datetime .","type":"string","format":"date-time"},"MaxRecords":{"description":"The max number of records you want to collect","type":"integer","format":"int32"},"IncludeCustomerInformation":{"description":"If you want to include the full customer information in the response","type":"boolean","x-nullable":false}},"description":"NewsletterCustomerQuery","type":"object"},"NewsletterLogQuery":{"title":"NewsletterLogQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Sent":{"description":"If you want to search on sent messages","type":"boolean"},"Id":{"description":"Message Id","type":"int","format":"int32"},"Receiver":{"description":"If you want to search on a messages for a specific receiver","type":"string"},"Created":{"description":"If you want to search on a messages created a specific date","type":"datetime","format":"date-time"},"SentDate":{"description":"If you want to search on a messages sent a specific date","type":"datetime","format":"date-time"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"NewsletterLogQuery","type":"object"},"NewsletterSendMethodQuery":{"title":"NewsletterSendMethodQuery","properties":{"Id":{"description":"The send method id.","type":"integer","format":"int32"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"NewsletterSendMethodQuery","type":"object"},"NewsletterFieldTranslationsQuery":{"title":"NewsletterFieldTranslationsQuery","properties":{"Id":{"description":"The field translation id.","type":"integer","format":"int32"},"Group":{"description":"The field translation group","type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"NewsletterFieldTranslationsQuery","type":"object"},"NewsletterEmailTemplateQuery":{"title":"NewsletterEmailTemplateQuery","properties":{"Id":{"description":"The email template id.","type":"integer","format":"int32"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"NewsletterEmailTemplateQuery","type":"object"},"NewsletterTemplatesQuery":{"title":"NewsletterTemplatesQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The newsletter template id.","type":"integer","format":"int32"},"IncludeSendMethodInformation":{"description":"If you want to include the message send method information","type":"boolean","x-nullable":false},"IncludeEmailTemplateInformation":{"description":"If you want to include the email template information","type":"boolean","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"NewsletterTemplatesQuery","type":"object"},"SendNewsLetter":{"title":"SendNewsLetter","required":["Id","SendDate","Customers"],"properties":{"Id":{"description":"The newsletter template id.","type":"integer","format":"int32","x-nullable":false},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"SendDate":{"description":"The datetime when the newsletters should be sent.","type":"string","format":"date-time","x-nullable":false},"Customers":{"description":"The customer ids to send newsletters to.","type":"array","items":{"type":"string","x-nullable":false}}},"description":"SendNewsLetter","type":"object"},"SubscribedToNewsletter":{"title":"SubscribedToNewsletter","required":["Email"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Email":{"description":"The customer email.","type":"string"}},"description":"SubscribedToNewsletter","type":"object"},"SubscribeToNewsletter":{"title":"SubscribeToNewsletter","required":["SubscribedCompanies"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"SubscribedCompanies":{"description":"Companies for which user is subscribed.","type":"array","items":{"$ref":"#/definitions/SubscribedUserResponse"}}},"description":"SubscribeToNewsletter","type":"object"},"SubscribedUserResponse":{"title":"SubscribedUserResponse","properties":{"Subscribed":{"type":"boolean","x-nullable":false},"CompanyId":{"type":"string","x-nullable":false}},"description":"SubscribedUserResponse","type":"object"},"UnsubscribeNewsletter":{"title":"UnsubscribeNewsletter","properties":{"Token":{"type":"string"},"Uid":{"type":"string","x-nullable":false}},"description":"UnsubscribeNewsletter","type":"object"},"CreateNewsletterTemplate":{"title":"CreateNewsletterTemplate","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Heading":{"description":"The newsletter template heading.","type":"string"},"Body":{"description":"The newsletter template body.","type":"string"},"ImageUrl":{"description":"The newsletter template image url.","type":"string"},"SendMethodId":{"description":"The newsletter template send method (1=email, 2=sms).","type":"integer","format":"int32","x-nullable":false},"EmailTemplateId":{"description":"The email template id. Get valid email templates from GET /newsletter/emailtemplates","type":"integer","format":"int32"}},"description":"CreateNewsletterTemplate","type":"object"},"NewsletterResendMessage":{"title":"NewsletterResendMessage","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Newsletter message Id","type":"int","format":"int32","x-nullable":false}},"description":"NewsletterResendMessage","type":"object"},"TestSendNewsLetter":{"title":"TestSendNewsLetter","required":["Receiver","Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Receiver":{"description":"The email recipient to receive the newsletter. For templates with send method SMS you need to enter a valid mobile phone number and send method Email a valid Email must be provided.","type":"string"},"Id":{"description":"The newsletter template id.","type":"integer","format":"int32","x-nullable":false}},"description":"TestSendNewsLetter","type":"object"},"UpdateNewsletterTemplate":{"title":"UpdateNewsletterTemplate","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The newsletter template id.","type":"integer","format":"int32","x-nullable":false},"Heading":{"description":"The newsletter template heading.","type":"string"},"Body":{"description":"The newsletter template body.","type":"string"},"ImageUrl":{"description":"The newsletter template image url.","type":"string"},"SendMethodId":{"description":"The newsletter template send method (1=email, 2=sms).","type":"integer","format":"int32"},"EmailTemplateId":{"description":"The email template id. Get valid email templates from GET /newsletter/emailtemplates","type":"integer","format":"int32"}},"description":"UpdateNewsletterTemplate","type":"object"},"DeleteNewsletterTemplate":{"title":"DeleteNewsletterTemplate","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The newsletter template id.","type":"integer","format":"int32","x-nullable":false}},"description":"DeleteNewsletterTemplate","type":"object"},"QvicklyApiSettingsQuery":{"title":"QvicklyApiSettingsQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"QvicklyApiSettingsQuery","type":"object"},"UpdateQvicklyApiSettings":{"title":"UpdateQvicklyApiSettings","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The Qvickly id","type":"integer","format":"int32"},"Secret":{"description":"The Qvickly secret","type":"string"},"ReceiverEmail":{"description":"The Qvickly receiver email","type":"string"},"ReceiverFirstname":{"description":"The Qvickly receiver firstname","type":"string"},"ReceiverLastname":{"description":"The Qvickly receiver lastname","type":"string"}},"description":"UpdateQvicklyApiSettings","type":"object"},"AddQvicklyApiSettings":{"title":"AddQvicklyApiSettings","required":["Id","Secret","ReceiverEmail","ReceiverFirstname","ReceiverLastname"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The Qvickly id","type":"integer","format":"int32","x-nullable":false},"Secret":{"description":"The Qvickly secret","type":"string"},"ReceiverEmail":{"description":"The Qvickly receiver email","type":"string"},"ReceiverFirstname":{"description":"The Qvickly receiver firstname","type":"string"},"ReceiverLastname":{"description":"The Qvickly receiver lastname","type":"string"}},"description":"AddQvicklyApiSettings","type":"object"},"QvicklyCheckoutIpnCallBack":{"title":"QvicklyCheckoutIpnCallBack","required":["ArticleTypeId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"BookingId":{"description":"Internal reference id (Could be booking, could be Article..)","type":"string"},"Data":{"$ref":"#/definitions/QvicklyIpnCallbackResponseData","description":"The payment ipn callback data."},"ArticleTypeId":{"description":"Article type (Could be Service, rebate code types, etc..","type":"integer","format":"int32","x-nullable":false}},"description":"QvicklyCheckoutIpnCallBack","type":"object"},"QvicklyIpnCallbackResponseData":{"title":"QvicklyIpnCallbackResponseData","properties":{"number":{"type":"string"},"status":{"type":"string"},"orderid":{"type":"string"},"url":{"type":"string"}},"description":"QvicklyIpnCallbackResponseData","type":"object"},"TestQvicklyApiSettingsQuery":{"title":"TestQvicklyApiSettingsQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The Qvickly Id","type":"integer","format":"int32","x-nullable":false},"Secret":{"description":"The Qvickly secret","type":"string"},"ReceiverEmail":{"description":"The Qvickly receiver email","type":"string"},"ReceiverFirstname":{"description":"The Qvickly receiver firstname","type":"string"},"ReceiverLastname":{"description":"The Qvickly receiver lastname","type":"string"}},"description":"TestQvicklyApiSettingsQuery","type":"object"},"TestStripeApiSettings":{"title":"TestStripeApiSettings","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"TestStripeApiSettings","type":"object"},"CreateStripeWebhook":{"title":"CreateStripeWebhook","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Events":{"description":"Events (webhooks) that are accepted by stripe.","type":"array","items":{"type":"string"}},"Connect":{"description":"Should webhook listen to customer events\u0027s","type":"boolean","x-nullable":false},"Url":{"description":"Url that stripe should send hook to.","type":"string"}},"description":"CreateStripeWebhook","type":"object"},"GetStripeWebhooks":{"title":"GetStripeWebhooks","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"WebhookId":{"description":"Webhook Id to update events","type":"string"}},"description":"GetStripeWebhooks","type":"object"},"GetStripeWebhookEvents":{"title":"GetStripeWebhookEvents","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"WebhookId":{"description":"Webhook Id to update events","type":"string"}},"description":"GetStripeWebhookEvents","type":"object"},"UpdateStripeWebhookEvents":{"title":"UpdateStripeWebhookEvents","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Events":{"description":"Events (webhooks) that are accepted by stripe.","type":"array","items":{"type":"string"}},"WebhookId":{"description":"Webhook Id to update events","type":"string"}},"description":"UpdateStripeWebhookEvents","type":"object"},"QvicklyV1CreateCheckout":{"title":"QvicklyV1CreateCheckout","required":["CompanyId","Language","Articles","CountryCode"],"properties":{"CompanyId":{"description":"The company id.","type":"string"},"CheckoutUrl":{"description":"Optional to set the checkout url. This url will be redirected to if payment is interupted for some reason.","type":"string"},"ConfirmationUrl":{"description":"Optional to set your own confirmation url after payment completed.","type":"string"},"Language":{"description":"If you want to have another language (sv, fi, dk, no, en) than the default language in system settings, specify it here. Leave empty if default language should be used.","type":"string"},"TestMode":{"description":"Determins if it\u0027s a test call","type":"boolean","x-nullable":false},"Articles":{"description":"Articles (Could be Service, rebate code types, etc..","type":"array","items":{"$ref":"#/definitions/CheckoutArticleToCreate"}},"CountryCode":{"description":"Country code for checkout","type":"string"}},"description":"QvicklyV1CreateCheckout","type":"object"},"CheckoutArticleToCreate":{"title":"CheckoutArticleToCreate","required":["InternalReferenceId","Quantity","ArticleTypeId"],"properties":{"InternalReferenceId":{"description":"An internal reference id (Could be booking, rebate code etc.)","type":"string"},"Quantity":{"description":"Quantity","type":"integer","format":"int32","x-nullable":false},"ArticleTypeId":{"description":"The article type id","type":"integer","format":"int32","x-nullable":false}},"description":"CheckoutArticleToCreate","type":"object"},"StripeGetAccountRequest":{"title":"StripeGetAccountRequest","required":["CompanyId"],"properties":{"CompanyId":{"description":"The company id.","type":"string"}},"description":"StripeGetAccountRequest","type":"object"},"StripeDeleteAccountRequest":{"title":"StripeDeleteAccountRequest","required":["CompanyId"],"properties":{"CompanyId":{"description":"The company id.","type":"string"}},"description":"StripeDeleteAccountRequest","type":"object"},"StripeCreateAccountRequest":{"title":"StripeCreateAccountRequest","required":["CompanyId","BusinessType"],"properties":{"CompanyId":{"description":"The company id.","type":"string"},"BusinessType":{"description":"One of: \u003Cc\u003Ecompany\u003C/c\u003E, \u003Cc\u003Egovernment_entity\u003C/c\u003E, \u003Cc\u003Eindividual\u003C/c\u003E, or \u003Cc\u003Enon_profit\u003C/c\u003E.","type":"string"},"EnableKlarna":{"type":"boolean","x-nullable":false}},"description":"StripeCreateAccountRequest","type":"object"},"StripeUpdateAccountRequest":{"title":"StripeUpdateAccountRequest","required":["CompanyId"],"properties":{"CompanyId":{"description":"The company id.","type":"string"},"EnableKlarna":{"type":"boolean","x-nullable":false}},"description":"StripeUpdateAccountRequest","type":"object"},"StripeV1CreateCheckout":{"title":"StripeV1CreateCheckout","required":["CompanyId","CountryCode","Articles","UiMode"],"properties":{"CompanyId":{"description":"The company id.","type":"string"},"CountryCode":{"description":"Country code for checkout","type":"string"},"Articles":{"description":"Articles (Could be Service, rebate code types, etc..","type":"array","items":{"$ref":"#/definitions/CheckoutArticleToCreate"}},"ConfirmationUrl":{"description":"Optional to set your own confirmation url after payment completed.","type":"string"},"CancelUrl":{"description":"If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website. This parameter is not allowed if ui_mode is \u003Cc\u003Eembedded\u003C/c\u003E.","type":"string"},"UiMode":{"description":"The UI mode of the Session. Defaults to \u003Cc\u003Ehosted\u003C/c\u003E; One of: \u003Cc\u003Eembedded\u003C/c\u003E, or \u003Cc\u003Ehosted\u003C/c\u003E","type":"string"}},"description":"StripeV1CreateCheckout","type":"object"},"StripeCheckoutIpnCallBackRequest":{"title":"StripeCheckoutIpnCallBackRequest","properties":{"EventType":{"type":"string"},"SessionId":{"type":"string"},"PaymentIntentId":{"type":"string"},"InternalReferenceId":{"type":"string"},"ArticleTypeId":{"type":"string"},"CompanyId":{"type":"string"}},"description":"StripeCheckoutIpnCallBackRequest","type":"object"},"PaymentSettingsQuery":{"title":"PaymentSettingsQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"IncludeAdminPaymentOptions":{"description":"If you want to include the admin payment options to select from","type":"boolean","x-nullable":false},"IncludePaymentProviderOptions":{"description":"If you want to include the payment provider options to select from","type":"boolean","x-nullable":false}},"description":"PaymentSettingsQuery","type":"object"},"UpdatePaymentSettings":{"title":"UpdatePaymentSettings","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Enabled":{"description":"The payment is enabled","type":"boolean"},"RefundOnCancelBooking":{"description":"Automatically refund customer on canceled booking","type":"boolean"},"DefaultPaymentOptionId":{"description":"The default option when admin creates a new booking","type":"integer","format":"int32"},"PaymentProviderId":{"description":"What payment provider to use","type":"integer","format":"int32"}},"description":"UpdatePaymentSettings","type":"object"},"AddPaymentSettings":{"title":"AddPaymentSettings","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Enabled":{"description":"The payment is enabled","type":"boolean","x-nullable":false},"RefundOnCancelBooking":{"description":"Automatically refund customer on canceled booking","type":"boolean","x-nullable":false},"DefaultAdminPaymentOptionsId":{"description":"The default option when admin creates a new booking","type":"integer","format":"int32"},"PaymentProviderId":{"description":"What payment provider to use","type":"integer","format":"int32","x-nullable":false}},"description":"AddPaymentSettings","type":"object"},"StripeConnectAccountRequest":{"title":"StripeConnectAccountRequest","required":["RedirectUri"],"properties":{"CompanyId":{"description":"The company id.","type":"string"},"RedirectUri":{"description":"Uri to which stripe will redirect back to after authorization.","type":"string"}},"description":"StripeConnectAccountRequest","type":"object"},"GetStripeCheckoutV1CheckoutStatus":{"title":"GetStripeCheckoutV1CheckoutStatus","required":["CompanyId","SessionId"],"properties":{"CompanyId":{"description":"The company id.","type":"string"},"SessionId":{"description":"Session id for the checkout","type":"string"}},"description":"GetStripeCheckoutV1CheckoutStatus","type":"object"},"StripeConnectAccountCallbackRequest":{"title":"StripeConnectAccountCallbackRequest","required":["CompanyId"],"properties":{"CompanyId":{"description":"The company id.","type":"string"},"Code":{"type":"string"},"Scope":{"type":"string"},"State":{"description":"The company id.","type":"string"},"Error":{"type":"string"},"ErrorDescription":{"type":"string"}},"description":"StripeConnectAccountCallbackRequest","type":"object"},"RatingQuery":{"title":"RatingQuery","properties":{"CompanyId":{"description":"","type":"string"},"BookedEventId":{"description":"Id of the booking","type":"integer","format":"int32"},"Active":{"description":"If you want to collect only active ratings. Ratings are only active after one has past since creation date.","type":"boolean"},"IncludeRatingReviews":{"description":"If you want to include the rating reviews","type":"boolean","x-nullable":false},"CreatedFrom":{"description":"Start of interval to query for bookings when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time"},"CreatedTo":{"description":"End of interval to query for bookings when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"RatingQuery","type":"object"},"UpdateRating":{"title":"UpdateRating","required":["CompanyId","BookingId"],"properties":{"CompanyId":{"description":"","type":"string"},"BookingId":{"description":"Id of the booking","type":"integer","format":"int32","x-nullable":false},"Identifier":{"description":"The identifier for the booking, use to verify the booking. Only needed when a customer, not admin","type":"string"},"RatingScore":{"description":"The rating score between 1 and 5.","type":"integer","format":"int32"},"Review":{"$ref":"#/definitions/UpdateReview","description":"The review for the rating"}},"description":"UpdateRating","type":"object"},"UpdateReview":{"title":"UpdateReview","properties":{"Title":{"description":"The title for the review","type":"string"},"Description":{"description":"The description for the review","type":"string"},"Author":{"description":"The review author","type":"string"},"ReviewAnswer":{"description":"The review answer from the company. Only the company can respond to this","type":"string"}},"description":"UpdateReview","type":"object"},"AddRating":{"title":"AddRating","required":["CompanyId","BookingId","Identifier","RatingScore"],"properties":{"CompanyId":{"description":"","type":"string","x-nullable":false},"BookingId":{"description":"Id of the booking","type":"integer","format":"int32","x-nullable":false},"Identifier":{"description":"The identifier for the booking, use to verify the booking.","type":"string"},"RatingScore":{"description":"The rating score between 1 and 5.","type":"integer","format":"int32","x-nullable":false},"Review":{"$ref":"#/definitions/CreateReview","description":"The review for the rating"}},"description":"AddRating","type":"object"},"CreateReview":{"title":"CreateReview","properties":{"Title":{"description":"The title for the review","type":"string"},"Description":{"description":"The description for the review","type":"string"},"Author":{"description":"The review author","type":"string"},"ReviewAnswer":{"description":"The review author","type":"string"}},"description":"CreateReview","type":"object"},"ReviewQuery":{"title":"ReviewQuery","properties":{"CompanyId":{"description":"","type":"string"},"Id":{"description":"","type":"string"},"Active":{"description":"If you want to collect only active reviews","type":"boolean"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"ReviewQuery","type":"object"},"CreateRebateCode":{"title":"CreateRebateCode","required":["ValidFrom","ValidTo","RebateCodeTypeId","RebateCodeValue"],"properties":{"CompanyId":{"description":"","type":"string"},"MaxNumberOfUses":{"description":"The default value is 9999","type":"integer","format":"int32"},"MaxNumberOfUsesPerCustomer":{"description":"The default value is 1","type":"integer","format":"int32"},"ValidFrom":{"description":"","type":"string","format":"date-time","x-nullable":false},"ValidTo":{"description":"","type":"string","format":"date-time","x-nullable":false},"FromTime":{"description":"If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"string"},"ToTime":{"description":"If the price is only valid for a specific time span during a time of day enter the FromTime and ToTime parameters.","type":"string"},"RebateCodeTypeId":{"description":"1 - Percent, 2 - \u0421urrency, 3 - PunchTicket, 4 - ValueCard, 5 - GiftCard","type":"integer","format":"int32","x-nullable":false},"ArticleId":{"description":"If it\u0027s connected to an Article, add the Article Id here.","type":"integer","format":"int32"},"RebateCodeValue":{"description":"","type":"integer","format":"int32","x-nullable":false},"RebateCodeSign":{"description":"If AutoGenerateRebateCodeSign=false - more than four letters, unique among active codes","type":"string"},"AutoGenerateRebateCodeSign":{"description":"AutoGenerateRebateCodeSign=true - random generate code","type":"boolean","x-nullable":false},"PersonalNote":{"description":"","type":"string"},"DaysOfWeek":{"description":"","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"Services":{"description":"","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"Customers":{"description":"","type":"array","items":{"type":"string","x-nullable":false}},"PriceVat":{"description":"The price","type":"number","format":"double"},"VAT":{"description":"The price VAT in percent","type":"number","format":"double"},"CurrencyId":{"description":"The price currency","type":"string"},"PromoCodeReceiver":{"$ref":"#/definitions/PromoCodeReceiver","description":"Promo code receiver information"},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressToHandle","description":"If you wish to save some invoice address information for the rebate code, you can do so here. This is optional."},"Paid":{"description":"Determines if the rebate code is active on creation or if it should await payment. If you set this to true, make sure to mark the code as payed when you receive the payment, by using the MarkRebateCodeAsPayed endpoint. The default value is false.","type":"boolean"}},"description":"CreateRebateCode","type":"object"},"PromoCodeReceiver":{"title":"PromoCodeReceiver","properties":{"CustomerId":{"type":"string"},"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Email":{"type":"string"},"ReceiverMessage":{"type":"string"}},"description":"PromoCodeReceiver","type":"object"},"RebateCodeQuery":{"title":"RebateCodeQuery","properties":{"CompanyId":{"description":"Enter the company and id you want to see the information for a rebate code, if blank company id and you are an admin, your company id will be used. If blank id, all rebate codes will be shown ","type":"string"},"Id":{"description":"RebateCodeId","type":"integer","format":"int32"},"Active":{"description":"","type":"boolean"},"RebateCodeSign":{"description":"","type":"string"},"RebateCodeTypeIds":{"description":"1 - Percent, 2 - \u0421urrency, 3 - PunchTicket, 4 - ValueCard, 5 - GiftCard","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"IncludeCodeTypeOptions":{"description":"","type":"boolean","x-nullable":false},"IncludeStatusOptions":{"description":"","type":"boolean","x-nullable":false},"IncludeConnectedServices":{"description":"","type":"boolean","x-nullable":false},"IncludeConnectedDaysOfWeek":{"description":"","type":"boolean","x-nullable":false},"IncludeConnectedCustomers":{"description":"","type":"boolean","x-nullable":false},"IncludeArticleInformation":{"description":"","type":"boolean","x-nullable":false},"IncludeCompanyInformation":{"description":"","type":"boolean","x-nullable":false},"CompanyRebateCodes":{"description":"","type":"boolean","x-nullable":false},"IncludeUsages":{"description":"","type":"boolean","x-nullable":false},"IncludePaymentLog":{"description":"If you want to include the payment log on the rebate code","type":"boolean","x-nullable":false},"CustomerId":{"description":"","type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"RebateCodeQuery","type":"object"},"CreateArticleRebateCode":{"title":"CreateArticleRebateCode","required":["ArticleId"],"properties":{"Receiver":{"$ref":"#/definitions/PromoCodeReceiver","description":"Promo code receiver information"},"CompanyId":{"description":"","type":"string"},"ArticleId":{"description":"Article ID for the rebate code","type":"integer","format":"int32","x-nullable":false},"Customer":{"$ref":"#/definitions/CustomerToHandle","description":"Customer information"},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressToHandle","description":"If you want to book with customer information instead of the Customer Id send the customer information here. Note: If customer profile already exists with the same email the information will not be changed, instead the provided information will be added as BookingsComments if it differs from the ordinairy profile. "}},"description":"CreateArticleRebateCode","type":"object"},"DeleteRebateCode":{"title":"DeleteRebateCode","required":["Id"],"properties":{"CompanyId":{"description":"","type":"string"},"Id":{"description":"Id of the rebate code","type":"integer","format":"int32"},"ForceDelete":{"type":"boolean","x-nullable":false}},"description":"DeleteRebateCode","type":"object"},"GetRebateCodeBySign":{"title":"GetRebateCodeBySign","required":["CompanyId","RebateCodeSign","ServiceId","IncludeConnectedServices"],"properties":{"CompanyId":{"description":"","type":"string","x-nullable":false},"RebateCodeSign":{"description":"","type":"string"},"ServiceId":{"description":"","type":"integer","format":"int32","x-nullable":false},"Date":{"description":"The datetime for when to check if the code is valid","type":"string","format":"date-time","x-nullable":false},"IncludeConnectedServices":{"description":"","type":"boolean","x-nullable":false},"IncludeConnectedDaysOfWeek":{"description":"","type":"boolean","x-nullable":false},"IncludeConnectedCustomers":{"description":"","type":"boolean","x-nullable":false},"CustomerEmail":{"description":"","type":"string"}},"description":"GetRebateCodeBySign","type":"object"},"UpdateRebateCode":{"title":"UpdateRebateCode","required":["Id"],"properties":{"Id":{"description":"Id of the rebate code","type":"integer","format":"int32","x-nullable":false},"CompanyId":{"type":"string"},"MaxNumberOfUses":{"description":"The default value is 9999","type":"integer","format":"int32"},"MaxNumberOfUsesPerCustomer":{"description":"The default value is 1","type":"integer","format":"int32"},"AutoGenerateRebateCodeSign":{"description":"AutoGenerateRebateCodeSign=true - random generate code","type":"boolean","x-nullable":false},"RebateCodeTypeId":{"description":"1 - Percent, 2 - \u0421urrency","type":"integer","format":"int32","x-nullable":false},"ValidFrom":{"description":"","type":"string","format":"date-time"},"ValidTo":{"description":"","type":"string","format":"date-time"},"FromTime":{"description":"If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"string"},"ToTime":{"description":"If the price is only valid for a specific time span during a time of day enter the FromTime and ToTime parameters.","type":"string"},"RebateCodeValue":{"type":"integer","format":"int32"},"RebateCodeSign":{"description":"Is empty - random generate code, is not empty - more than four letters, unique among active codes","type":"string"},"PersonalNote":{"description":"","type":"string"},"DaysOfWeek":{"description":"","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"Services":{"description":"","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"Customers":{"description":"","type":"array","items":{"type":"string","x-nullable":false}}},"description":"UpdateRebateCode","type":"object"},"GetRebateCodeType":{"title":"GetRebateCodeType","properties":{"Id":{"description":"RebateCodeId","type":"integer","format":"int32"}},"description":"GetRebateCodeType","type":"object"},"GetRebateCodeStatus":{"title":"GetRebateCodeStatus","properties":{"Id":{"description":"RebateCodeId","type":"integer","format":"int32"}},"description":"GetRebateCodeStatus","type":"object"},"GetRebateCodeValues":{"title":"GetRebateCodeValues","required":["CustomerId"],"properties":{"Active":{"description":"","type":"boolean"},"CustomerId":{"type":"string"},"CompanyId":{"type":"string"},"IncludeTransactionLog":{"description":"","type":"boolean","x-nullable":false},"IncludeBookingInformation":{"description":"","type":"boolean","x-nullable":false},"IncludeRebateCodeInformation":{"description":"","type":"boolean","x-nullable":false},"IncludeServiceInformation":{"description":"","type":"boolean","x-nullable":false}},"description":"GetRebateCodeValues","type":"object"},"RebateCodeTransactionQuery":{"title":"RebateCodeTransactionQuery","required":["CompanyId","CustomerId"],"properties":{"CompanyId":{"description":"","type":"string"},"RebateCodeId":{"description":"If we want to see transactions only for this specific rebate code","type":"integer","format":"int32","x-nullable":false},"IncludeCustomerInformation":{"type":"boolean","x-nullable":false},"CreatedFrom":{"description":"Start of interval to query for transactions when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time"},"CreatedTo":{"description":"End of interval to query for transactions when they where created. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time"},"IncludeServiceInformation":{"type":"boolean","x-nullable":false},"CustomerId":{"description":"CustomerId","type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"RebateCodeTransactionQuery","type":"object"},"CreateRebateCodeTransaction":{"title":"CreateRebateCodeTransaction","required":["CompanyId","RebateCodeId","Amount","Usage","ChangeType"],"properties":{"CompanyId":{"description":"","type":"string"},"RebateCodeId":{"description":"Rebate code id to which you wish to add transaction","type":"integer","format":"int32","x-nullable":false},"Amount":{"type":"number","format":"double","x-nullable":false},"Usage":{"type":"integer","format":"int32","x-nullable":false},"BookingId":{"type":"integer","format":"int32"},"ChangeType":{"description":"If you want to Increase = 0 or Decrease = 1 the value","type":"string"}},"description":"CreateRebateCodeTransaction","type":"object"},"GetPricesAfterRebateCode":{"title":"GetPricesAfterRebateCode","required":["CompanyId","DateFrom"],"properties":{"CompanyId":{"description":"","type":"string","x-nullable":false},"ServiceId":{"description":"The service you want to get the prices with rebates on","type":"integer","format":"int32"},"RebateCodeIds":{"description":"Provide this if you like to the prices with rebate code ids","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"RebateCodeSigns":{"description":"Provide this if you like to the prices with rebate code signs instead of ids","type":"array","items":{"type":"string"}},"DateFrom":{"description":"Provide this if you like to calculate the prices with the provided datetime","type":"string","format":"date-time","x-nullable":false}},"description":"GetPricesAfterRebateCode","type":"object"},"ExportRebateCode":{"title":"ExportRebateCode","required":["RebateCodeId"],"properties":{"RebateCodeId":{"description":"Id of the rebate code","type":"integer","format":"int32","x-nullable":false},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"SendReceiptMethod":{"type":"string"}},"description":"ExportRebateCode","type":"object"},"MarkRebateCodeAsPayed":{"title":"MarkRebateCodeAsPayed","required":["CompanyId","RebateCodeId"],"properties":{"CompanyId":{"description":"","type":"string"},"RebateCodeId":{"description":"Id of the rebate code","type":"integer","format":"int32","x-nullable":false}},"description":"MarkRebateCodeAsPayed","type":"object"},"ReferenceQuery":{"title":"ReferenceQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the reference","type":"string"},"OwnerId":{"description":"Internal Id of the reference. Example could be the Booking Id","type":"string"},"ReferenceType":{"description":"The type of reference, you can name this parameter what you like. Example could be system_bookingid where the system is the external system","type":"string"},"ExternalData":{"description":"The external data. Could be a Id or a JSON object or anything","type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"ReferenceQuery","type":"object"},"AddReference":{"title":"AddReference","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"OwnerId":{"description":"Internal Id of the reference. Example could be the Booking Id","type":"string","x-nullable":false},"ReferenceType":{"description":"The type of reference, you can name this parameter what you like. Example could be system_bookingid where the system is the external system","type":"string"},"ReferenceTypeId":{"description":"External reference type id - can we fetched from /externalreferencestypes endpoint. ReferenceTypeId = 99 is other and should be used for all other types","type":"integer","format":"int32"},"ExternalData":{"description":"The external data. Could be a Id or a JSON object or anything","type":"string"},"CreatedBy":{"description":"Will show who created the reference.","type":"datetime"}},"description":"AddReference","type":"object"},"GetReferenceTypes":{"title":"GetReferenceTypes","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"GetReferenceTypes","type":"object"},"UpdateReference":{"title":"UpdateReference","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the reference","type":"string","x-nullable":false},"OwnerId":{"description":"Internal Id of the reference. Example could be the Booking Id","type":"string"},"ReferenceType":{"description":"The type of reference, you can name this parameter what you like. Example could be system_bookingid where the system is the external system","type":"string"},"ExternalData":{"description":"The external data. Could be a Id or a JSON object or anything","type":"string"}},"description":"UpdateReference","type":"object"},"DeleteReference":{"title":"DeleteReference","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the reference","type":"string","x-nullable":false}},"description":"DeleteReference","type":"object"},"DeleteReferenceWithReferenceType":{"title":"DeleteReferenceWithReferenceType","required":["CompanyId"],"properties":{"CompanyId":{"description":"The company id","type":"string","x-nullable":false},"OwnerId":{"description":"Internal Id of the reference. Example could be the Booking Id","type":"string","x-nullable":false},"ReferenceType":{"description":"Reference type of the reference","type":"string"}},"description":"DeleteReferenceWithReferenceType","type":"object"},"BookingPrintoutQuery":{"title":"BookingPrintoutQuery","properties":{"CompanyId":{"description":"Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used","type":"string"},"Id":{"description":"Report id","type":"integer","format":"int32"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"BookingPrintoutQuery","type":"object"},"CreateBookingPrintout":{"title":"CreateBookingPrintout","required":["Name","HeaderLeftCell","HeaderMiddleCell","HeaderRightCell","BodyCell","FooterLeftCell","FooterMiddleCell","FooterRightCell"],"properties":{"CompanyId":{"description":"Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used","type":"string"},"Name":{"description":"Report Name","type":"string"},"HeaderLeftCell":{"description":"Report header left cell content","type":"string"},"HeaderMiddleCell":{"description":"Report header middle cell content","type":"string"},"HeaderRightCell":{"description":"Report header right cell content","type":"string"},"BodyCell":{"description":"Report body cell content","type":"string"},"FooterLeftCell":{"description":"Report footer left cell content","type":"string"},"FooterMiddleCell":{"description":"Report footer middle cell content","type":"string"},"FooterRightCell":{"description":"Report footer right cell content","type":"string"},"Id":{"description":"Report id","type":"integer","format":"int32","x-nullable":false},"Language":{"description":"Report language (sv, en, no, fi), default is sv","type":"string"}},"description":"CreateBookingPrintout","type":"object"},"BookingReportFieldTranslationsQuery":{"title":"BookingReportFieldTranslationsQuery","properties":{"Id":{"description":"The field translation id.","type":"integer","format":"int32"},"Group":{"description":"The field translation group","type":"string"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"BookingReportFieldTranslationsQuery","type":"object"},"TestBookingPrintout":{"title":"TestBookingPrintout","required":["HeaderLeftCell","HeaderMiddleCell","HeaderRightCell","BodyCell","FooterLeftCell","FooterMiddleCell","FooterRightCell"],"properties":{"CompanyId":{"description":"Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used","type":"string"},"HeaderLeftCell":{"description":"Report header left cell content","type":"string"},"HeaderMiddleCell":{"description":"Report header middle cell content","type":"string"},"HeaderRightCell":{"description":"Report header right cell content","type":"string"},"BodyCell":{"description":"Report body cell content","type":"string"},"FooterLeftCell":{"description":"Report footer left cell content","type":"string"},"FooterMiddleCell":{"description":"Report footer middle cell content","type":"string"},"FooterRightCell":{"description":"Report footer right cell content","type":"string"}},"description":"TestBookingPrintout","type":"object"},"DeleteBookingPrintout":{"title":"DeleteBookingPrintout","required":["Id"],"properties":{"CompanyId":{"description":"Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used","type":"string"},"Id":{"description":"Report id","type":"integer","format":"int32","x-nullable":false}},"description":"DeleteBookingPrintout","type":"object"},"UpdateBookingPrintout":{"title":"UpdateBookingPrintout","required":["Id","Name","HeaderLeftCell","HeaderMiddleCell","HeaderRightCell","BodyCell","FooterLeftCell","FooterMiddleCell","FooterRightCell"],"properties":{"CompanyId":{"description":"Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used","type":"string"},"Id":{"description":"Report id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"Report Name","type":"string"},"HeaderLeftCell":{"description":"Report header left cell content","type":"string"},"HeaderMiddleCell":{"description":"Report header middle cell content","type":"string"},"HeaderRightCell":{"description":"Report header right cell content","type":"string"},"BodyCell":{"description":"Report body cell content","type":"string"},"FooterLeftCell":{"description":"Report footer left cell content","type":"string"},"FooterMiddleCell":{"description":"Report footer middle cell content","type":"string"},"FooterRightCell":{"description":"Report footer right cell content","type":"string"}},"description":"UpdateBookingPrintout","type":"object"},"ResourceQuery":{"title":"ResourceQuery","required":["CompanyId"],"properties":{"CompanyId":{"description":"Enter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ","type":"string"},"Id":{"type":"integer","format":"int32"},"Active":{"type":"boolean"},"IncludeExceptions":{"description":"If you want to include the exceptions for each resource, only allowed for administrators. Select between what dates in the parameters [ExceptionsQueryFromDate] and [ExceptionsQueryToDate] , if no dates added ","type":"boolean","x-nullable":false},"ExceptionsQueryFromDate":{"description":"If [IncludeExceptions], choose what from and to date to search exceptions between, if nothing entered it will search from today\u0027s date.","type":"dateTime","format":"date-time"},"ExceptionsQueryToDate":{"description":"If [IncludeExceptions], choose what from and to date to search exceptions between, if nothing entered it will search to 1 year forward from today\u0027s date.","type":"dateTime","format":"date-time"},"IncludeBookings":{"description":"If you want to include the bookings for each resource, only allowed for administrators. Select between what dates in the parameters [BookingsQueryFromDate] and [BookingsQueryToDate] , if nothing entered it will search to 1 year forward from todays date.","type":"boolean","x-nullable":false},"BookingsQueryFromDate":{"description":"If [IncludeBookings], choose what from and to date to search bookings between, if nothing entered it will search from today\u0027s date.","type":"dateTime","format":"date-time"},"BookingsQueryToDate":{"description":"If [IncludeBookings], choose what from and to date to search bookings between, if nothing entered it will search to 1 year forward from today\u0027s date.","type":"dateTime","format":"date-time"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"ResourceQuery","type":"object"},"CreateResource":{"title":"CreateResource","required":["CompanyId"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"Name":{"description":"The resource name","type":"string"},"Description":{"description":"The resource description","type":"string"},"Active":{"description":"If resource is active or not. Default is active.","type":"boolean","x-nullable":false},"Color":{"description":"The resource color in scheduler","type":"string"},"Email":{"description":"The Email of the resource","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The Image URL of the resource"},"AccessGroup":{"description":"Used by example code locks to know what access group the resource is assigned to","type":"string"},"MobilePhone":{"description":"The Mobile phone number of the resource","type":"string"},"EmailNotification":{"description":"If the resource should receive email notification when booked","type":"boolean"},"SMSNotification":{"description":"If the resource should receive SMS notification when booked","type":"boolean"},"SendEmailReminder":{"description":"If the resource should receive Email reminders on bookings","type":"boolean"},"SendSMSReminder":{"description":"If the resource should receive SMS reminders on bookings","type":"boolean"},"ResourceCategory":{"description":"The resource category. 1 = Object, 2 = Person, 3 = Room, 4 = Relay","type":"integer","format":"int32"},"RelayStartsBeforeMinutes":{"description":"If the resource category is Relay, this is the number of minutes before the next booking that the relay resource becomes available. Default is 0.","type":"integer","format":"int32"},"CustomFields":{"description":"If Custom Fields are added to the resource, here you will send the id and the value for each custom field to be saved","type":"array","items":{"$ref":"#/definitions/AddCustomField"}}},"description":"CreateResource","type":"object"},"UpdateResource":{"title":"UpdateResource","required":["CompanyId","Id"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"Id":{"description":"Id of the resource","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The resource name","type":"string"},"Description":{"description":"The resource description","type":"string"},"Active":{"description":"If resource is active or not","type":"boolean"},"Color":{"description":"The resource color in scheduler","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The Image URL of the resource"},"Email":{"description":"The Email of the resource","type":"string"},"MobilePhone":{"description":"The Mobile phone number of the resource","type":"string"},"AccessGroup":{"description":"Used by example code locks to know what access group the resource is assigned to","type":"string"},"EmailNotification":{"description":"If the resource should receive Email notification when booked","type":"boolean"},"SMSNotification":{"description":"If the resource should receive SMS notification when booked","type":"boolean"},"SendEmailReminder":{"description":"If the resource should receive Email reminders on bookings","type":"boolean"},"SendSMSReminder":{"description":"If the resource should receive SMS reminders on bookings","type":"boolean"},"ResourceCategory":{"description":"The resource category. 1 = Object, 2 = Person, 3 = Room, 4 = Relay","type":"integer","format":"int32"},"RelayStartsBeforeMinutes":{"description":"If the resource category is Relay, this is the number of minutes before the next booking that the relay resource becomes available. Default is 0.","type":"integer","format":"int32"},"CustomFields":{"description":"If Custom Fields are added to the resource, here you will send the id and the value for each custom field to be saved","type":"array","items":{"$ref":"#/definitions/AddCustomField"}}},"description":"UpdateResource","type":"object"},"DeleteResource":{"title":"DeleteResource","required":["CompanyId","Id"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"Id":{"description":"Id of the resource to delete","type":"integer","format":"int32","x-nullable":false},"Force":{"description":"If this equals true it will force to set the resource as active = false, this is used when bookings exist on the resource and it cannot be deleted. ","type":"boolean","x-nullable":false}},"description":"DeleteResource","type":"object"},"ResourceTimeExceptionQuery":{"title":"ResourceTimeExceptionQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ResourceIds":{"description":"Enter the resource id\u0027s separated by comma that you want to see time exceptions for, if no value is given all time exceptions will be returned","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"TimeExceptionStart":{"description":"Start of interval to query for time exceptions. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time"},"TimeExceptionEnd":{"description":"End of interval to query for time exceptions. UTC\u002B0 and parameter as defined by date-time - RFC3339","type":"dateTime","format":"date-time"},"IsRecurring":{"description":"Include only recurring time exceptions or not, if no value is given, all time exceptions will be returned","type":"boolean"},"IsBlocking":{"description":"Include only time exceptions that are blocking, if no value is given, all time exceptions will be returned","type":"boolean"},"IncludeResourceDetails":{"description":"If you want to include the resource details","type":"boolean","x-nullable":false},"IncludeCalendarExportStatus":{"description":"If you want to include google calendar sync status","type":"boolean","x-nullable":false},"MaxLimit":{"description":"The max limit of records you want to retrieve, default is 200","type":"int","format":"int32"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"ResourceTimeExceptionQuery","type":"object"},"CreateResourceTimeException":{"title":"CreateResourceTimeException","required":["From","To","ResourceIds","ReasonText"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"From":{"description":"Time exception starting datestamp, only the date of day part is used of this value","type":"string","format":"date-time","x-nullable":false},"To":{"description":"Time exception ending datestamp, only the date of day part is used of this value","type":"string","format":"date-time","x-nullable":false},"ResourceIds":{"description":"Resource id of the resource that owns this exception","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"FromTime":{"description":"This value indicates the time of day when the time exception begins. Example: 10:00. If Recurring this will be the start time for each recurring day.","type":"string","x-nullable":false},"ToTime":{"description":"This value indicates the time of day when the time exception ends. Example: 12:00. If Recurring this will be the end time for each recurring day.","type":"string","x-nullable":false},"DaysOfWeek":{"description":"A comma separated list of which days this day exception belongs to, 1 = Monday .. 7 = Sunday","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"ReasonText":{"description":"The reason of the time exception, example: Vacation, doctors appointment, ...","type":"string"},"ReasonTextPublic":{"description":"The reason of the time exception that could be public to customers, example: Vacation, Closed, Sick leave, ...","type":"string"},"Color":{"description":"What hexadecimal color code the exception should have in the scheduler","type":"string"},"BlockTime":{"description":"If the time exception should block the time in the scheduler so it\u0027s not avaialable to book","type":"boolean","x-nullable":false},"Private":{"description":"If the ReasonText should only be visible to conncted resources. If false, all resources will be able to see it","type":"boolean","x-nullable":false},"TagIds":{"description":"Ids of tags to attach to the time exception at creation time. Tags must have Scope = TimeException and belong to the company.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"CollidingBookingOptions":{"description":"By default sets to 1, which is to add time exception without canceling colliding bookings","type":"string"},"Force":{"description":"If this equals true it will it add the time exception with the option you have selected in CollidingBookingOption. Default is to cancel all colliding bookings.","type":"boolean","x-nullable":false},"CancelMessage":{"description":"When Force=true and colliding bookings exist, this message is the message that are sent to the users when canceling their bookings.","type":"string"},"SendSmsConfirmation":{"description":"When Force=true and colliding bookings exist, send cancel message as SMS Confirmation","type":"boolean"},"SendEmailConfirmation":{"description":"When Force=true and colliding bookings exist, send cancel message as Email Confirmation","type":"boolean"}},"description":"CreateResourceTimeException","type":"object"},"DeleteResourceTimeException":{"title":"DeleteResourceTimeException","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Time exception id to be deleted","type":"integer","format":"int32","x-nullable":false}},"description":"DeleteResourceTimeException","type":"object"},"UpdateResourceTimeException":{"title":"UpdateResourceTimeException","required":["ResourceIds","ReasonText"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Time exceptions id","type":"integer","format":"int32","x-nullable":false},"From":{"description":"Time exception starting datestamp, only the date of day part is used of this value","type":"string","format":"date-time"},"To":{"description":"Time exception ending datestamp, only the date of day part is used of this value","type":"string","format":"date-time"},"ResourceIds":{"description":"Resource id of the resource that owns this exception","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"FromTime":{"description":"This value indicates the time of day when the time exception begins. Example: 10:00. If Recurring this will be the start time for each recurring day.","type":"string"},"ToTime":{"description":"This value indicates the time of day when the time exception ends. Example: 12:00. If Recurring this will be the end time for each recurring day.","type":"string"},"DaysOfWeek":{"description":"A comma separated list of which days this day exception belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"ReasonText":{"description":"The reason of the time exception, example: Vacation, doctors appointment, ...","type":"string"},"ReasonTextPublic":{"description":"The reason of the time exception that could be public to customers, example: Vacation, Closed, Sick leave, ...","type":"string"},"Color":{"description":"What hexadecimal color code the exception should have in the scheduler","type":"string"},"BlockTime":{"description":"If the time exception should block the time in the scheduler so it\u0027s not available to book","type":"boolean"},"Private":{"description":"If the ReasonText should only be visible to connected resources. If false, all resources will be able to see it","type":"boolean"},"TagIds":{"description":"Ids of tags to attach to the time exception. Tags must have Scope = TimeException and belong to the company. If provided, replaces all existing tags.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"CollidingBookingOptions":{"description":"By default sets to 1, which is to add time exception without canceling colliding bookings","type":"string"},"Force":{"description":"If this equals true it will it add the time exception with the option you have selected in CollidingBookingOption. Default is to cancel all colliding bookings.","type":"boolean","x-nullable":false},"CancelMessage":{"description":"When Force=true and colliding bookings exist, this message is the message that are sent to the users when canceling their bookings.","type":"string"},"SendSmsConfirmation":{"description":"When Force=true and colliding bookings exist, send cancel message as SMS Confirmation","type":"boolean"},"SendEmailConfirmation":{"description":"When Force=true and colliding bookings exist, send cancel message as Email Confirmation","type":"boolean"}},"description":"UpdateResourceTimeException","type":"object"},"CollidingBookingQuery":{"title":"CollidingBookingQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ResourceIds":{"description":"Resource ids of the resource that should be matched against booked events","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"From":{"description":"Time exception starting date","type":"string","format":"date-time","x-nullable":false},"To":{"description":"Time exception ending date","type":"string","format":"date-time","x-nullable":false},"FromTime":{"description":"This value indicates the time of day when the time exception begins. Example: 10:00. If Recurring this will be the start time for each recurring day.","type":"string","x-nullable":false},"ToTime":{"description":"This value indicates the time of day when the time exception ends. Example: 12:00. If Recurring this will be the endtime for each recurring day.","type":"string","x-nullable":false},"DaysOfWeek":{"description":"A comma separated list of which days this day exception belongs to, 1 = Monday .. 7 = Sunday","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"IncludeServiceInformation":{"description":"If you want to include the service information for the booking","type":"boolean","x-nullable":false},"IncludeCustomerInformation":{"description":"If you want to include the customer information for the booking","type":"boolean","x-nullable":false}},"description":"CollidingBookingQuery","type":"object"},"ResourceTypeQuery":{"title":"ResourceTypeQuery","required":["CompanyId"],"properties":{"CompanyId":{"description":"Enter the company and id you want to see the information for a resourcetype, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ","type":"string"},"Id":{"description":"Enter the id for a resourcetype. If blank id, all resourcetypes will be shown ","type":"integer","format":"int32"},"Active":{"description":"Filter on active or deactivated resourcetypes. If blank status, all resourcetypes will be shown ","type":"boolean"},"IncludeResources":{"description":"If you want to include the connected resources","type":"boolean","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"ResourceTypeQuery","type":"object"},"CreateResourceType":{"title":"CreateResourceType","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Name":{"description":"The resourcetype name","type":"string"},"Resources":{"description":"The resources to be included","type":"array","items":{"$ref":"#/definitions/AddResourceTypeResource"}},"Description":{"description":"The resourcetype description","type":"string"},"Active":{"description":"If resourcetype is active or not","type":"boolean","x-nullable":false}},"description":"CreateResourceType","type":"object"},"AddResourceTypeResource":{"title":"AddResourceTypeResource","properties":{"Id":{"description":"The resource id","type":"integer","format":"int32","x-nullable":false},"Priority":{"description":"The priority of the resource. If no priority is set it will take random resource when booking a time.","type":"integer","format":"int32","x-nullable":false}},"description":"AddResourceTypeResource","type":"object"},"UpdateResourceType":{"title":"UpdateResourceType","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the resourcetype","type":"integer","format":"int32","x-nullable":false},"Resources":{"description":"The resources to be added","type":"array","items":{"$ref":"#/definitions/UpdateResourceTypeResource"}},"Name":{"description":"The resourcetype name","type":"string"},"Description":{"description":"The resourcetype description","type":"string"},"Active":{"description":"If resourcetype is active or not","type":"boolean","x-nullable":false}},"description":"UpdateResourceType","type":"object"},"UpdateResourceTypeResource":{"title":"UpdateResourceTypeResource","properties":{"Id":{"description":"The resource id","type":"integer","format":"int32","x-nullable":false},"Priority":{"description":"The priority of the resource","type":"integer","format":"int32","x-nullable":false}},"description":"UpdateResourceTypeResource","type":"object"},"DeleteResourceType":{"title":"DeleteResourceType","required":["Id"],"properties":{"Id":{"description":"Id of the resource to delete","type":"integer","format":"int32","x-nullable":false}},"description":"DeleteResourceType","type":"object"},"UpdateResourcePriority":{"title":"UpdateResourcePriority","required":["CompanyId","Id"],"properties":{"CompanyId":{"description":"The company id","type":"string","x-nullable":false},"Id":{"description":"The ResourceType id","type":"integer","format":"int32","x-nullable":false},"Resources":{"description":"The resources to have their priorities to be updated ","type":"array","items":{"$ref":"#/definitions/UpdateResourceTypeResource"}}},"description":"UpdateResourcePriority","type":"object"},"AddResource":{"title":"AddResource","required":["CompanyId","Id"],"properties":{"CompanyId":{"description":"The company id","type":"string","x-nullable":false},"Id":{"description":"The ResourceType id","type":"integer","format":"int32","x-nullable":false},"Resources":{"description":"The resources to be included","type":"array","items":{"$ref":"#/definitions/AddResourceTypeResource"}}},"description":"AddResource","type":"object"},"RemoveResource":{"title":"RemoveResource","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The ResourceType id","type":"integer","format":"int32","x-nullable":false},"Resources":{"description":"The resources to be removed","type":"array","items":{"$ref":"#/definitions/RemoveResourceTypeResource"}}},"description":"RemoveResource","type":"object"},"RemoveResourceTypeResource":{"title":"RemoveResourceTypeResource","properties":{"Id":{"description":"The resource id","type":"integer","format":"int32","x-nullable":false}},"description":"RemoveResourceTypeResource","type":"object"},"RecuringScheduleQuery":{"title":"RecuringScheduleQuery","properties":{"CompanyId":{"description":"Enter the company you want to see news for, if blank and you are an admin, your company id will be used","type":"string"},"ValidFrom":{"description":"Enter the From Date you want to see news from, only allowed if admin","type":"dateTime","format":"date-time"},"ValidTo":{"description":"Enter the To Date you want to see news to, only allowed if admin","type":"dateTime","format":"date-time"},"IncludeRecurringDays":{"description":"If you want to include the connected days for the schedule","type":"bool","x-nullable":false},"IncludeConnectedResources":{"description":"If you want to include the connected resources for the schedule","type":"bool","x-nullable":false},"IncludeConnectedServices":{"description":"If you want to include the connected services for the schedule","type":"bool","x-nullable":false},"IncludeExceptions":{"description":"If you want to include the exceptions for the schedule","type":"bool","x-nullable":false},"Active":{"description":"Use this parameter if you want to only show active news","type":"boolean"},"IncludeScheduleDates":{"description":"If you want to include the connected dates for the schedule. This is used when the schedule having setting, different opening hours per week (not rolling schedule using days of week).","type":"bool","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"RecuringScheduleQuery","type":"object"},"DateScheduleQuery":{"title":"DateScheduleQuery","properties":{"CompanyId":{"description":"Enter the company you want to see news for, if blank and you are an admin, your company id will be used","type":"string"},"ValidFrom":{"description":"Enter the From Date you want to see news from, only allowed if admin","type":"dateTime","format":"date-time"},"ValidTo":{"description":"Enter the To Date you want to see news to, only allowed if admin","type":"dateTime","format":"date-time"},"IncludeScheduleDates":{"description":"If you want to include the connected dates for the schedule","type":"bool","x-nullable":false},"IncludeConnectedResources":{"description":"If you want to include the connected resources for the schedule","type":"bool","x-nullable":false},"IncludeConnectedServices":{"description":"If you want to include the connected services for the schedule","type":"bool","x-nullable":false},"Active":{"description":"Use this parameter if you want to only show active news","type":"boolean"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"DateScheduleQuery","type":"object"},"CreateRecurringSchedule":{"title":"CreateRecurringSchedule","required":["TimeInterval","EnableBookingUntilClosingTime","ValidFrom","ValidTo","StartTime","EndTime","NumberOfScheduleDays"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Name":{"description":"The schedule name","type":"string"},"Description":{"description":"The schedule description","type":"string"},"Active":{"description":"If schedule is active or not","type":"boolean","x-nullable":false},"TimeInterval":{"description":"Time interval for available times. Here you set the interval at which times should appear. For example, if you select the range 15minutes, and your service has an duration of 1 hour and opening hours are 9AM to 6PM you will see the following suggested times: 09AM-10PM 09:15AM-10:15PM, 09:30AM-10:30PM ,  ..... 04:45PM-05:45, 05:00PM-06:00PM","type":"integer","format":"int32","x-nullable":false},"EnableBookingUntilClosingTime":{"description":"Allow bookings end time exceeds the opening hours Here you can choose whether it should be possible to make a reservation exceeding the opening hours. This should be ticked when a service duration is longer than 24 hours (possible to book over midnight).","type":"boolean","x-nullable":false},"ValidFrom":{"description":"The timestamp to which the schedule is valid from","type":"string","format":"date-time","x-nullable":false},"ValidTo":{"description":"The timestamp to which the schedule is valid to","type":"string","format":"date-time","x-nullable":false},"StartTime":{"description":"The time for the schedule opening hours (starttime)","type":"string","x-nullable":false},"EndTime":{"description":"The time for the schedule opening hours (endtime)","type":"string","x-nullable":false},"NumberOfScheduleDays":{"description":"The number of days the schedule is valid from todays date","type":"integer","format":"int32","x-nullable":false},"DaysOfWeek":{"description":"If recurring, an array indicating which days of the week the schedule recures on where 1 = Monday .. 7 = Sunday. When recurring then the time portion of the Fields From and To indicates the time of day the recurrence occurs","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"ScheduleDates":{"description":"If not recuring, an array indicating which dates that are open for the schedule.","type":"array","items":{"$ref":"#/definitions/AddRecurringScheduleDate"}},"Exceptions":{"description":"Schedule exceptions. For example closed on lunch time between 12AM and 1PM. These times will be removed from the recurring schedule.","type":"array","items":{"$ref":"#/definitions/ScheduleException"}},"Resources":{"description":"If the schedule is only connected to some resources, add them here. If empty, it will be used by all resources.","type":"array","items":{"$ref":"#/definitions/AddScheduleResource"}},"Services":{"description":"Set what services the schedule should be connected to.","type":"array","items":{"$ref":"#/definitions/AddScheduleService"}}},"description":"CreateRecurringSchedule","type":"object"},"AddRecurringScheduleDate":{"title":"AddRecurringScheduleDate","required":["Date","StartTime","EndTime"],"properties":{"Date":{"description":"The date for the schedule opening (only date part is used here","type":"string","format":"date-time","x-nullable":false},"StartTime":{"description":"The time for the schedule opening hours (starttime)","type":"string","x-nullable":false},"EndTime":{"description":"The time for the schedule opening hours (endtime)","type":"string","x-nullable":false}},"description":"AddRecurringScheduleDate","type":"object"},"ScheduleException":{"title":"ScheduleException","properties":{"StartTime":{"type":"string","x-nullable":false},"EndTime":{"type":"string","x-nullable":false}},"description":"ScheduleException","type":"object"},"AddScheduleResource":{"title":"AddScheduleResource","required":["Id"],"properties":{"Id":{"description":"The resource id","type":"integer","format":"int32","x-nullable":false}},"description":"AddScheduleResource","type":"object"},"AddScheduleService":{"title":"AddScheduleService","required":["Id"],"properties":{"Id":{"description":"The service id","type":"integer","format":"int32","x-nullable":false}},"description":"AddScheduleService","type":"object"},"CreateDateSchedule":{"title":"CreateDateSchedule","required":["NumberOfScheduleDays"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Name":{"description":"The schedule name","type":"string"},"Description":{"description":"The schedule description","type":"string"},"Active":{"description":"If schedule is active or not","type":"boolean","x-nullable":false},"NumberOfScheduleDays":{"description":"The number of days the schedule is valid from todays date","type":"integer","format":"int32","x-nullable":false},"ScheduleDates":{"description":"The dates for the schedule. This is the actual timeslots.","type":"array","items":{"$ref":"#/definitions/AddDateScheduleDate"}},"Resources":{"description":"If the schedule is only connected to some resources, add them here. If empty, it will be used by all resources.","type":"array","items":{"$ref":"#/definitions/AddScheduleResource"}},"Services":{"description":"Set what services the schedule should be connected to.","type":"array","items":{"$ref":"#/definitions/AddScheduleService"}}},"description":"CreateDateSchedule","type":"object"},"AddDateScheduleDate":{"title":"AddDateScheduleDate","required":["From","To"],"properties":{"From":{"description":"The from date for the timeslot","type":"string","format":"date-time","x-nullable":false},"To":{"description":"The to date for the timeslot","type":"string","format":"date-time","x-nullable":false}},"description":"AddDateScheduleDate","type":"object"},"RecurringScheduleIntervalsQuery":{"title":"RecurringScheduleIntervalsQuery","required":["From","To"],"properties":{"CompanyId":{"description":"Company to show services for","type":"string"},"From":{"description":"From what datetime to show times","type":"dateTime","format":"date-time","x-nullable":false},"To":{"description":"To what datetime to show times","type":"dateTime","format":"date-time","x-nullable":false},"ResourceIds":{"description":"Here you can select one of the resource, if none is selected it will show available times for all","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"RecurringScheduleIntervalsQuery","type":"object"},"TestRecurringSchedule":{"title":"TestRecurringSchedule","required":["From","To","TimeInterval","EnableBookingUntilClosingTime","ValidFrom","ValidTo","StartTime","EndTime","NumberOfScheduleDays"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"From":{"description":"From what datetime to show available times","type":"dateTime","format":"date-time","x-nullable":false},"To":{"description":"To what datetime to show available times","type":"dateTime","format":"date-time","x-nullable":false},"Duration":{"description":"The Service Duration to be faked if there is no Service selected","type":"integer","format":"int32"},"TimeInterval":{"description":"Time interval for available times. Here you set the interval at which times should appear. For example, if you select the range 15minutes, and your service has an duration of 1 hour and opening hours are 9AM to 6PM you will see the following suggested times: 09AM-10AM 09:15AM-10:15AM, 09:30AM-10:30AM ,  ..... 04:45PM-05:45, 05:00PM-06:00PM","type":"integer","format":"int32","x-nullable":false},"EnableBookingUntilClosingTime":{"description":"Allow bookings end time exceeds the opening hours Here you can choose whether it should be possible to make a reservation exceeding the opening hours. This should be ticked when a service duration is longer than 24 hours (possible to book over midnight).","type":"boolean","x-nullable":false},"ValidFrom":{"description":"The timestamp to which the schedule is valid from","type":"string","format":"date-time","x-nullable":false},"ValidTo":{"description":"The timestamp to which the schedule is valid to","type":"string","format":"date-time","x-nullable":false},"StartTime":{"description":"The time for the schedule opening hours (starttime)","type":"string","x-nullable":false},"EndTime":{"description":"The time for the schedule opening hours (endtime)","type":"string","x-nullable":false},"NumberOfScheduleDays":{"description":"The number of days the schedule is valid from todays date","type":"integer","format":"int32","x-nullable":false},"DaysOfWeek":{"description":"If recurring, an array indicating which days of the week the schedule recures on where 1 = Monday .. 7 = Sunday. When recurring then the time portion of the Fields From and To indicates the time of day the recurrence occurs","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"ScheduleDates":{"description":"If not recuring, an array indicating which dates that are open for the schedule.","type":"array","items":{"$ref":"#/definitions/AddRecurringScheduleDate"}},"Exceptions":{"description":"Schedule exceptions. For example closed on lunch time between 12AM and 1PM. These times will be removed from the recurring schedule.","type":"array","items":{"$ref":"#/definitions/ScheduleException"}},"Services":{"type":"array","items":{"$ref":"#/definitions/AddScheduleService"}},"Resources":{"type":"array","items":{"$ref":"#/definitions/Resource"}}},"description":"TestRecurringSchedule","type":"object"},"Resource":{"title":"Resource","properties":{"Priority":{"type":"integer","format":"int32","x-nullable":false},"Schedules":{"type":"array","items":{"$ref":"#/definitions/ISchedule"}},"Exceptions":{"type":"array","items":{"$ref":"#/definitions/ITimeException"}},"Bookings":{"type":"array","items":{"$ref":"#/definitions/IBookedTime"}},"CustomFieldsConfig":{"type":"array","items":{"$ref":"#/definitions/CustomFieldConfig"}},"CustomFieldsData":{"type":"array","items":{"$ref":"#/definitions/CustomFieldDataResponse"}},"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"Description":{"type":"string"},"ImageUrl":{"type":"string"},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"Color":{"type":"string"},"Email":{"type":"string"},"MobilePhone":{"type":"string"},"EmailNotification":{"type":"boolean"},"SMSNotification":{"type":"boolean"},"SendSMSReminder":{"type":"boolean","x-nullable":false},"SendEmailReminder":{"type":"boolean","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"AccessGroup":{"type":"string"},"ResourceCategory":{"type":"integer","format":"int32"},"RelayStartsBeforeMinutes":{"type":"integer","format":"int32"},"TextField1":{"type":"string"},"TextField2":{"type":"string"},"TextField3":{"type":"string"},"TextField4":{"type":"string"},"TextField5":{"type":"string"},"TextField6":{"type":"string"},"TextField7":{"type":"string"},"TextField8":{"type":"string"},"TextField9":{"type":"string"},"TextField10":{"type":"string"},"TextField11":{"type":"string"},"TextField12":{"type":"string"},"TextField13":{"type":"string"},"TextField14":{"type":"string"},"TextField15":{"type":"string"},"TextField16":{"type":"string"},"TextField17":{"type":"string"},"TextField18":{"type":"string"},"TextField19":{"type":"string"},"TextField20":{"type":"string"}},"description":"Resource","type":"object"},"ISchedule":{"title":"ISchedule","properties":{},"description":"ISchedule","type":"object"},"ITimeException":{"title":"ITimeException","properties":{},"description":"ITimeException","type":"object"},"IBookedTime":{"title":"IBookedTime","properties":{},"description":"IBookedTime","type":"object"},"CustomFieldConfig":{"title":"CustomFieldConfig","properties":{"SortOrder":{"type":"integer","format":"int32","x-nullable":false},"Values":{"type":"array","items":{"$ref":"#/definitions/CustomFieldValue"}},"CustomField":{"$ref":"#/definitions/CustomField"},"RegEx":{"$ref":"#/definitions/RegEx"},"Services":{"type":"array","items":{"$ref":"#/definitions/Service"}},"CustomFieldServiceRelation":{"type":"array","items":{"$ref":"#/definitions/CustomFieldServiceRelation"}},"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"GroupId":{"type":"integer","format":"int32"},"FieldId":{"type":"integer","format":"int32","x-nullable":false},"IconId":{"type":"integer","format":"int32","x-nullable":false},"RegExId":{"type":"integer","format":"int32"},"Name":{"type":"string"},"Description":{"type":"string"},"Datatype":{"type":"string"},"MaxLength":{"type":"integer","format":"int32","x-nullable":false},"IsPublic":{"type":"boolean","x-nullable":false},"IsHidden":{"type":"boolean","x-nullable":false},"IsMandatory":{"type":"boolean","x-nullable":false},"DefaultValue":{"type":"string"},"RegExErrorMessage":{"type":"string"},"MandatoryErrorMessage":{"type":"string"},"Width":{"type":"integer","format":"int32"},"MultipleLineText":{"type":"boolean","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"}},"description":"CustomFieldConfig","type":"object"},"CustomFieldValue":{"title":"CustomFieldValue","properties":{"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"Value":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"SortOrder":{"type":"integer","format":"int32"},"ModifiedDate":{"type":"string","format":"date-time"}},"description":"CustomFieldValue","type":"object"},"CustomField":{"title":"CustomField","properties":{"Table":{"type":"string"},"Column":{"type":"string"},"DataType":{"type":"string"},"Description":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"CustomField","type":"object"},"RegEx":{"title":"RegEx","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"RegExCode":{"type":"string"},"ErrorMessage":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"RegEx","type":"object"},"Service":{"title":"Service","properties":{"ResourceTypes":{"type":"array","items":{"$ref":"#/definitions/ResourceType"}},"Resources":{"type":"array","items":{"$ref":"#/definitions/Resource"}},"TotalPrice":{"$ref":"#/definitions/TotalPriceInformation"},"Prices":{"type":"array","items":{"$ref":"#/definitions/ServicePrice"}},"BookingStatusOptions":{"type":"array","items":{"$ref":"#/definitions/BookingStatusOptions"}},"IsGroupBooking":{"type":"boolean","x-nullable":false},"IsMultipleResource":{"type":"boolean","x-nullable":false},"Settings":{"$ref":"#/definitions/BookingSettings"},"PaymentSettings":{"$ref":"#/definitions/PaymentSettings"},"BookingCustomFieldsConfig":{"type":"array","items":{"$ref":"#/definitions/CustomFieldConfig"}},"CustomerCustomFieldsConfig":{"type":"array","items":{"$ref":"#/definitions/CustomFieldConfig"}},"CustomFieldsConfig":{"type":"array","items":{"$ref":"#/definitions/CustomFieldConfig"}},"CustomFieldsData":{"type":"array","items":{"$ref":"#/definitions/CustomFieldDataResponse"}},"Schedules":{"type":"array","items":{"$ref":"#/definitions/ISchedule"}},"CustomerActiveBookings":{"type":"array","items":{"$ref":"#/definitions/Booking"}},"ScheduleType":{"type":"string"},"LastTimeToUnbookThreshold":{"type":"string","x-nullable":false},"LastTimeToBookThreshold":{"type":"string","x-nullable":false},"RatingScore":{"$ref":"#/definitions/AverageRatingScore"},"Ratings":{"type":"array","items":{"$ref":"#/definitions/Rating"}},"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"},"Group":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"SortOrder":{"type":"integer","format":"int32","x-nullable":false},"PauseAfterBooking":{"type":"integer","format":"int32","x-nullable":false},"UnbookBeforeDays":{"type":"integer","format":"int32","x-nullable":false},"UnbookBeforeHours":{"type":"integer","format":"int32","x-nullable":false},"UnbookBeforeMinutes":{"type":"integer","format":"int32","x-nullable":false},"BookBeforeDays":{"type":"integer","format":"int32","x-nullable":false},"BookBeforeHours":{"type":"integer","format":"int32","x-nullable":false},"BookBeforeMinutes":{"type":"integer","format":"int32","x-nullable":false},"Duration":{"type":"integer","format":"int32"},"DurationTypeId":{"type":"integer","format":"int32","x-nullable":false},"MinDuration":{"type":"integer","format":"int32"},"MaxDuration":{"type":"integer","format":"int32"},"DurationInterval":{"type":"integer","format":"int32"},"TotalSpots":{"type":"integer","format":"int32"},"ImageUrl":{"type":"string"},"ScheduleTypeId":{"type":"integer","format":"int32","x-nullable":false},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"OnlyVisibleByAdmin":{"type":"boolean","x-nullable":false},"MinNumberOfSpotsPerBooking":{"type":"integer","format":"int32","x-nullable":false},"MaxNumberOfSpotsPerBooking":{"type":"integer","format":"int32","x-nullable":false},"MinNumberOfResourcesToBook":{"type":"integer","format":"int32","x-nullable":false},"MaxNumberOfResourcesToBook":{"type":"integer","format":"int32","x-nullable":false},"IsPaymentEnabled":{"type":"boolean","x-nullable":false},"MaxPaymentTime":{"type":"integer","format":"int32","x-nullable":false},"LockSpotsToBooking":{"type":"boolean","x-nullable":false},"EnableBookingQueue":{"type":"boolean","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"BookingStatusId":{"type":"integer","format":"int32","x-nullable":false},"EnableCodeLockSync":{"type":"boolean","x-nullable":false},"EnableGoogleMeetBooking":{"type":"boolean","x-nullable":false},"EnableCustomerManualPayment":{"type":"boolean","x-nullable":false},"PriceViewTypeId":{"type":"integer","format":"int32"},"TextField1":{"type":"string"},"TextField2":{"type":"string"},"TextField3":{"type":"string"},"TextField4":{"type":"string"},"TextField5":{"type":"string"},"TextField6":{"type":"string"},"TextField7":{"type":"string"},"TextField8":{"type":"string"},"TextField9":{"type":"string"},"TextField10":{"type":"string"},"TextField11":{"type":"string"},"TextField12":{"type":"string"},"TextField13":{"type":"string"},"TextField14":{"type":"string"},"TextField15":{"type":"string"},"TextField16":{"type":"string"},"TextField17":{"type":"string"},"TextField18":{"type":"string"},"TextField19":{"type":"string"},"TextField20":{"type":"string"}},"description":"Service","type":"object"},"ResourceType":{"title":"ResourceType","properties":{"SelectableByUser":{"type":"boolean","x-nullable":false},"Resources":{"type":"array","items":{"$ref":"#/definitions/Resource"}},"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"}},"description":"ResourceType","type":"object"},"TotalPriceInformation":{"title":"TotalPriceInformation","properties":{"TotalPrice":{"type":"number","format":"double","x-nullable":false},"TotalVATAmount":{"type":"number","format":"double","x-nullable":false},"TotalRebate":{"type":"number","format":"double","x-nullable":false},"TotalPriceBeforeRebate":{"type":"number","format":"double","x-nullable":false},"AppliedCodes":{"type":"array","items":{"$ref":"#/definitions/AppliedRebateCodes"}},"PriceSign":{"type":"string"},"CurrencyId":{"type":"string"},"VAT":{"type":"number","format":"double","x-nullable":false}},"description":"TotalPriceInformation","type":"object"},"AppliedRebateCodes":{"title":"AppliedRebateCodes","properties":{"RebateCodeId":{"type":"integer","format":"int32","x-nullable":false},"RebateCodeSign":{"type":"string"},"RebateCodeValue":{"type":"integer","format":"int32","x-nullable":false},"RebateAmount":{"type":"number","format":"double","x-nullable":false},"RebateCodeType":{"$ref":"#/definitions/RebateCodeType"}},"description":"AppliedRebateCodes","type":"object"},"RebateCodeType":{"title":"RebateCodeType","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"RebateCodeType","type":"object"},"ServicePrice":{"title":"ServicePrice","properties":{"CurrencyId":{"type":"string"},"CurrencyInfo":{"$ref":"#/definitions/Currency"},"Service":{"$ref":"#/definitions/Service"},"PriceMappings":{"type":"array","items":{"$ref":"#/definitions/PriceMapping"}},"isTimeSpecific":{"type":"boolean","x-nullable":false},"isDaysOfWeekSpecific":{"type":"boolean","x-nullable":false},"DayOfWeeks":{"type":"array","items":{"$ref":"#/definitions/ServicePriceDayOfWeekRelation"}},"PriceBeforeRebate":{"type":"number","format":"double"},"RebateCodesApplied":{"type":"array","items":{"$ref":"#/definitions/RebateCode"}},"PriceText":{"type":"string"},"OverlappingPrices":{"type":"array","items":{"$ref":"#/definitions/ServicePrice"}},"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"ServiceId":{"type":"integer","format":"int32","x-nullable":false},"Price":{"type":"number","format":"double"},"Updated":{"type":"string","format":"date-time","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false},"FromTime":{"type":"string","x-nullable":false},"ToTime":{"type":"string","x-nullable":false},"VAT":{"type":"number","format":"double","x-nullable":false},"Category":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"From":{"type":"string","format":"date-time","x-nullable":false},"To":{"type":"string","format":"date-time","x-nullable":false},"CalculationTypeId":{"type":"integer","format":"int32","x-nullable":false}},"description":"ServicePrice","type":"object"},"Currency":{"title":"Currency","properties":{"Name":{"type":"string"},"CurrencySign":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"string"}},"description":"Currency","type":"object"},"PriceMapping":{"title":"PriceMapping","properties":{"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"string","x-nullable":false},"ServicePriceId":{"type":"integer","format":"int32","x-nullable":false},"ReferenceType":{"type":"string"},"ExternalReference":{"type":"string"},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"}},"description":"PriceMapping","type":"object"},"ServicePriceDayOfWeekRelation":{"title":"ServicePriceDayOfWeekRelation","properties":{"DayOfWeek":{"type":"string"},"CompanyId":{"type":"string","x-nullable":false},"ServicePriceId":{"type":"integer","format":"int32","x-nullable":false},"DayOfWeekId":{"type":"integer","format":"int32","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"ServicePriceDayOfWeekRelation","type":"object"},"RebateCode":{"title":"RebateCode","properties":{"RebateCodeTypeId":{"type":"integer","format":"int32","x-nullable":false},"RebateCodeTypeInfo":{"$ref":"#/definitions/RebateCodeType"},"RebateCodeStatusId":{"type":"integer","format":"int32","x-nullable":false},"RebateCodeStatusInfo":{"$ref":"#/definitions/RebateCodeStatus"},"RebateCodeDayOfWeekRelation":{"type":"array","items":{"$ref":"#/definitions/RebateCodeDayOfWeekRelation"}},"RebateCodeServiceRelation":{"type":"array","items":{"$ref":"#/definitions/RebateCodeServiceRelation"}},"RebateCodeBookingPriceRelation":{"type":"array","items":{"$ref":"#/definitions/RebateCodeBookingPriceRelation"}},"RebateCodeCustomerRelation":{"type":"array","items":{"$ref":"#/definitions/RebateCodeCustomerRelation"}},"DaysOfWeek":{"type":"array","items":{"$ref":"#/definitions/DaysOfWeek"}},"RebateCodeStatus":{"$ref":"#/definitions/RebateCodeStatus"},"RebateCodeType":{"$ref":"#/definitions/RebateCodeType"},"Transactions":{"type":"array","items":{"$ref":"#/definitions/RebateCodeTransaction"}},"RemainingAmount":{"type":"number","format":"double"},"RemainingUsage":{"type":"integer","format":"int32"},"CurrentNumberOfUsesPerCustomer":{"type":"integer","format":"int32","x-nullable":false},"IsSpecificByDayOfWeek":{"type":"boolean","x-nullable":false},"Active":{"type":"boolean","x-nullable":false},"ActiveByStatus":{"type":"boolean","x-nullable":false},"RebateCodeCurrencySign":{"type":"string"},"PaymentReceived":{"type":"boolean","x-nullable":false},"InternalReferenceId":{"type":"string"},"ValidFrom":{"type":"string","format":"date-time","x-nullable":false},"ValidTo":{"type":"string","format":"date-time","x-nullable":false},"RebateCodeSign":{"type":"string"},"RebateCodeValue":{"type":"integer","format":"int32","x-nullable":false},"MaxNumberOfUses":{"type":"integer","format":"int32","x-nullable":false},"MaxNumberOfUsesPerCustomer":{"type":"integer","format":"int32","x-nullable":false},"NumberOfUsesUsed":{"type":"integer","format":"int32","x-nullable":false},"PersonalNote":{"type":"string"},"CreatedBy":{"type":"string"},"UpdatedBy":{"type":"string"},"FromTime":{"type":"string","x-nullable":false},"ToTime":{"type":"string","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"Price":{"type":"number","format":"double"},"VAT":{"type":"number","format":"double"},"Id":{"type":"integer","format":"int32","x-nullable":false},"ArticleId":{"type":"integer","format":"int32"},"DbFactory":{"$ref":"#/definitions/IDbConnectionFactory"},"ArticlePaymentSettings":{"$ref":"#/definitions/ArticlePaymentSettings"},"QvicklyPaymentManager":{"$ref":"#/definitions/IBokameraPaymentManager_InitCheckoutRequestBody_QvicklyCustomCheckoutData_QvicklyCustomCheckoutData_"},"StripePaymentManager":{"$ref":"#/definitions/IBokameraPaymentManager_StripeCreateCheckoutQuery_StripeCustomCheckoutData_StripeCustomCheckoutData_"},"Logger":{"$ref":"#/definitions/ILogger_PayableEntity_"},"CacheProvider":{"$ref":"#/definitions/CacheDataProvider"},"ServicesNames":{"type":"string"},"PaymentLog":{"type":"array","items":{"$ref":"#/definitions/PaymentLog"}},"ArticleType":{"$ref":"#/definitions/ArticleType"},"CompanyId":{"type":"string","x-nullable":false},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"CurrencyId":{"type":"string"},"CurrencyInfo":{"$ref":"#/definitions/Currency"},"Customer":{"$ref":"#/definitions/Customer"},"Customers":{"type":"array","items":{"$ref":"#/definitions/Customer"}},"Company":{"$ref":"#/definitions/Company"},"Services":{"type":"array","items":{"$ref":"#/definitions/Service"}},"Article":{"$ref":"#/definitions/Article"},"InvoiceAddress":{"$ref":"#/definitions/ArticleInvoiceAddress"}},"description":"RebateCode","type":"object"},"RebateCodeStatus":{"title":"RebateCodeStatus","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"RebateCodeStatus","type":"object"},"RebateCodeDayOfWeekRelation":{"title":"RebateCodeDayOfWeekRelation","properties":{"DayOfWeek":{"type":"string"},"DayOfWeekId":{"type":"integer","format":"int32","x-nullable":false},"RebateCodeId":{"type":"integer","format":"int32","x-nullable":false},"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"}},"description":"RebateCodeDayOfWeekRelation","type":"object"},"RebateCodeServiceRelation":{"title":"RebateCodeServiceRelation","properties":{"CompanyId":{"type":"string","x-nullable":false},"ServiceId":{"type":"integer","format":"int32","x-nullable":false},"RebateCodeId":{"type":"integer","format":"int32","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"}},"description":"RebateCodeServiceRelation","type":"object"},"RebateCodeBookingPriceRelation":{"title":"RebateCodeBookingPriceRelation","properties":{"CompanyId":{"type":"string","x-nullable":false},"PriceId":{"type":"integer","format":"int32","x-nullable":false},"RebateCodeId":{"type":"integer","format":"int32","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"}},"description":"RebateCodeBookingPriceRelation","type":"object"},"RebateCodeCustomerRelation":{"title":"RebateCodeCustomerRelation","properties":{"CompanyId":{"type":"string","x-nullable":false},"CustomerId":{"type":"string","x-nullable":false},"RebateCodeId":{"type":"integer","format":"int32","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"RebateCodeEmailSentToCustomer":{"type":"boolean","x-nullable":false},"MessageToReceiver":{"type":"string"},"Buyer":{"type":"boolean","x-nullable":false}},"description":"RebateCodeCustomerRelation","type":"object"},"DaysOfWeek":{"title":"DaysOfWeek","properties":{"DayOfWeek":{"type":"string"},"DayOfWeekTranslation":{"type":"string"},"DayOfWeekActive":{"type":"boolean"},"DayOfWeekSortOrder":{"type":"integer","format":"int32"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"DaysOfWeek","type":"object"},"RebateCodeTransaction":{"title":"RebateCodeTransaction","properties":{"Booking":{"$ref":"#/definitions/Booking"},"RebateCode":{"$ref":"#/definitions/RebateCode"},"Customer":{"$ref":"#/definitions/Customer"},"Id":{"type":"integer","format":"int32","x-nullable":false},"CompanyId":{"type":"string","x-nullable":false},"Note":{"type":"string"},"RebateCodeId":{"type":"integer","format":"int32","x-nullable":false},"Amount":{"type":"number","format":"double","x-nullable":false},"Usage":{"type":"integer","format":"int32","x-nullable":false},"BookingId":{"type":"integer","format":"int32"},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false}},"description":"RebateCodeTransaction","type":"object"},"Booking":{"title":"Booking","properties":{"Service":{"$ref":"#/definitions/Service"},"Log":{"type":"array","items":{"$ref":"#/definitions/BookingLog"}},"CheckoutLogs":{"type":"array","items":{"$ref":"#/definitions/PaymentDetails"}},"Prices":{"type":"array","items":{"$ref":"#/definitions/BookingPrice"}},"Status":{"type":"string"},"IsReserved":{"type":"boolean","x-nullable":false},"StatusName":{"type":"string"},"BookingStatus":{"$ref":"#/definitions/BookingStatus"},"TotalPrice":{"type":"number","format":"double"},"TotalSpots":{"type":"integer","format":"int32"},"Resources":{"type":"array","items":{"$ref":"#/definitions/Resource"}},"ExternalReferences":{"type":"array","items":{"$ref":"#/definitions/ExternalReference"}},"BookedResources":{"type":"array","items":{"$ref":"#/definitions/BookedResourceType"}},"CustomFieldsConfig":{"type":"array","items":{"$ref":"#/definitions/CustomFieldConfig"}},"CustomFieldsData":{"type":"array","items":{"$ref":"#/definitions/CustomFieldDataResponse"}},"Tags":{"type":"array","items":{"$ref":"#/definitions/Tag"}},"DeterministicId":{"type":"string","x-nullable":false},"Active":{"type":"boolean","x-nullable":false},"LastTimeToUnBook":{"type":"string","format":"date-time"},"PriceMappings":{"type":"array","items":{"$ref":"#/definitions/PriceMapping"}},"InternalReferenceId":{"type":"string"},"Id":{"type":"integer","format":"int32","x-nullable":false},"CustomerId":{"type":"string","x-nullable":false},"ServiceId":{"type":"integer","format":"int32","x-nullable":false},"StatusId":{"type":"integer","format":"int32","x-nullable":false},"UnbookedOn":{"type":"string","format":"date-time"},"UnbookedComments":{"type":"string"},"BookedComments":{"type":"string"},"BookedBy":{"type":"string"},"UnBookedBy":{"type":"string"},"SendSmsReminder":{"type":"boolean","x-nullable":false},"SendEmailReminder":{"type":"boolean","x-nullable":false},"SendSmsConfirmation":{"type":"boolean","x-nullable":false},"RebateCode":{"type":"string"},"Comments":{"type":"string"},"IpAddress":{"type":"string"},"NumberOfBookedSpots":{"type":"integer","format":"int32","x-nullable":false},"CommentsToCustomer":{"type":"string"},"PaymentExpiration":{"type":"string","format":"date-time"},"SendEmailConfirmation":{"type":"boolean","x-nullable":false},"CancellationCode":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"RatingCode":{"type":"string"},"TextField1":{"type":"string"},"TextField2":{"type":"string"},"TextField3":{"type":"string"},"TextField4":{"type":"string"},"TextField5":{"type":"string"},"TextField6":{"type":"string"},"TextField7":{"type":"string"},"TextField8":{"type":"string"},"TextField9":{"type":"string"},"TextField10":{"type":"string"},"TextField11":{"type":"string"},"TextField12":{"type":"string"},"TextField13":{"type":"string"},"TextField14":{"type":"string"},"TextField15":{"type":"string"},"TextField16":{"type":"string"},"TextField17":{"type":"string"},"TextField18":{"type":"string"},"TextField19":{"type":"string"},"TextField20":{"type":"string"},"From":{"type":"string","format":"date-time","x-nullable":false},"To":{"type":"string","format":"date-time","x-nullable":false},"ArticleInvoiceAddressId":{"type":"string"},"GoogleMeetUrl":{"type":"string"},"DbFactory":{"$ref":"#/definitions/IDbConnectionFactory"},"ArticlePaymentSettings":{"$ref":"#/definitions/ArticlePaymentSettings"},"QvicklyPaymentManager":{"$ref":"#/definitions/IBokameraPaymentManager_InitCheckoutRequestBody_QvicklyCustomCheckoutData_QvicklyCustomCheckoutData_"},"StripePaymentManager":{"$ref":"#/definitions/IBokameraPaymentManager_StripeCreateCheckoutQuery_StripeCustomCheckoutData_StripeCustomCheckoutData_"},"Logger":{"$ref":"#/definitions/ILogger_PayableEntity_"},"CacheProvider":{"$ref":"#/definitions/CacheDataProvider"},"ServicesNames":{"type":"string"},"PaymentLog":{"type":"array","items":{"$ref":"#/definitions/PaymentLog"}},"ArticleType":{"$ref":"#/definitions/ArticleType"},"CompanyId":{"type":"string","x-nullable":false},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"CurrencyId":{"type":"string"},"CurrencyInfo":{"$ref":"#/definitions/Currency"},"Customer":{"$ref":"#/definitions/Customer"},"Customers":{"type":"array","items":{"$ref":"#/definitions/Customer"}},"Company":{"$ref":"#/definitions/Company"},"Services":{"type":"array","items":{"$ref":"#/definitions/Service"}},"Article":{"$ref":"#/definitions/Article"},"InvoiceAddress":{"$ref":"#/definitions/ArticleInvoiceAddress"}},"description":"Booking","type":"object"},"BookingLog":{"title":"BookingLog","properties":{"EventTypeId":{"type":"integer","format":"int32","x-nullable":false},"EventType":{"$ref":"#/definitions/BookingLogEventType"},"CompanyId":{"type":"string","x-nullable":false},"BookingId":{"type":"integer","format":"int32","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"Comments":{"type":"string"},"UserId":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"}},"description":"BookingLog","type":"object"},"BookingLogEventType":{"title":"BookingLogEventType","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"BookingLogEventType","type":"object"},"PaymentDetails":{"title":"PaymentDetails","properties":{"QvicklyCheckoutSerialized":{"$ref":"#/definitions/QvicklyCustomCheckoutData"},"StripeCheckoutSerialized":{"$ref":"#/definitions/StripeCustomCheckoutData"},"Id":{"type":"integer","format":"int32","x-nullable":false},"CompanyId":{"type":"string","x-nullable":false},"InternalReferenceId":{"type":"string"},"ArticleTypeId":{"type":"integer","format":"int32","x-nullable":false},"ExternalResponseData":{"type":"string"},"ExternalResponseReference":{"type":"string"},"PaymentProviderId":{"type":"integer","format":"int32","x-nullable":false},"TypeId":{"type":"integer","format":"int32","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"}},"description":"PaymentDetails","type":"object"},"QvicklyCustomCheckoutData":{"title":"QvicklyCustomCheckoutData","properties":{"QvicklyCheckoutResponse":{"$ref":"#/definitions/GetCheckoutResponse"},"InitCheckoutResponse":{"$ref":"#/definitions/InitCheckoutResponse"},"QvicklyPaymentResponse":{"$ref":"#/definitions/QvicklyPaymentResponse"}},"description":"QvicklyCustomCheckoutData","type":"object"},"GetCheckoutResponse":{"title":"GetCheckoutResponse","properties":{"credentials":{"$ref":"#/definitions/Credentials"},"GetCheckoutData":{"$ref":"#/definitions/GetCheckoutData"}},"description":"GetCheckoutResponse","type":"object"},"Credentials":{"title":"Credentials","properties":{"Hash":{"type":"string"},"Logid":{"type":"string"}},"description":"Credentials","type":"object"},"GetCheckoutData":{"title":"GetCheckoutData","properties":{"CheckoutData":{"$ref":"#/definitions/CheckoutData"},"PaymentData":{"$ref":"#/definitions/CheckoutPaymentData"},"Articles":{"type":"array","items":{"$ref":"#/definitions/QvicklyArticle"}}},"description":"GetCheckoutData","type":"object"},"CheckoutData":{"title":"CheckoutData","properties":{"terms":{"$ref":"#/definitions/Uri"},"privacyPolicy":{"$ref":"#/definitions/Uri"},"redirectOnSuccess":{"type":"string"}},"description":"CheckoutData","type":"object"},"CheckoutPaymentData":{"title":"CheckoutPaymentData","properties":{"currency":{"type":"string"},"language":{"type":"string"},"country":{"type":"string"},"autoactivate":{"type":"string"},"orderid":{"type":"string"},"returnmethod":{"type":"string"},"accepturl":{"type":"string"},"cancelurl":{"type":"string"},"callbackurl":{"$ref":"#/definitions/Uri"},"invoice":{"$ref":"#/definitions/CheckoutInvoice"}},"description":"CheckoutPaymentData","type":"object"},"CheckoutInvoice":{"title":"CheckoutInvoice","properties":{"number":{"type":"string"},"status":{"type":"string"}},"description":"CheckoutInvoice","type":"object"},"QvicklyArticle":{"title":"QvicklyArticle","properties":{"artnr":{"type":"string"},"title":{"type":"string"},"quantity":{"type":"integer","format":"int32","x-nullable":false},"aprice":{"type":"integer","format":"int32","x-nullable":false},"tax":{"type":"integer","format":"int32","x-nullable":false},"discount":{"type":"integer","format":"int32","x-nullable":false},"withouttax":{"type":"integer","format":"int32","x-nullable":false},"taxrate":{"type":"integer","format":"int32","x-nullable":false}},"description":"QvicklyArticle","type":"object"},"InitCheckoutResponse":{"title":"InitCheckoutResponse","properties":{"Number":{"type":"integer","format":"int32","x-nullable":false},"Status":{"type":"string"},"OrderId":{"type":"string"},"Url":{"type":"string"}},"description":"InitCheckoutResponse","type":"object"},"QvicklyPaymentResponse":{"title":"QvicklyPaymentResponse","properties":{"PaymentData":{"$ref":"#/definitions/QvikclyPaymentData"},"PaymentInfo":{"$ref":"#/definitions/PaymentInfo"},"Card":{"$ref":"#/definitions/Card"},"Settlement":{"$ref":"#/definitions/Settlement"},"QvicklyCustomer":{"$ref":"#/definitions/QvicklyCustomer"},"Articles":{"type":"array","items":{"$ref":"#/definitions/QvicklyArticle"}},"Cart":{"$ref":"#/definitions/Cart"}},"description":"QvicklyPaymentResponse","type":"object"},"QvikclyPaymentData":{"title":"QvikclyPaymentData","properties":{"method":{"type":"string"},"paymentplanid":{"type":"string"},"currency":{"type":"string"},"country":{"type":"string"},"language":{"type":"string"},"autoactivate":{"type":"string"},"orderid":{"type":"string"},"status":{"type":"string"},"paymentid_related":{"type":"string"},"url":{"type":"string"}},"description":"QvikclyPaymentData","type":"object"},"PaymentInfo":{"title":"PaymentInfo","properties":{"paymentdate":{"type":"string"},"paymentterms":{"type":"string"},"yourreference":{"type":"string"},"ourreference":{"type":"string"},"projectname":{"type":"string"},"deliverymethod":{"type":"string"},"deliveryterms":{"type":"string"}},"description":"PaymentInfo","type":"object"},"Card":{"title":"Card","properties":{"promptname":{"type":"string"},"recurring":{"type":"string"},"recurringnr":{"type":"string"},"accepturl":{"type":"string"},"cancelurl":{"type":"string"},"callbackurl":{"type":"string"},"returnmethod":{"type":"string"}},"description":"Card","type":"object"},"Settlement":{"title":"Settlement","properties":{"number":{"type":"integer","format":"int32","x-nullable":false},"date":{"type":"string"}},"description":"Settlement","type":"object"},"QvicklyCustomer":{"title":"QvicklyCustomer","properties":{"nr":{"type":"string"},"pno":{"type":"string"},"Billing":{"$ref":"#/definitions/CustomerBilling"}},"description":"QvicklyCustomer","type":"object"},"CustomerBilling":{"title":"CustomerBilling","properties":{"firstname":{"type":"string"},"lastname":{"type":"string"},"company":{"type":"string"},"street":{"type":"string"},"street2":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"phone":{"type":"string"},"email":{"type":"string"}},"description":"CustomerBilling","type":"object"},"Cart":{"title":"Cart","properties":{"Handling":{"$ref":"#/definitions/CartHandling"},"Total":{"$ref":"#/definitions/CartTotal"},"Shipping":{"$ref":"#/definitions/Shipping"}},"description":"Cart","type":"object"},"CartHandling":{"title":"CartHandling","properties":{"withouttax":{"type":"string"},"taxrate":{"type":"string"}},"description":"CartHandling","type":"object"},"CartTotal":{"title":"CartTotal","properties":{"rounding":{"type":"number","format":"double","x-nullable":false},"withouttax":{"type":"integer","format":"int32","x-nullable":false},"tax":{"type":"integer","format":"int32","x-nullable":false},"withtax":{"type":"integer","format":"int32","x-nullable":false}},"description":"CartTotal","type":"object"},"Shipping":{"title":"Shipping","properties":{"firstname":{"type":"string"},"lastname":{"type":"string"},"company":{"type":"string"},"street":{"type":"string"},"street2":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"phone":{"type":"string"},"withouttax":{"type":"string"},"taxrate":{"type":"string"}},"description":"Shipping","type":"object"},"StripeCustomCheckoutData":{"title":"StripeCustomCheckoutData","properties":{"CustomSessionData":{"$ref":"#/definitions/CustomSessionData"},"CustomPaymentIntentData":{"$ref":"#/definitions/CustomPaymentIntentData"}},"description":"StripeCustomCheckoutData","type":"object"},"CustomSessionData":{"title":"CustomSessionData","properties":{"Session":{"$ref":"#/definitions/Session"},"LineItems":{"type":"array","items":{"$ref":"#/definitions/LineItem"}},"PaymentIntent":{"$ref":"#/definitions/PaymentIntent"}},"description":"CustomSessionData","type":"object"},"Session":{"title":"Session","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"AdaptivePricing":{"$ref":"#/definitions/SessionAdaptivePricing"},"AfterExpiration":{"$ref":"#/definitions/SessionAfterExpiration"},"AllowPromotionCodes":{"type":"boolean"},"AmountSubtotal":{"type":"integer","format":"int64"},"AmountTotal":{"type":"integer","format":"int64"},"AutomaticTax":{"$ref":"#/definitions/SessionAutomaticTax"},"BillingAddressCollection":{"type":"string"},"CancelUrl":{"type":"string"},"ClientReferenceId":{"type":"string"},"ClientSecret":{"type":"string"},"CollectedInformation":{"$ref":"#/definitions/SessionCollectedInformation"},"Consent":{"$ref":"#/definitions/SessionConsent"},"ConsentCollection":{"$ref":"#/definitions/SessionConsentCollection"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Currency":{"type":"string"},"CurrencyConversion":{"$ref":"#/definitions/SessionCurrencyConversion"},"CustomFields":{"type":"array","items":{"$ref":"#/definitions/SessionCustomField"}},"CustomText":{"$ref":"#/definitions/SessionCustomText"},"CustomerId":{"type":"string"},"Customer":{"$ref":"#/definitions/Customer"},"CustomerCreation":{"type":"string"},"CustomerDetails":{"$ref":"#/definitions/SessionCustomerDetails"},"CustomerEmail":{"type":"string"},"Discounts":{"type":"array","items":{"$ref":"#/definitions/SessionDiscount"}},"ExpiresAt":{"type":"string","format":"date-time","x-nullable":false},"InvoiceId":{"type":"string"},"Invoice":{"$ref":"#/definitions/Invoice"},"InvoiceCreation":{"$ref":"#/definitions/SessionInvoiceCreation"},"LineItems":{"$ref":"#/definitions/StripeList_LineItem_"},"Livemode":{"type":"boolean","x-nullable":false},"Locale":{"type":"string"},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"Mode":{"type":"string"},"OptionalItems":{"type":"array","items":{"$ref":"#/definitions/SessionOptionalItem"}},"PaymentIntentId":{"type":"string"},"PaymentIntent":{"$ref":"#/definitions/PaymentIntent"},"PaymentLinkId":{"type":"string"},"PaymentLink":{"$ref":"#/definitions/PaymentLink"},"PaymentMethodCollection":{"type":"string"},"PaymentMethodConfigurationDetails":{"$ref":"#/definitions/SessionPaymentMethodConfigurationDetails"},"PaymentMethodOptions":{"$ref":"#/definitions/SessionPaymentMethodOptions"},"PaymentMethodTypes":{"type":"array","items":{"type":"string"}},"PaymentStatus":{"type":"string"},"Permissions":{"$ref":"#/definitions/SessionPermissions"},"PhoneNumberCollection":{"$ref":"#/definitions/SessionPhoneNumberCollection"},"PresentmentDetails":{"$ref":"#/definitions/SessionPresentmentDetails"},"RecoveredFrom":{"type":"string"},"RedirectOnCompletion":{"type":"string"},"ReturnUrl":{"type":"string"},"SavedPaymentMethodOptions":{"$ref":"#/definitions/SessionSavedPaymentMethodOptions"},"SetupIntentId":{"type":"string"},"SetupIntent":{"$ref":"#/definitions/SetupIntent"},"ShippingAddressCollection":{"$ref":"#/definitions/SessionShippingAddressCollection"},"ShippingCost":{"$ref":"#/definitions/SessionShippingCost"},"ShippingOptions":{"type":"array","items":{"$ref":"#/definitions/SessionShippingOption"}},"Status":{"type":"string"},"SubmitType":{"type":"string"},"SubscriptionId":{"type":"string"},"Subscription":{"$ref":"#/definitions/Subscription"},"SuccessUrl":{"type":"string"},"TaxIdCollection":{"$ref":"#/definitions/SessionTaxIdCollection"},"TotalDetails":{"$ref":"#/definitions/SessionTotalDetails"},"UiMode":{"type":"string"},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Session","type":"object"},"SessionAdaptivePricing":{"title":"SessionAdaptivePricing","properties":{"Enabled":{"type":"boolean","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionAdaptivePricing","type":"object"},"JObject":{"title":"JObject","properties":{"Type":{"type":"string"},"Item":{"$ref":"#/definitions/JToken"},"HasValues":{"type":"boolean","x-nullable":false},"First":{"$ref":"#/definitions/JToken"},"Last":{"$ref":"#/definitions/JToken"},"Count":{"type":"integer","format":"int32","x-nullable":false},"Parent":{"$ref":"#/definitions/JContainer"},"Root":{"$ref":"#/definitions/JToken"},"Next":{"$ref":"#/definitions/JToken"},"Previous":{"$ref":"#/definitions/JToken"},"Path":{"type":"string"}},"description":"JObject","type":"object"},"JToken":{"title":"JToken","properties":{"EqualityComparer":{"$ref":"#/definitions/JTokenEqualityComparer"},"Parent":{"$ref":"#/definitions/JContainer"},"Root":{"$ref":"#/definitions/JToken"},"Type":{"type":"string"},"HasValues":{"type":"boolean","x-nullable":false},"Next":{"$ref":"#/definitions/JToken"},"Previous":{"$ref":"#/definitions/JToken"},"Path":{"type":"string"},"Item":{"$ref":"#/definitions/JToken"},"First":{"$ref":"#/definitions/JToken"},"Last":{"$ref":"#/definitions/JToken"}},"description":"JToken","type":"object"},"JTokenEqualityComparer":{"title":"JTokenEqualityComparer","properties":{},"description":"JTokenEqualityComparer","type":"object"},"JContainer":{"title":"JContainer","properties":{"HasValues":{"type":"boolean","x-nullable":false},"First":{"$ref":"#/definitions/JToken"},"Last":{"$ref":"#/definitions/JToken"},"Count":{"type":"integer","format":"int32","x-nullable":false},"Parent":{"$ref":"#/definitions/JContainer"},"Root":{"$ref":"#/definitions/JToken"},"Type":{"type":"string"},"Next":{"$ref":"#/definitions/JToken"},"Previous":{"$ref":"#/definitions/JToken"},"Path":{"type":"string"},"Item":{"$ref":"#/definitions/JToken"}},"description":"JContainer","type":"object"},"StripeResponse":{"title":"StripeResponse","properties":{"Content":{"type":"string"},"StatusCode":{"type":"string"},"Headers":{"$ref":"#/definitions/HttpResponseHeaders"},"Date":{"type":"string","format":"date-time"},"IdempotencyKey":{"type":"string"},"RequestId":{"type":"string"}},"description":"StripeResponse","type":"object"},"HttpResponseHeaders":{"title":"HttpResponseHeaders","properties":{},"description":"HttpResponseHeaders","type":"object"},"SessionAfterExpiration":{"title":"SessionAfterExpiration","properties":{"Recovery":{"$ref":"#/definitions/SessionAfterExpirationRecovery"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionAfterExpiration","type":"object"},"SessionAfterExpirationRecovery":{"title":"SessionAfterExpirationRecovery","properties":{"AllowPromotionCodes":{"type":"boolean","x-nullable":false},"Enabled":{"type":"boolean","x-nullable":false},"ExpiresAt":{"type":"string","format":"date-time"},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionAfterExpirationRecovery","type":"object"},"SessionAutomaticTax":{"title":"SessionAutomaticTax","properties":{"Enabled":{"type":"boolean","x-nullable":false},"Liability":{"$ref":"#/definitions/SessionAutomaticTaxLiability"},"Status":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionAutomaticTax","type":"object"},"SessionAutomaticTaxLiability":{"title":"SessionAutomaticTaxLiability","properties":{"AccountId":{"type":"string"},"Account":{"$ref":"#/definitions/Account"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionAutomaticTaxLiability","type":"object"},"Account":{"title":"Account","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"BusinessProfile":{"$ref":"#/definitions/AccountBusinessProfile"},"BusinessType":{"type":"string"},"Capabilities":{"$ref":"#/definitions/AccountCapabilities"},"ChargesEnabled":{"type":"boolean","x-nullable":false},"Company":{"$ref":"#/definitions/AccountCompany"},"Controller":{"$ref":"#/definitions/AccountController"},"Country":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"DefaultCurrency":{"type":"string"},"Deleted":{"type":"boolean"},"DetailsSubmitted":{"type":"boolean","x-nullable":false},"Email":{"type":"string"},"ExternalAccounts":{"$ref":"#/definitions/StripeList_IExternalAccount_"},"FutureRequirements":{"$ref":"#/definitions/AccountFutureRequirements"},"Groups":{"$ref":"#/definitions/AccountGroups"},"Individual":{"$ref":"#/definitions/Person"},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"PayoutsEnabled":{"type":"boolean","x-nullable":false},"Requirements":{"$ref":"#/definitions/AccountRequirements"},"Settings":{"$ref":"#/definitions/AccountSettings"},"TosAcceptance":{"$ref":"#/definitions/AccountTosAcceptance"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Account","type":"object"},"AccountBusinessProfile":{"title":"AccountBusinessProfile","properties":{"AnnualRevenue":{"$ref":"#/definitions/AccountBusinessProfileAnnualRevenue"},"EstimatedWorkerCount":{"type":"integer","format":"int64"},"Mcc":{"type":"string"},"MonthlyEstimatedRevenue":{"$ref":"#/definitions/AccountBusinessProfileMonthlyEstimatedRevenue"},"Name":{"type":"string"},"ProductDescription":{"type":"string"},"SupportAddress":{"$ref":"#/definitions/Address"},"SupportEmail":{"type":"string"},"SupportPhone":{"type":"string"},"SupportUrl":{"type":"string"},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountBusinessProfile","type":"object"},"AccountBusinessProfileAnnualRevenue":{"title":"AccountBusinessProfileAnnualRevenue","properties":{"Amount":{"type":"integer","format":"int64"},"Currency":{"type":"string"},"FiscalYearEnd":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountBusinessProfileAnnualRevenue","type":"object"},"AccountBusinessProfileMonthlyEstimatedRevenue":{"title":"AccountBusinessProfileMonthlyEstimatedRevenue","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"Currency":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountBusinessProfileMonthlyEstimatedRevenue","type":"object"},"Address":{"title":"Address","properties":{"City":{"type":"string"},"Country":{"type":"string"},"Line1":{"type":"string"},"Line2":{"type":"string"},"PostalCode":{"type":"string"},"State":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Address","type":"object"},"AccountCapabilities":{"title":"AccountCapabilities","properties":{"AcssDebitPayments":{"type":"string"},"AffirmPayments":{"type":"string"},"AfterpayClearpayPayments":{"type":"string"},"AlmaPayments":{"type":"string"},"AmazonPayPayments":{"type":"string"},"AuBecsDebitPayments":{"type":"string"},"BacsDebitPayments":{"type":"string"},"BancontactPayments":{"type":"string"},"BankTransferPayments":{"type":"string"},"BilliePayments":{"type":"string"},"BlikPayments":{"type":"string"},"BoletoPayments":{"type":"string"},"CardIssuing":{"type":"string"},"CardPayments":{"type":"string"},"CartesBancairesPayments":{"type":"string"},"CashappPayments":{"type":"string"},"EpsPayments":{"type":"string"},"FpxPayments":{"type":"string"},"GbBankTransferPayments":{"type":"string"},"GiropayPayments":{"type":"string"},"GrabpayPayments":{"type":"string"},"IdealPayments":{"type":"string"},"IndiaInternationalPayments":{"type":"string"},"JcbPayments":{"type":"string"},"JpBankTransferPayments":{"type":"string"},"KakaoPayPayments":{"type":"string"},"KlarnaPayments":{"type":"string"},"KonbiniPayments":{"type":"string"},"KrCardPayments":{"type":"string"},"LegacyPayments":{"type":"string"},"LinkPayments":{"type":"string"},"MobilepayPayments":{"type":"string"},"MultibancoPayments":{"type":"string"},"MxBankTransferPayments":{"type":"string"},"NaverPayPayments":{"type":"string"},"NzBankAccountBecsDebitPayments":{"type":"string"},"OxxoPayments":{"type":"string"},"P24Payments":{"type":"string"},"PayByBankPayments":{"type":"string"},"PaycoPayments":{"type":"string"},"PaynowPayments":{"type":"string"},"PromptpayPayments":{"type":"string"},"RevolutPayPayments":{"type":"string"},"SamsungPayPayments":{"type":"string"},"SatispayPayments":{"type":"string"},"SepaBankTransferPayments":{"type":"string"},"SepaDebitPayments":{"type":"string"},"SofortPayments":{"type":"string"},"SwishPayments":{"type":"string"},"TaxReportingUs1099K":{"type":"string"},"TaxReportingUs1099Misc":{"type":"string"},"Transfers":{"type":"string"},"Treasury":{"type":"string"},"TwintPayments":{"type":"string"},"UsBankAccountAchPayments":{"type":"string"},"UsBankTransferPayments":{"type":"string"},"ZipPayments":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountCapabilities","type":"object"},"AccountCompany":{"title":"AccountCompany","properties":{"Address":{"$ref":"#/definitions/Address"},"AddressKana":{"$ref":"#/definitions/AddressJapan"},"AddressKanji":{"$ref":"#/definitions/AddressJapan"},"DirectorsProvided":{"type":"boolean","x-nullable":false},"DirectorshipDeclaration":{"$ref":"#/definitions/AccountCompanyDirectorshipDeclaration"},"ExecutivesProvided":{"type":"boolean","x-nullable":false},"ExportLicenseId":{"type":"string"},"ExportPurposeCode":{"type":"string"},"Name":{"type":"string"},"NameKana":{"type":"string"},"NameKanji":{"type":"string"},"OwnersProvided":{"type":"boolean","x-nullable":false},"OwnershipDeclaration":{"$ref":"#/definitions/AccountCompanyOwnershipDeclaration"},"OwnershipExemptionReason":{"type":"string"},"Phone":{"type":"string"},"Structure":{"type":"string"},"TaxIdProvided":{"type":"boolean","x-nullable":false},"TaxIdRegistrar":{"type":"string"},"VatIdProvided":{"type":"boolean","x-nullable":false},"Verification":{"$ref":"#/definitions/AccountCompanyVerification"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountCompany","type":"object"},"AddressJapan":{"title":"AddressJapan","properties":{"Town":{"type":"string"},"City":{"type":"string"},"Country":{"type":"string"},"Line1":{"type":"string"},"Line2":{"type":"string"},"PostalCode":{"type":"string"},"State":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AddressJapan","type":"object"},"AccountCompanyDirectorshipDeclaration":{"title":"AccountCompanyDirectorshipDeclaration","properties":{"Date":{"type":"string","format":"date-time"},"Ip":{"type":"string"},"UserAgent":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountCompanyDirectorshipDeclaration","type":"object"},"AccountCompanyOwnershipDeclaration":{"title":"AccountCompanyOwnershipDeclaration","properties":{"Date":{"type":"string","format":"date-time"},"Ip":{"type":"string"},"UserAgent":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountCompanyOwnershipDeclaration","type":"object"},"AccountCompanyVerification":{"title":"AccountCompanyVerification","properties":{"Document":{"$ref":"#/definitions/AccountCompanyVerificationDocument"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountCompanyVerification","type":"object"},"AccountCompanyVerificationDocument":{"title":"AccountCompanyVerificationDocument","properties":{"BackId":{"type":"string"},"Back":{"$ref":"#/definitions/File"},"Details":{"type":"string"},"DetailsCode":{"type":"string"},"FrontId":{"type":"string"},"Front":{"$ref":"#/definitions/File"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountCompanyVerificationDocument","type":"object"},"File":{"title":"File","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"ExpiresAt":{"type":"string","format":"date-time"},"Filename":{"type":"string"},"Links":{"$ref":"#/definitions/StripeList_FileLink_"},"Purpose":{"type":"string"},"Size":{"type":"integer","format":"int64","x-nullable":false},"Title":{"type":"string"},"Type":{"type":"string"},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"File","type":"object"},"StripeList_FileLink_":{"title":"StripeList\u00601","properties":{"Object":{"type":"string"},"Data":{"type":"array","items":{"$ref":"#/definitions/FileLink"}},"HasMore":{"type":"boolean","x-nullable":false},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"StripeList\u003CFileLink\u003E","type":"object"},"FileLink":{"title":"FileLink","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Expired":{"type":"boolean","x-nullable":false},"ExpiresAt":{"type":"string","format":"date-time"},"FileId":{"type":"string"},"File":{"$ref":"#/definitions/File"},"Livemode":{"type":"boolean","x-nullable":false},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"FileLink","type":"object"},"AccountController":{"title":"AccountController","properties":{"Fees":{"$ref":"#/definitions/AccountControllerFees"},"IsController":{"type":"boolean","x-nullable":false},"Losses":{"$ref":"#/definitions/AccountControllerLosses"},"RequirementCollection":{"type":"string"},"StripeDashboard":{"$ref":"#/definitions/AccountControllerStripeDashboard"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountController","type":"object"},"AccountControllerFees":{"title":"AccountControllerFees","properties":{"Payer":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountControllerFees","type":"object"},"AccountControllerLosses":{"title":"AccountControllerLosses","properties":{"Payments":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountControllerLosses","type":"object"},"AccountControllerStripeDashboard":{"title":"AccountControllerStripeDashboard","properties":{"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountControllerStripeDashboard","type":"object"},"StripeList_IExternalAccount_":{"title":"StripeList\u00601","properties":{"Object":{"type":"string"},"Data":{"type":"array","items":{"$ref":"#/definitions/IExternalAccount"}},"HasMore":{"type":"boolean","x-nullable":false},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"StripeList\u003CIExternalAccount\u003E","type":"object"},"IExternalAccount":{"title":"IExternalAccount","properties":{},"description":"IExternalAccount","type":"object"},"AccountFutureRequirements":{"title":"AccountFutureRequirements","properties":{"Alternatives":{"type":"array","items":{"$ref":"#/definitions/AccountFutureRequirementsAlternative"}},"CurrentDeadline":{"type":"string","format":"date-time"},"CurrentlyDue":{"type":"array","items":{"type":"string"}},"DisabledReason":{"type":"string"},"Errors":{"type":"array","items":{"$ref":"#/definitions/AccountFutureRequirementsError"}},"EventuallyDue":{"type":"array","items":{"type":"string"}},"PastDue":{"type":"array","items":{"type":"string"}},"PendingVerification":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountFutureRequirements","type":"object"},"AccountFutureRequirementsAlternative":{"title":"AccountFutureRequirementsAlternative","properties":{"AlternativeFieldsDue":{"type":"array","items":{"type":"string"}},"OriginalFieldsDue":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountFutureRequirementsAlternative","type":"object"},"AccountFutureRequirementsError":{"title":"AccountFutureRequirementsError","properties":{"Code":{"type":"string"},"Reason":{"type":"string"},"Requirement":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountFutureRequirementsError","type":"object"},"AccountGroups":{"title":"AccountGroups","properties":{"PaymentsPricing":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountGroups","type":"object"},"Person":{"title":"Person","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Account":{"type":"string"},"AdditionalTosAcceptances":{"$ref":"#/definitions/PersonAdditionalTosAcceptances"},"Address":{"$ref":"#/definitions/Address"},"AddressKana":{"$ref":"#/definitions/AddressJapan"},"AddressKanji":{"$ref":"#/definitions/AddressJapan"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Deleted":{"type":"boolean"},"Dob":{"$ref":"#/definitions/Dob"},"Email":{"type":"string"},"FirstName":{"type":"string"},"FirstNameKana":{"type":"string"},"FirstNameKanji":{"type":"string"},"FullNameAliases":{"type":"array","items":{"type":"string"}},"FutureRequirements":{"$ref":"#/definitions/PersonFutureRequirements"},"Gender":{"type":"string"},"IdNumberProvided":{"type":"boolean","x-nullable":false},"IdNumberSecondaryProvided":{"type":"boolean","x-nullable":false},"LastName":{"type":"string"},"LastNameKana":{"type":"string"},"LastNameKanji":{"type":"string"},"MaidenName":{"type":"string"},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"Nationality":{"type":"string"},"Phone":{"type":"string"},"PoliticalExposure":{"type":"string"},"RegisteredAddress":{"$ref":"#/definitions/Address"},"Relationship":{"$ref":"#/definitions/PersonRelationship"},"Requirements":{"$ref":"#/definitions/PersonRequirements"},"SsnLast4Provided":{"type":"boolean","x-nullable":false},"Verification":{"$ref":"#/definitions/PersonVerification"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Person","type":"object"},"PersonAdditionalTosAcceptances":{"title":"PersonAdditionalTosAcceptances","properties":{"Account":{"$ref":"#/definitions/PersonAdditionalTosAcceptancesAccount"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PersonAdditionalTosAcceptances","type":"object"},"PersonAdditionalTosAcceptancesAccount":{"title":"PersonAdditionalTosAcceptancesAccount","properties":{"Date":{"type":"string","format":"date-time"},"Ip":{"type":"string"},"UserAgent":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PersonAdditionalTosAcceptancesAccount","type":"object"},"Dob":{"title":"Dob","properties":{"Day":{"type":"integer","format":"int64"},"Month":{"type":"integer","format":"int64"},"Year":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Dob","type":"object"},"PersonFutureRequirements":{"title":"PersonFutureRequirements","properties":{"Alternatives":{"type":"array","items":{"$ref":"#/definitions/PersonFutureRequirementsAlternative"}},"CurrentlyDue":{"type":"array","items":{"type":"string"}},"Errors":{"type":"array","items":{"$ref":"#/definitions/PersonFutureRequirementsError"}},"EventuallyDue":{"type":"array","items":{"type":"string"}},"PastDue":{"type":"array","items":{"type":"string"}},"PendingVerification":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PersonFutureRequirements","type":"object"},"PersonFutureRequirementsAlternative":{"title":"PersonFutureRequirementsAlternative","properties":{"AlternativeFieldsDue":{"type":"array","items":{"type":"string"}},"OriginalFieldsDue":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PersonFutureRequirementsAlternative","type":"object"},"PersonFutureRequirementsError":{"title":"PersonFutureRequirementsError","properties":{"Code":{"type":"string"},"Reason":{"type":"string"},"Requirement":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PersonFutureRequirementsError","type":"object"},"PersonRelationship":{"title":"PersonRelationship","properties":{"Authorizer":{"type":"boolean"},"Director":{"type":"boolean"},"Executive":{"type":"boolean"},"LegalGuardian":{"type":"boolean"},"Owner":{"type":"boolean"},"PercentOwnership":{"type":"number","format":"double"},"Representative":{"type":"boolean"},"Title":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PersonRelationship","type":"object"},"PersonRequirements":{"title":"PersonRequirements","properties":{"Alternatives":{"type":"array","items":{"$ref":"#/definitions/PersonRequirementsAlternative"}},"CurrentlyDue":{"type":"array","items":{"type":"string"}},"Errors":{"type":"array","items":{"$ref":"#/definitions/PersonRequirementsError"}},"EventuallyDue":{"type":"array","items":{"type":"string"}},"PastDue":{"type":"array","items":{"type":"string"}},"PendingVerification":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PersonRequirements","type":"object"},"PersonRequirementsAlternative":{"title":"PersonRequirementsAlternative","properties":{"AlternativeFieldsDue":{"type":"array","items":{"type":"string"}},"OriginalFieldsDue":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PersonRequirementsAlternative","type":"object"},"PersonRequirementsError":{"title":"PersonRequirementsError","properties":{"Code":{"type":"string"},"Reason":{"type":"string"},"Requirement":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PersonRequirementsError","type":"object"},"PersonVerification":{"title":"PersonVerification","properties":{"AdditionalDocument":{"$ref":"#/definitions/PersonVerificationAdditionalDocument"},"Details":{"type":"string"},"DetailsCode":{"type":"string"},"Document":{"$ref":"#/definitions/PersonVerificationDocument"},"Status":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PersonVerification","type":"object"},"PersonVerificationAdditionalDocument":{"title":"PersonVerificationAdditionalDocument","properties":{"BackId":{"type":"string"},"Back":{"$ref":"#/definitions/File"},"Details":{"type":"string"},"DetailsCode":{"type":"string"},"FrontId":{"type":"string"},"Front":{"$ref":"#/definitions/File"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PersonVerificationAdditionalDocument","type":"object"},"PersonVerificationDocument":{"title":"PersonVerificationDocument","properties":{"BackId":{"type":"string"},"Back":{"$ref":"#/definitions/File"},"Details":{"type":"string"},"DetailsCode":{"type":"string"},"FrontId":{"type":"string"},"Front":{"$ref":"#/definitions/File"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PersonVerificationDocument","type":"object"},"AccountRequirements":{"title":"AccountRequirements","properties":{"Alternatives":{"type":"array","items":{"$ref":"#/definitions/AccountRequirementsAlternative"}},"CurrentDeadline":{"type":"string","format":"date-time"},"CurrentlyDue":{"type":"array","items":{"type":"string"}},"DisabledReason":{"type":"string"},"Errors":{"type":"array","items":{"$ref":"#/definitions/AccountRequirementsError"}},"EventuallyDue":{"type":"array","items":{"type":"string"}},"PastDue":{"type":"array","items":{"type":"string"}},"PendingVerification":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountRequirements","type":"object"},"AccountRequirementsAlternative":{"title":"AccountRequirementsAlternative","properties":{"AlternativeFieldsDue":{"type":"array","items":{"type":"string"}},"OriginalFieldsDue":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountRequirementsAlternative","type":"object"},"AccountRequirementsError":{"title":"AccountRequirementsError","properties":{"Code":{"type":"string"},"Reason":{"type":"string"},"Requirement":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountRequirementsError","type":"object"},"AccountSettings":{"title":"AccountSettings","properties":{"BacsDebitPayments":{"$ref":"#/definitions/AccountSettingsBacsDebitPayments"},"Branding":{"$ref":"#/definitions/AccountSettingsBranding"},"CardIssuing":{"$ref":"#/definitions/AccountSettingsCardIssuing"},"CardPayments":{"$ref":"#/definitions/AccountSettingsCardPayments"},"Dashboard":{"$ref":"#/definitions/AccountSettingsDashboard"},"Invoices":{"$ref":"#/definitions/AccountSettingsInvoices"},"Payments":{"$ref":"#/definitions/AccountSettingsPayments"},"Payouts":{"$ref":"#/definitions/AccountSettingsPayouts"},"SepaDebitPayments":{"$ref":"#/definitions/AccountSettingsSepaDebitPayments"},"Treasury":{"$ref":"#/definitions/AccountSettingsTreasury"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountSettings","type":"object"},"AccountSettingsBacsDebitPayments":{"title":"AccountSettingsBacsDebitPayments","properties":{"DisplayName":{"type":"string"},"ServiceUserNumber":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountSettingsBacsDebitPayments","type":"object"},"AccountSettingsBranding":{"title":"AccountSettingsBranding","properties":{"IconId":{"type":"string"},"Icon":{"$ref":"#/definitions/File"},"LogoId":{"type":"string"},"Logo":{"$ref":"#/definitions/File"},"PrimaryColor":{"type":"string"},"SecondaryColor":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountSettingsBranding","type":"object"},"AccountSettingsCardIssuing":{"title":"AccountSettingsCardIssuing","properties":{"TosAcceptance":{"$ref":"#/definitions/AccountSettingsCardIssuingTosAcceptance"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountSettingsCardIssuing","type":"object"},"AccountSettingsCardIssuingTosAcceptance":{"title":"AccountSettingsCardIssuingTosAcceptance","properties":{"Date":{"type":"string","format":"date-time"},"Ip":{"type":"string"},"UserAgent":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountSettingsCardIssuingTosAcceptance","type":"object"},"AccountSettingsCardPayments":{"title":"AccountSettingsCardPayments","properties":{"DeclineOn":{"$ref":"#/definitions/AccountSettingsDeclineOn"},"StatementDescriptorPrefix":{"type":"string"},"StatementDescriptorPrefixKana":{"type":"string"},"StatementDescriptorPrefixKanji":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountSettingsCardPayments","type":"object"},"AccountSettingsDeclineOn":{"title":"AccountSettingsDeclineOn","properties":{"AvsFailure":{"type":"boolean","x-nullable":false},"CvcFailure":{"type":"boolean","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountSettingsDeclineOn","type":"object"},"AccountSettingsDashboard":{"title":"AccountSettingsDashboard","properties":{"DisplayName":{"type":"string"},"Timezone":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountSettingsDashboard","type":"object"},"AccountSettingsInvoices":{"title":"AccountSettingsInvoices","properties":{"DefaultAccountTaxIdIds":{"type":"array","items":{"type":"string"}},"DefaultAccountTaxIds":{"type":"array","items":{"$ref":"#/definitions/TaxId"}},"HostedPaymentMethodSave":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountSettingsInvoices","type":"object"},"TaxId":{"title":"TaxId","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Country":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"CustomerId":{"type":"string"},"Customer":{"$ref":"#/definitions/Customer"},"Deleted":{"type":"boolean"},"Livemode":{"type":"boolean","x-nullable":false},"Owner":{"$ref":"#/definitions/TaxIdOwner"},"Type":{"type":"string"},"Value":{"type":"string"},"Verification":{"$ref":"#/definitions/TaxIdVerification"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"TaxId","type":"object"},"Customer":{"title":"Customer","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Address":{"$ref":"#/definitions/Address"},"Balance":{"type":"integer","format":"int64","x-nullable":false},"CashBalance":{"$ref":"#/definitions/CashBalance"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Currency":{"type":"string"},"DefaultSourceId":{"type":"string"},"DefaultSource":{"$ref":"#/definitions/IPaymentSource"},"Deleted":{"type":"boolean"},"Delinquent":{"type":"boolean"},"Description":{"type":"string"},"Discount":{"$ref":"#/definitions/Discount"},"Email":{"type":"string"},"InvoiceCreditBalance":{"$ref":"#/definitions/Dictionary_String_Int64_"},"InvoicePrefix":{"type":"string"},"InvoiceSettings":{"$ref":"#/definitions/CustomerInvoiceSettings"},"Livemode":{"type":"boolean","x-nullable":false},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"Name":{"type":"string"},"NextInvoiceSequence":{"type":"integer","format":"int64","x-nullable":false},"Phone":{"type":"string"},"PreferredLocales":{"type":"array","items":{"type":"string"}},"Shipping":{"$ref":"#/definitions/Shipping"},"Sources":{"$ref":"#/definitions/StripeList_IPaymentSource_"},"Subscriptions":{"$ref":"#/definitions/StripeList_Subscription_"},"Tax":{"$ref":"#/definitions/CustomerTax"},"TaxExempt":{"type":"string"},"TaxIds":{"$ref":"#/definitions/StripeList_TaxId_"},"TestClockId":{"type":"string"},"TestClock":{"$ref":"#/definitions/TestClock"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Customer","type":"object"},"CashBalance":{"title":"CashBalance","properties":{"Object":{"type":"string"},"Available":{"$ref":"#/definitions/Dictionary_String_Int64_"},"Customer":{"type":"string"},"Livemode":{"type":"boolean","x-nullable":false},"Settings":{"$ref":"#/definitions/CashBalanceSettings"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CashBalance","type":"object"},"Dictionary_String_Int64_":{"title":"Dictionary\u003CString,Int64\u003E","additionalProperties":{"type":"integer","format":"int64","x-nullable":false},"description":"Dictionary\u003CString,Int64\u003E","type":"object"},"CashBalanceSettings":{"title":"CashBalanceSettings","properties":{"ReconciliationMode":{"type":"string"},"UsingMerchantDefault":{"type":"boolean","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CashBalanceSettings","type":"object"},"IPaymentSource":{"title":"IPaymentSource","properties":{},"description":"IPaymentSource","type":"object"},"Discount":{"title":"Discount","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"CheckoutSession":{"type":"string"},"Coupon":{"$ref":"#/definitions/Coupon"},"CustomerId":{"type":"string"},"Customer":{"$ref":"#/definitions/Customer"},"Deleted":{"type":"boolean"},"End":{"type":"string","format":"date-time"},"Invoice":{"type":"string"},"InvoiceItem":{"type":"string"},"PromotionCodeId":{"type":"string"},"PromotionCode":{"$ref":"#/definitions/PromotionCode"},"Start":{"type":"string","format":"date-time","x-nullable":false},"Subscription":{"type":"string"},"SubscriptionItem":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Discount","type":"object"},"Coupon":{"title":"Coupon","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"AmountOff":{"type":"integer","format":"int64"},"AppliesTo":{"$ref":"#/definitions/CouponAppliesTo"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Currency":{"type":"string"},"CurrencyOptions":{"$ref":"#/definitions/Dictionary_String_CouponCurrencyOptions_"},"Deleted":{"type":"boolean"},"Duration":{"type":"string"},"DurationInMonths":{"type":"integer","format":"int64"},"Livemode":{"type":"boolean","x-nullable":false},"MaxRedemptions":{"type":"integer","format":"int64"},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"Name":{"type":"string"},"PercentOff":{"type":"number","format":"double"},"RedeemBy":{"type":"string","format":"date-time"},"TimesRedeemed":{"type":"integer","format":"int64","x-nullable":false},"Valid":{"type":"boolean","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Coupon","type":"object"},"CouponAppliesTo":{"title":"CouponAppliesTo","properties":{"Products":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CouponAppliesTo","type":"object"},"CouponCurrencyOptions":{"title":"CouponCurrencyOptions","properties":{"AmountOff":{"type":"integer","format":"int64","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CouponCurrencyOptions","type":"object"},"Dictionary_String_CouponCurrencyOptions_":{"title":"Dictionary\u003CString,CouponCurrencyOptions\u003E","additionalProperties":{"$ref":"#/definitions/CouponCurrencyOptions"},"description":"Dictionary\u003CString,CouponCurrencyOptions\u003E","type":"object"},"PromotionCode":{"title":"PromotionCode","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"Code":{"type":"string"},"Coupon":{"$ref":"#/definitions/Coupon"},"Created":{"type":"string","format":"date-time","x-nullable":false},"CustomerId":{"type":"string"},"Customer":{"$ref":"#/definitions/Customer"},"ExpiresAt":{"type":"string","format":"date-time"},"Livemode":{"type":"boolean","x-nullable":false},"MaxRedemptions":{"type":"integer","format":"int64"},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"Restrictions":{"$ref":"#/definitions/PromotionCodeRestrictions"},"TimesRedeemed":{"type":"integer","format":"int64","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PromotionCode","type":"object"},"PromotionCodeRestrictions":{"title":"PromotionCodeRestrictions","properties":{"CurrencyOptions":{"$ref":"#/definitions/Dictionary_String_PromotionCodeRestrictionsCurrencyOptions_"},"FirstTimeTransaction":{"type":"boolean","x-nullable":false},"MinimumAmount":{"type":"integer","format":"int64"},"MinimumAmountCurrency":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PromotionCodeRestrictions","type":"object"},"PromotionCodeRestrictionsCurrencyOptions":{"title":"PromotionCodeRestrictionsCurrencyOptions","properties":{"MinimumAmount":{"type":"integer","format":"int64","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PromotionCodeRestrictionsCurrencyOptions","type":"object"},"Dictionary_String_PromotionCodeRestrictionsCurrencyOptions_":{"title":"Dictionary\u003CString,PromotionCodeRestrictionsCurrencyOptions\u003E","additionalProperties":{"$ref":"#/definitions/PromotionCodeRestrictionsCurrencyOptions"},"description":"Dictionary\u003CString,PromotionCodeRestrictionsCurrencyOptions\u003E","type":"object"},"CustomerInvoiceSettings":{"title":"CustomerInvoiceSettings","properties":{"CustomFields":{"type":"array","items":{"$ref":"#/definitions/CustomerInvoiceSettingsCustomField"}},"DefaultPaymentMethodId":{"type":"string"},"DefaultPaymentMethod":{"$ref":"#/definitions/PaymentMethod"},"Footer":{"type":"string"},"RenderingOptions":{"$ref":"#/definitions/CustomerInvoiceSettingsRenderingOptions"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CustomerInvoiceSettings","type":"object"},"CustomerInvoiceSettingsCustomField":{"title":"CustomerInvoiceSettingsCustomField","properties":{"Name":{"type":"string"},"Value":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CustomerInvoiceSettingsCustomField","type":"object"},"PaymentMethod":{"title":"PaymentMethod","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"AcssDebit":{"$ref":"#/definitions/PaymentMethodAcssDebit"},"Affirm":{"$ref":"#/definitions/PaymentMethodAffirm"},"AfterpayClearpay":{"$ref":"#/definitions/PaymentMethodAfterpayClearpay"},"Alipay":{"$ref":"#/definitions/PaymentMethodAlipay"},"AllowRedisplay":{"type":"string"},"Alma":{"$ref":"#/definitions/PaymentMethodAlma"},"AmazonPay":{"$ref":"#/definitions/PaymentMethodAmazonPay"},"AuBecsDebit":{"$ref":"#/definitions/PaymentMethodAuBecsDebit"},"BacsDebit":{"$ref":"#/definitions/PaymentMethodBacsDebit"},"Bancontact":{"$ref":"#/definitions/PaymentMethodBancontact"},"Billie":{"$ref":"#/definitions/PaymentMethodBillie"},"BillingDetails":{"$ref":"#/definitions/PaymentMethodBillingDetails"},"Blik":{"$ref":"#/definitions/PaymentMethodBlik"},"Boleto":{"$ref":"#/definitions/PaymentMethodBoleto"},"Card":{"$ref":"#/definitions/PaymentMethodCard"},"CardPresent":{"$ref":"#/definitions/PaymentMethodCardPresent"},"Cashapp":{"$ref":"#/definitions/PaymentMethodCashapp"},"Created":{"type":"string","format":"date-time","x-nullable":false},"CustomerId":{"type":"string"},"Customer":{"$ref":"#/definitions/Customer"},"CustomerBalance":{"$ref":"#/definitions/PaymentMethodCustomerBalance"},"Eps":{"$ref":"#/definitions/PaymentMethodEps"},"Fpx":{"$ref":"#/definitions/PaymentMethodFpx"},"Giropay":{"$ref":"#/definitions/PaymentMethodGiropay"},"Grabpay":{"$ref":"#/definitions/PaymentMethodGrabpay"},"Ideal":{"$ref":"#/definitions/PaymentMethodIdeal"},"InteracPresent":{"$ref":"#/definitions/PaymentMethodInteracPresent"},"KakaoPay":{"$ref":"#/definitions/PaymentMethodKakaoPay"},"Klarna":{"$ref":"#/definitions/PaymentMethodKlarna"},"Konbini":{"$ref":"#/definitions/PaymentMethodKonbini"},"KrCard":{"$ref":"#/definitions/PaymentMethodKrCard"},"Link":{"$ref":"#/definitions/PaymentMethodLink"},"Livemode":{"type":"boolean","x-nullable":false},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"Mobilepay":{"$ref":"#/definitions/PaymentMethodMobilepay"},"Multibanco":{"$ref":"#/definitions/PaymentMethodMultibanco"},"NaverPay":{"$ref":"#/definitions/PaymentMethodNaverPay"},"NzBankAccount":{"$ref":"#/definitions/PaymentMethodNzBankAccount"},"Oxxo":{"$ref":"#/definitions/PaymentMethodOxxo"},"P24":{"$ref":"#/definitions/PaymentMethodP24"},"PayByBank":{"$ref":"#/definitions/PaymentMethodPayByBank"},"Payco":{"$ref":"#/definitions/PaymentMethodPayco"},"Paynow":{"$ref":"#/definitions/PaymentMethodPaynow"},"Paypal":{"$ref":"#/definitions/PaymentMethodPaypal"},"Pix":{"$ref":"#/definitions/PaymentMethodPix"},"Promptpay":{"$ref":"#/definitions/PaymentMethodPromptpay"},"RadarOptions":{"$ref":"#/definitions/PaymentMethodRadarOptions"},"RevolutPay":{"$ref":"#/definitions/PaymentMethodRevolutPay"},"SamsungPay":{"$ref":"#/definitions/PaymentMethodSamsungPay"},"Satispay":{"$ref":"#/definitions/PaymentMethodSatispay"},"SepaDebit":{"$ref":"#/definitions/PaymentMethodSepaDebit"},"Sofort":{"$ref":"#/definitions/PaymentMethodSofort"},"Swish":{"$ref":"#/definitions/PaymentMethodSwish"},"Twint":{"$ref":"#/definitions/PaymentMethodTwint"},"Type":{"type":"string"},"UsBankAccount":{"$ref":"#/definitions/PaymentMethodUsBankAccount"},"WechatPay":{"$ref":"#/definitions/PaymentMethodWechatPay"},"Zip":{"$ref":"#/definitions/PaymentMethodZip"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethod","type":"object"},"PaymentMethodAcssDebit":{"title":"PaymentMethodAcssDebit","properties":{"BankName":{"type":"string"},"Fingerprint":{"type":"string"},"InstitutionNumber":{"type":"string"},"Last4":{"type":"string"},"TransitNumber":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodAcssDebit","type":"object"},"PaymentMethodAffirm":{"title":"PaymentMethodAffirm","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodAffirm","type":"object"},"PaymentMethodAfterpayClearpay":{"title":"PaymentMethodAfterpayClearpay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodAfterpayClearpay","type":"object"},"PaymentMethodAlipay":{"title":"PaymentMethodAlipay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodAlipay","type":"object"},"PaymentMethodAlma":{"title":"PaymentMethodAlma","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodAlma","type":"object"},"PaymentMethodAmazonPay":{"title":"PaymentMethodAmazonPay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodAmazonPay","type":"object"},"PaymentMethodAuBecsDebit":{"title":"PaymentMethodAuBecsDebit","properties":{"BsbNumber":{"type":"string"},"Fingerprint":{"type":"string"},"Last4":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodAuBecsDebit","type":"object"},"PaymentMethodBacsDebit":{"title":"PaymentMethodBacsDebit","properties":{"Fingerprint":{"type":"string"},"Last4":{"type":"string"},"SortCode":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodBacsDebit","type":"object"},"PaymentMethodBancontact":{"title":"PaymentMethodBancontact","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodBancontact","type":"object"},"PaymentMethodBillie":{"title":"PaymentMethodBillie","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodBillie","type":"object"},"PaymentMethodBillingDetails":{"title":"PaymentMethodBillingDetails","properties":{"Address":{"$ref":"#/definitions/Address"},"Email":{"type":"string"},"Name":{"type":"string"},"Phone":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodBillingDetails","type":"object"},"PaymentMethodBlik":{"title":"PaymentMethodBlik","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodBlik","type":"object"},"PaymentMethodBoleto":{"title":"PaymentMethodBoleto","properties":{"TaxId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodBoleto","type":"object"},"PaymentMethodCard":{"title":"PaymentMethodCard","properties":{"Brand":{"type":"string"},"Checks":{"$ref":"#/definitions/PaymentMethodCardChecks"},"Country":{"type":"string"},"Description":{"type":"string"},"DisplayBrand":{"type":"string"},"ExpMonth":{"type":"integer","format":"int64","x-nullable":false},"ExpYear":{"type":"integer","format":"int64","x-nullable":false},"Fingerprint":{"type":"string"},"Funding":{"type":"string"},"GeneratedFrom":{"$ref":"#/definitions/PaymentMethodCardGeneratedFrom"},"Iin":{"type":"string"},"Issuer":{"type":"string"},"Last4":{"type":"string"},"Networks":{"$ref":"#/definitions/PaymentMethodCardNetworks"},"RegulatedStatus":{"type":"string"},"ThreeDSecureUsage":{"$ref":"#/definitions/PaymentMethodCardThreeDSecureUsage"},"Wallet":{"$ref":"#/definitions/PaymentMethodCardWallet"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCard","type":"object"},"PaymentMethodCardChecks":{"title":"PaymentMethodCardChecks","properties":{"AddressLine1Check":{"type":"string"},"AddressPostalCodeCheck":{"type":"string"},"CvcCheck":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardChecks","type":"object"},"PaymentMethodCardGeneratedFrom":{"title":"PaymentMethodCardGeneratedFrom","properties":{"Charge":{"type":"string"},"PaymentMethodDetails":{"$ref":"#/definitions/PaymentMethodCardGeneratedFromPaymentMethodDetails"},"SetupAttemptId":{"type":"string"},"SetupAttempt":{"$ref":"#/definitions/SetupAttempt"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardGeneratedFrom","type":"object"},"PaymentMethodCardGeneratedFromPaymentMethodDetails":{"title":"PaymentMethodCardGeneratedFromPaymentMethodDetails","properties":{"CardPresent":{"$ref":"#/definitions/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardGeneratedFromPaymentMethodDetails","type":"object"},"PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent":{"title":"PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent","properties":{"AmountAuthorized":{"type":"integer","format":"int64"},"Brand":{"type":"string"},"BrandProduct":{"type":"string"},"CaptureBefore":{"type":"string","format":"date-time","x-nullable":false},"CardholderName":{"type":"string"},"Country":{"type":"string"},"Description":{"type":"string"},"EmvAuthData":{"type":"string"},"ExpMonth":{"type":"integer","format":"int64","x-nullable":false},"ExpYear":{"type":"integer","format":"int64","x-nullable":false},"Fingerprint":{"type":"string"},"Funding":{"type":"string"},"GeneratedCard":{"type":"string"},"Iin":{"type":"string"},"IncrementalAuthorizationSupported":{"type":"boolean","x-nullable":false},"Issuer":{"type":"string"},"Last4":{"type":"string"},"Network":{"type":"string"},"NetworkTransactionId":{"type":"string"},"Offline":{"$ref":"#/definitions/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline"},"OvercaptureSupported":{"type":"boolean","x-nullable":false},"PreferredLocales":{"type":"array","items":{"type":"string"}},"ReadMethod":{"type":"string"},"Receipt":{"$ref":"#/definitions/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentReceipt"},"Wallet":{"$ref":"#/definitions/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentWallet"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent","type":"object"},"PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline":{"title":"PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline","properties":{"StoredAt":{"type":"string","format":"date-time"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline","type":"object"},"PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentReceipt":{"title":"PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentReceipt","properties":{"AccountType":{"type":"string"},"ApplicationCryptogram":{"type":"string"},"ApplicationPreferredName":{"type":"string"},"AuthorizationCode":{"type":"string"},"AuthorizationResponseCode":{"type":"string"},"CardholderVerificationMethod":{"type":"string"},"DedicatedFileName":{"type":"string"},"TerminalVerificationResults":{"type":"string"},"TransactionStatusInformation":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentReceipt","type":"object"},"PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentWallet":{"title":"PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentWallet","properties":{"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentWallet","type":"object"},"SetupAttempt":{"title":"SetupAttempt","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"ApplicationId":{"type":"string"},"Application":{"$ref":"#/definitions/Application"},"AttachToSelf":{"type":"boolean","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false},"CustomerId":{"type":"string"},"Customer":{"$ref":"#/definitions/Customer"},"FlowDirections":{"type":"array","items":{"type":"string"}},"Livemode":{"type":"boolean","x-nullable":false},"OnBehalfOfId":{"type":"string"},"OnBehalfOf":{"$ref":"#/definitions/Account"},"PaymentMethodId":{"type":"string"},"PaymentMethod":{"$ref":"#/definitions/PaymentMethod"},"PaymentMethodDetails":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetails"},"SetupError":{"$ref":"#/definitions/StripeError"},"SetupIntentId":{"type":"string"},"SetupIntent":{"$ref":"#/definitions/SetupIntent"},"Status":{"type":"string"},"Usage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttempt","type":"object"},"Application":{"title":"Application","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Deleted":{"type":"boolean"},"Name":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Application","type":"object"},"SetupAttemptPaymentMethodDetails":{"title":"SetupAttemptPaymentMethodDetails","properties":{"AcssDebit":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsAcssDebit"},"AmazonPay":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsAmazonPay"},"AuBecsDebit":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsAuBecsDebit"},"BacsDebit":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsBacsDebit"},"Bancontact":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsBancontact"},"Boleto":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsBoleto"},"Card":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsCard"},"CardPresent":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsCardPresent"},"Cashapp":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsCashapp"},"Ideal":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsIdeal"},"KakaoPay":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsKakaoPay"},"Klarna":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsKlarna"},"KrCard":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsKrCard"},"Link":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsLink"},"NaverPay":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsNaverPay"},"NzBankAccount":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsNzBankAccount"},"Paypal":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsPaypal"},"RevolutPay":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsRevolutPay"},"SepaDebit":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsSepaDebit"},"Sofort":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsSofort"},"Type":{"type":"string"},"UsBankAccount":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsUsBankAccount"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetails","type":"object"},"SetupAttemptPaymentMethodDetailsAcssDebit":{"title":"SetupAttemptPaymentMethodDetailsAcssDebit","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsAcssDebit","type":"object"},"SetupAttemptPaymentMethodDetailsAmazonPay":{"title":"SetupAttemptPaymentMethodDetailsAmazonPay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsAmazonPay","type":"object"},"SetupAttemptPaymentMethodDetailsAuBecsDebit":{"title":"SetupAttemptPaymentMethodDetailsAuBecsDebit","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsAuBecsDebit","type":"object"},"SetupAttemptPaymentMethodDetailsBacsDebit":{"title":"SetupAttemptPaymentMethodDetailsBacsDebit","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsBacsDebit","type":"object"},"SetupAttemptPaymentMethodDetailsBancontact":{"title":"SetupAttemptPaymentMethodDetailsBancontact","properties":{"BankCode":{"type":"string"},"BankName":{"type":"string"},"Bic":{"type":"string"},"GeneratedSepaDebitId":{"type":"string"},"GeneratedSepaDebit":{"$ref":"#/definitions/PaymentMethod"},"GeneratedSepaDebitMandateId":{"type":"string"},"GeneratedSepaDebitMandate":{"$ref":"#/definitions/Mandate"},"IbanLast4":{"type":"string"},"PreferredLanguage":{"type":"string"},"VerifiedName":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsBancontact","type":"object"},"Mandate":{"title":"Mandate","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"CustomerAcceptance":{"$ref":"#/definitions/MandateCustomerAcceptance"},"Livemode":{"type":"boolean","x-nullable":false},"MultiUse":{"$ref":"#/definitions/MandateMultiUse"},"OnBehalfOf":{"type":"string"},"PaymentMethodId":{"type":"string"},"PaymentMethod":{"$ref":"#/definitions/PaymentMethod"},"PaymentMethodDetails":{"$ref":"#/definitions/MandatePaymentMethodDetails"},"SingleUse":{"$ref":"#/definitions/MandateSingleUse"},"Status":{"type":"string"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Mandate","type":"object"},"MandateCustomerAcceptance":{"title":"MandateCustomerAcceptance","properties":{"AcceptedAt":{"type":"string","format":"date-time"},"Offline":{"$ref":"#/definitions/MandateCustomerAcceptanceOffline"},"Online":{"$ref":"#/definitions/MandateCustomerAcceptanceOnline"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandateCustomerAcceptance","type":"object"},"MandateCustomerAcceptanceOffline":{"title":"MandateCustomerAcceptanceOffline","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandateCustomerAcceptanceOffline","type":"object"},"MandateCustomerAcceptanceOnline":{"title":"MandateCustomerAcceptanceOnline","properties":{"IpAddress":{"type":"string"},"UserAgent":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandateCustomerAcceptanceOnline","type":"object"},"MandateMultiUse":{"title":"MandateMultiUse","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandateMultiUse","type":"object"},"MandatePaymentMethodDetails":{"title":"MandatePaymentMethodDetails","properties":{"AcssDebit":{"$ref":"#/definitions/MandatePaymentMethodDetailsAcssDebit"},"AmazonPay":{"$ref":"#/definitions/MandatePaymentMethodDetailsAmazonPay"},"AuBecsDebit":{"$ref":"#/definitions/MandatePaymentMethodDetailsAuBecsDebit"},"BacsDebit":{"$ref":"#/definitions/MandatePaymentMethodDetailsBacsDebit"},"Card":{"$ref":"#/definitions/MandatePaymentMethodDetailsCard"},"Cashapp":{"$ref":"#/definitions/MandatePaymentMethodDetailsCashapp"},"KakaoPay":{"$ref":"#/definitions/MandatePaymentMethodDetailsKakaoPay"},"KrCard":{"$ref":"#/definitions/MandatePaymentMethodDetailsKrCard"},"Link":{"$ref":"#/definitions/MandatePaymentMethodDetailsLink"},"NaverPay":{"$ref":"#/definitions/MandatePaymentMethodDetailsNaverPay"},"NzBankAccount":{"$ref":"#/definitions/MandatePaymentMethodDetailsNzBankAccount"},"Paypal":{"$ref":"#/definitions/MandatePaymentMethodDetailsPaypal"},"RevolutPay":{"$ref":"#/definitions/MandatePaymentMethodDetailsRevolutPay"},"SepaDebit":{"$ref":"#/definitions/MandatePaymentMethodDetailsSepaDebit"},"Type":{"type":"string"},"UsBankAccount":{"$ref":"#/definitions/MandatePaymentMethodDetailsUsBankAccount"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandatePaymentMethodDetails","type":"object"},"MandatePaymentMethodDetailsAcssDebit":{"title":"MandatePaymentMethodDetailsAcssDebit","properties":{"DefaultFor":{"type":"array","items":{"type":"string"}},"IntervalDescription":{"type":"string"},"PaymentSchedule":{"type":"string"},"TransactionType":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandatePaymentMethodDetailsAcssDebit","type":"object"},"MandatePaymentMethodDetailsAmazonPay":{"title":"MandatePaymentMethodDetailsAmazonPay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandatePaymentMethodDetailsAmazonPay","type":"object"},"MandatePaymentMethodDetailsAuBecsDebit":{"title":"MandatePaymentMethodDetailsAuBecsDebit","properties":{"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandatePaymentMethodDetailsAuBecsDebit","type":"object"},"MandatePaymentMethodDetailsBacsDebit":{"title":"MandatePaymentMethodDetailsBacsDebit","properties":{"NetworkStatus":{"type":"string"},"Reference":{"type":"string"},"RevocationReason":{"type":"string"},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandatePaymentMethodDetailsBacsDebit","type":"object"},"MandatePaymentMethodDetailsCard":{"title":"MandatePaymentMethodDetailsCard","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandatePaymentMethodDetailsCard","type":"object"},"MandatePaymentMethodDetailsCashapp":{"title":"MandatePaymentMethodDetailsCashapp","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandatePaymentMethodDetailsCashapp","type":"object"},"MandatePaymentMethodDetailsKakaoPay":{"title":"MandatePaymentMethodDetailsKakaoPay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandatePaymentMethodDetailsKakaoPay","type":"object"},"MandatePaymentMethodDetailsKrCard":{"title":"MandatePaymentMethodDetailsKrCard","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandatePaymentMethodDetailsKrCard","type":"object"},"MandatePaymentMethodDetailsLink":{"title":"MandatePaymentMethodDetailsLink","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandatePaymentMethodDetailsLink","type":"object"},"MandatePaymentMethodDetailsNaverPay":{"title":"MandatePaymentMethodDetailsNaverPay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandatePaymentMethodDetailsNaverPay","type":"object"},"MandatePaymentMethodDetailsNzBankAccount":{"title":"MandatePaymentMethodDetailsNzBankAccount","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandatePaymentMethodDetailsNzBankAccount","type":"object"},"MandatePaymentMethodDetailsPaypal":{"title":"MandatePaymentMethodDetailsPaypal","properties":{"BillingAgreementId":{"type":"string"},"PayerId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandatePaymentMethodDetailsPaypal","type":"object"},"MandatePaymentMethodDetailsRevolutPay":{"title":"MandatePaymentMethodDetailsRevolutPay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandatePaymentMethodDetailsRevolutPay","type":"object"},"MandatePaymentMethodDetailsSepaDebit":{"title":"MandatePaymentMethodDetailsSepaDebit","properties":{"Reference":{"type":"string"},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandatePaymentMethodDetailsSepaDebit","type":"object"},"MandatePaymentMethodDetailsUsBankAccount":{"title":"MandatePaymentMethodDetailsUsBankAccount","properties":{"CollectionMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandatePaymentMethodDetailsUsBankAccount","type":"object"},"MandateSingleUse":{"title":"MandateSingleUse","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"Currency":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"MandateSingleUse","type":"object"},"SetupAttemptPaymentMethodDetailsBoleto":{"title":"SetupAttemptPaymentMethodDetailsBoleto","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsBoleto","type":"object"},"SetupAttemptPaymentMethodDetailsCard":{"title":"SetupAttemptPaymentMethodDetailsCard","properties":{"Brand":{"type":"string"},"Checks":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsCardChecks"},"Country":{"type":"string"},"Description":{"type":"string"},"ExpMonth":{"type":"integer","format":"int64"},"ExpYear":{"type":"integer","format":"int64"},"Fingerprint":{"type":"string"},"Funding":{"type":"string"},"Iin":{"type":"string"},"Issuer":{"type":"string"},"Last4":{"type":"string"},"Network":{"type":"string"},"ThreeDSecure":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsCardThreeDSecure"},"Wallet":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsCardWallet"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsCard","type":"object"},"SetupAttemptPaymentMethodDetailsCardChecks":{"title":"SetupAttemptPaymentMethodDetailsCardChecks","properties":{"AddressLine1Check":{"type":"string"},"AddressPostalCodeCheck":{"type":"string"},"CvcCheck":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsCardChecks","type":"object"},"SetupAttemptPaymentMethodDetailsCardThreeDSecure":{"title":"SetupAttemptPaymentMethodDetailsCardThreeDSecure","properties":{"AuthenticationFlow":{"type":"string"},"ElectronicCommerceIndicator":{"type":"string"},"Result":{"type":"string"},"ResultReason":{"type":"string"},"TransactionId":{"type":"string"},"Version":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsCardThreeDSecure","type":"object"},"SetupAttemptPaymentMethodDetailsCardWallet":{"title":"SetupAttemptPaymentMethodDetailsCardWallet","properties":{"ApplePay":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsCardWalletApplePay"},"GooglePay":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsCardWalletGooglePay"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsCardWallet","type":"object"},"SetupAttemptPaymentMethodDetailsCardWalletApplePay":{"title":"SetupAttemptPaymentMethodDetailsCardWalletApplePay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsCardWalletApplePay","type":"object"},"SetupAttemptPaymentMethodDetailsCardWalletGooglePay":{"title":"SetupAttemptPaymentMethodDetailsCardWalletGooglePay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsCardWalletGooglePay","type":"object"},"SetupAttemptPaymentMethodDetailsCardPresent":{"title":"SetupAttemptPaymentMethodDetailsCardPresent","properties":{"GeneratedCardId":{"type":"string"},"GeneratedCard":{"$ref":"#/definitions/PaymentMethod"},"Offline":{"$ref":"#/definitions/SetupAttemptPaymentMethodDetailsCardPresentOffline"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsCardPresent","type":"object"},"SetupAttemptPaymentMethodDetailsCardPresentOffline":{"title":"SetupAttemptPaymentMethodDetailsCardPresentOffline","properties":{"StoredAt":{"type":"string","format":"date-time"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsCardPresentOffline","type":"object"},"SetupAttemptPaymentMethodDetailsCashapp":{"title":"SetupAttemptPaymentMethodDetailsCashapp","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsCashapp","type":"object"},"SetupAttemptPaymentMethodDetailsIdeal":{"title":"SetupAttemptPaymentMethodDetailsIdeal","properties":{"Bank":{"type":"string"},"Bic":{"type":"string"},"GeneratedSepaDebitId":{"type":"string"},"GeneratedSepaDebit":{"$ref":"#/definitions/PaymentMethod"},"GeneratedSepaDebitMandateId":{"type":"string"},"GeneratedSepaDebitMandate":{"$ref":"#/definitions/Mandate"},"IbanLast4":{"type":"string"},"VerifiedName":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsIdeal","type":"object"},"SetupAttemptPaymentMethodDetailsKakaoPay":{"title":"SetupAttemptPaymentMethodDetailsKakaoPay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsKakaoPay","type":"object"},"SetupAttemptPaymentMethodDetailsKlarna":{"title":"SetupAttemptPaymentMethodDetailsKlarna","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsKlarna","type":"object"},"SetupAttemptPaymentMethodDetailsKrCard":{"title":"SetupAttemptPaymentMethodDetailsKrCard","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsKrCard","type":"object"},"SetupAttemptPaymentMethodDetailsLink":{"title":"SetupAttemptPaymentMethodDetailsLink","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsLink","type":"object"},"SetupAttemptPaymentMethodDetailsNaverPay":{"title":"SetupAttemptPaymentMethodDetailsNaverPay","properties":{"BuyerId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsNaverPay","type":"object"},"SetupAttemptPaymentMethodDetailsNzBankAccount":{"title":"SetupAttemptPaymentMethodDetailsNzBankAccount","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsNzBankAccount","type":"object"},"SetupAttemptPaymentMethodDetailsPaypal":{"title":"SetupAttemptPaymentMethodDetailsPaypal","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsPaypal","type":"object"},"SetupAttemptPaymentMethodDetailsRevolutPay":{"title":"SetupAttemptPaymentMethodDetailsRevolutPay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsRevolutPay","type":"object"},"SetupAttemptPaymentMethodDetailsSepaDebit":{"title":"SetupAttemptPaymentMethodDetailsSepaDebit","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsSepaDebit","type":"object"},"SetupAttemptPaymentMethodDetailsSofort":{"title":"SetupAttemptPaymentMethodDetailsSofort","properties":{"BankCode":{"type":"string"},"BankName":{"type":"string"},"Bic":{"type":"string"},"GeneratedSepaDebitId":{"type":"string"},"GeneratedSepaDebit":{"$ref":"#/definitions/PaymentMethod"},"GeneratedSepaDebitMandateId":{"type":"string"},"GeneratedSepaDebitMandate":{"$ref":"#/definitions/Mandate"},"IbanLast4":{"type":"string"},"PreferredLanguage":{"type":"string"},"VerifiedName":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsSofort","type":"object"},"SetupAttemptPaymentMethodDetailsUsBankAccount":{"title":"SetupAttemptPaymentMethodDetailsUsBankAccount","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupAttemptPaymentMethodDetailsUsBankAccount","type":"object"},"StripeError":{"title":"StripeError","properties":{"Charge":{"type":"string"},"Code":{"type":"string"},"DeclineCode":{"type":"string"},"DocUrl":{"type":"string"},"Message":{"type":"string"},"Param":{"type":"string"},"PaymentIntent":{"$ref":"#/definitions/PaymentIntent"},"PaymentMethod":{"$ref":"#/definitions/PaymentMethod"},"PaymentMethodType":{"type":"string"},"RequestLogUrl":{"type":"string"},"SetupIntent":{"$ref":"#/definitions/SetupIntent"},"Source":{"$ref":"#/definitions/IPaymentSource"},"Type":{"type":"string"},"Error":{"type":"string"},"ErrorDescription":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"StripeError","type":"object"},"PaymentIntent":{"title":"PaymentIntent","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Amount":{"type":"integer","format":"int64","x-nullable":false},"AmountCapturable":{"type":"integer","format":"int64","x-nullable":false},"AmountDetails":{"$ref":"#/definitions/PaymentIntentAmountDetails"},"AmountReceived":{"type":"integer","format":"int64","x-nullable":false},"ApplicationId":{"type":"string"},"Application":{"$ref":"#/definitions/Application"},"ApplicationFeeAmount":{"type":"integer","format":"int64"},"AutomaticPaymentMethods":{"$ref":"#/definitions/PaymentIntentAutomaticPaymentMethods"},"CanceledAt":{"type":"string","format":"date-time"},"CancellationReason":{"type":"string"},"CaptureMethod":{"type":"string"},"ClientSecret":{"type":"string"},"ConfirmationMethod":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Currency":{"type":"string"},"CustomerId":{"type":"string"},"Customer":{"$ref":"#/definitions/Customer"},"Description":{"type":"string"},"LastPaymentError":{"$ref":"#/definitions/StripeError"},"LatestChargeId":{"type":"string"},"LatestCharge":{"$ref":"#/definitions/Charge"},"Livemode":{"type":"boolean","x-nullable":false},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"NextAction":{"$ref":"#/definitions/PaymentIntentNextAction"},"OnBehalfOfId":{"type":"string"},"OnBehalfOf":{"$ref":"#/definitions/Account"},"PaymentMethodId":{"type":"string"},"PaymentMethod":{"$ref":"#/definitions/PaymentMethod"},"PaymentMethodConfigurationDetails":{"$ref":"#/definitions/PaymentIntentPaymentMethodConfigurationDetails"},"PaymentMethodOptions":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptions"},"PaymentMethodTypes":{"type":"array","items":{"type":"string"}},"PresentmentDetails":{"$ref":"#/definitions/PaymentIntentPresentmentDetails"},"Processing":{"$ref":"#/definitions/PaymentIntentProcessing"},"ReceiptEmail":{"type":"string"},"ReviewId":{"type":"string"},"Review":{"$ref":"#/definitions/Review"},"SetupFutureUsage":{"type":"string"},"Shipping":{"$ref":"#/definitions/Shipping"},"SourceId":{"type":"string"},"Source":{"$ref":"#/definitions/IPaymentSource"},"StatementDescriptor":{"type":"string"},"StatementDescriptorSuffix":{"type":"string"},"Status":{"type":"string"},"TransferData":{"$ref":"#/definitions/PaymentIntentTransferData"},"TransferGroup":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntent","type":"object"},"PaymentIntentAmountDetails":{"title":"PaymentIntentAmountDetails","properties":{"Tip":{"$ref":"#/definitions/PaymentIntentAmountDetailsTip"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentAmountDetails","type":"object"},"PaymentIntentAmountDetailsTip":{"title":"PaymentIntentAmountDetailsTip","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentAmountDetailsTip","type":"object"},"PaymentIntentAutomaticPaymentMethods":{"title":"PaymentIntentAutomaticPaymentMethods","properties":{"AllowRedirects":{"type":"string"},"Enabled":{"type":"boolean","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentAutomaticPaymentMethods","type":"object"},"Charge":{"title":"Charge","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Amount":{"type":"integer","format":"int64","x-nullable":false},"AmountCaptured":{"type":"integer","format":"int64","x-nullable":false},"AmountRefunded":{"type":"integer","format":"int64","x-nullable":false},"ApplicationId":{"type":"string"},"Application":{"$ref":"#/definitions/Application"},"ApplicationFeeId":{"type":"string"},"ApplicationFee":{"$ref":"#/definitions/ApplicationFee"},"ApplicationFeeAmount":{"type":"integer","format":"int64"},"AuthorizationCode":{"type":"string"},"BalanceTransactionId":{"type":"string"},"BalanceTransaction":{"$ref":"#/definitions/BalanceTransaction"},"BillingDetails":{"$ref":"#/definitions/ChargeBillingDetails"},"CalculatedStatementDescriptor":{"type":"string"},"Captured":{"type":"boolean","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false},"Currency":{"type":"string"},"CustomerId":{"type":"string"},"Customer":{"$ref":"#/definitions/Customer"},"Description":{"type":"string"},"Disputed":{"type":"boolean","x-nullable":false},"FailureBalanceTransactionId":{"type":"string"},"FailureBalanceTransaction":{"$ref":"#/definitions/BalanceTransaction"},"FailureCode":{"type":"string"},"FailureMessage":{"type":"string"},"FraudDetails":{"$ref":"#/definitions/ChargeFraudDetails"},"Level3":{"$ref":"#/definitions/ChargeLevel3"},"Livemode":{"type":"boolean","x-nullable":false},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"OnBehalfOfId":{"type":"string"},"OnBehalfOf":{"$ref":"#/definitions/Account"},"Outcome":{"$ref":"#/definitions/ChargeOutcome"},"Paid":{"type":"boolean","x-nullable":false},"PaymentIntentId":{"type":"string"},"PaymentIntent":{"$ref":"#/definitions/PaymentIntent"},"PaymentMethod":{"type":"string"},"PaymentMethodDetails":{"$ref":"#/definitions/ChargePaymentMethodDetails"},"PresentmentDetails":{"$ref":"#/definitions/ChargePresentmentDetails"},"RadarOptions":{"$ref":"#/definitions/ChargeRadarOptions"},"ReceiptEmail":{"type":"string"},"ReceiptNumber":{"type":"string"},"ReceiptUrl":{"type":"string"},"Refunded":{"type":"boolean","x-nullable":false},"Refunds":{"$ref":"#/definitions/StripeList_Refund_"},"ReviewId":{"type":"string"},"Review":{"$ref":"#/definitions/Review"},"Shipping":{"$ref":"#/definitions/Shipping"},"Source":{"$ref":"#/definitions/IPaymentSource"},"SourceTransferId":{"type":"string"},"SourceTransfer":{"$ref":"#/definitions/Transfer"},"StatementDescriptor":{"type":"string"},"StatementDescriptorSuffix":{"type":"string"},"Status":{"type":"string"},"TransferId":{"type":"string"},"Transfer":{"$ref":"#/definitions/Transfer"},"TransferData":{"$ref":"#/definitions/ChargeTransferData"},"TransferGroup":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Charge","type":"object"},"ApplicationFee":{"title":"ApplicationFee","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"AccountId":{"type":"string"},"Account":{"$ref":"#/definitions/Account"},"Amount":{"type":"integer","format":"int64","x-nullable":false},"AmountRefunded":{"type":"integer","format":"int64","x-nullable":false},"ApplicationId":{"type":"string"},"Application":{"$ref":"#/definitions/Application"},"BalanceTransactionId":{"type":"string"},"BalanceTransaction":{"$ref":"#/definitions/BalanceTransaction"},"ChargeId":{"type":"string"},"Charge":{"$ref":"#/definitions/Charge"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Currency":{"type":"string"},"FeeSource":{"$ref":"#/definitions/ApplicationFeeFeeSource"},"Livemode":{"type":"boolean","x-nullable":false},"OriginatingTransactionId":{"type":"string"},"OriginatingTransaction":{"$ref":"#/definitions/Charge"},"Refunded":{"type":"boolean","x-nullable":false},"Refunds":{"$ref":"#/definitions/StripeList_ApplicationFeeRefund_"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ApplicationFee","type":"object"},"BalanceTransaction":{"title":"BalanceTransaction","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Amount":{"type":"integer","format":"int64","x-nullable":false},"AvailableOn":{"type":"string","format":"date-time","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false},"Currency":{"type":"string"},"Description":{"type":"string"},"ExchangeRate":{"type":"number","format":"double"},"Fee":{"type":"integer","format":"int64","x-nullable":false},"FeeDetails":{"type":"array","items":{"$ref":"#/definitions/BalanceTransactionFeeDetail"}},"Net":{"type":"integer","format":"int64","x-nullable":false},"ReportingCategory":{"type":"string"},"SourceId":{"type":"string"},"Source":{"$ref":"#/definitions/IBalanceTransactionSource"},"Status":{"type":"string"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"BalanceTransaction","type":"object"},"BalanceTransactionFeeDetail":{"title":"BalanceTransactionFeeDetail","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"Application":{"type":"string"},"Currency":{"type":"string"},"Description":{"type":"string"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"BalanceTransactionFeeDetail","type":"object"},"IBalanceTransactionSource":{"title":"IBalanceTransactionSource","properties":{},"description":"IBalanceTransactionSource","type":"object"},"ApplicationFeeFeeSource":{"title":"ApplicationFeeFeeSource","properties":{"Charge":{"type":"string"},"Payout":{"type":"string"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ApplicationFeeFeeSource","type":"object"},"StripeList_ApplicationFeeRefund_":{"title":"StripeList\u00601","properties":{"Object":{"type":"string"},"Data":{"type":"array","items":{"$ref":"#/definitions/ApplicationFeeRefund"}},"HasMore":{"type":"boolean","x-nullable":false},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"StripeList\u003CApplicationFeeRefund\u003E","type":"object"},"ApplicationFeeRefund":{"title":"ApplicationFeeRefund","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Amount":{"type":"integer","format":"int64","x-nullable":false},"BalanceTransactionId":{"type":"string"},"BalanceTransaction":{"$ref":"#/definitions/BalanceTransaction"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Currency":{"type":"string"},"FeeId":{"type":"string"},"Fee":{"$ref":"#/definitions/ApplicationFee"},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ApplicationFeeRefund","type":"object"},"ChargeBillingDetails":{"title":"ChargeBillingDetails","properties":{"Address":{"$ref":"#/definitions/Address"},"Email":{"type":"string"},"Name":{"type":"string"},"Phone":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargeBillingDetails","type":"object"},"ChargeFraudDetails":{"title":"ChargeFraudDetails","properties":{"StripeReport":{"type":"string"},"UserReport":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargeFraudDetails","type":"object"},"ChargeLevel3":{"title":"ChargeLevel3","properties":{"CustomerReference":{"type":"string"},"LineItems":{"type":"array","items":{"$ref":"#/definitions/ChargeLevel3LineItem"}},"MerchantReference":{"type":"string"},"ShippingAddressZip":{"type":"string"},"ShippingAmount":{"type":"integer","format":"int64","x-nullable":false},"ShippingFromZip":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargeLevel3","type":"object"},"ChargeLevel3LineItem":{"title":"ChargeLevel3LineItem","properties":{"DiscountAmount":{"type":"integer","format":"int64"},"ProductCode":{"type":"string"},"ProductDescription":{"type":"string"},"Quantity":{"type":"integer","format":"int64"},"TaxAmount":{"type":"integer","format":"int64"},"UnitCost":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargeLevel3LineItem","type":"object"},"ChargeOutcome":{"title":"ChargeOutcome","properties":{"AdviceCode":{"type":"string"},"NetworkAdviceCode":{"type":"string"},"NetworkDeclineCode":{"type":"string"},"NetworkStatus":{"type":"string"},"Reason":{"type":"string"},"RiskLevel":{"type":"string"},"RiskScore":{"type":"integer","format":"int64","x-nullable":false},"RuleId":{"type":"string"},"Rule":{"$ref":"#/definitions/Rule"},"SellerMessage":{"type":"string"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargeOutcome","type":"object"},"Rule":{"title":"Rule","properties":{"Id":{"type":"string"},"Action":{"type":"string"},"Deleted":{"type":"boolean"},"Predicate":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Rule","type":"object"},"ChargePaymentMethodDetails":{"title":"ChargePaymentMethodDetails","properties":{"AchCreditTransfer":{"$ref":"#/definitions/ChargePaymentMethodDetailsAchCreditTransfer"},"AchDebit":{"$ref":"#/definitions/ChargePaymentMethodDetailsAchDebit"},"AcssDebit":{"$ref":"#/definitions/ChargePaymentMethodDetailsAcssDebit"},"Affirm":{"$ref":"#/definitions/ChargePaymentMethodDetailsAffirm"},"AfterpayClearpay":{"$ref":"#/definitions/ChargePaymentMethodDetailsAfterpayClearpay"},"Alipay":{"$ref":"#/definitions/ChargePaymentMethodDetailsAlipay"},"Alma":{"$ref":"#/definitions/ChargePaymentMethodDetailsAlma"},"AmazonPay":{"$ref":"#/definitions/ChargePaymentMethodDetailsAmazonPay"},"AuBecsDebit":{"$ref":"#/definitions/ChargePaymentMethodDetailsAuBecsDebit"},"BacsDebit":{"$ref":"#/definitions/ChargePaymentMethodDetailsBacsDebit"},"Bancontact":{"$ref":"#/definitions/ChargePaymentMethodDetailsBancontact"},"Billie":{"$ref":"#/definitions/ChargePaymentMethodDetailsBillie"},"Blik":{"$ref":"#/definitions/ChargePaymentMethodDetailsBlik"},"Boleto":{"$ref":"#/definitions/ChargePaymentMethodDetailsBoleto"},"Card":{"$ref":"#/definitions/ChargePaymentMethodDetailsCard"},"CardPresent":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardPresent"},"Cashapp":{"$ref":"#/definitions/ChargePaymentMethodDetailsCashapp"},"CustomerBalance":{"$ref":"#/definitions/ChargePaymentMethodDetailsCustomerBalance"},"Eps":{"$ref":"#/definitions/ChargePaymentMethodDetailsEps"},"Fpx":{"$ref":"#/definitions/ChargePaymentMethodDetailsFpx"},"Giropay":{"$ref":"#/definitions/ChargePaymentMethodDetailsGiropay"},"Grabpay":{"$ref":"#/definitions/ChargePaymentMethodDetailsGrabpay"},"Ideal":{"$ref":"#/definitions/ChargePaymentMethodDetailsIdeal"},"InteracPresent":{"$ref":"#/definitions/ChargePaymentMethodDetailsInteracPresent"},"KakaoPay":{"$ref":"#/definitions/ChargePaymentMethodDetailsKakaoPay"},"Klarna":{"$ref":"#/definitions/ChargePaymentMethodDetailsKlarna"},"Konbini":{"$ref":"#/definitions/ChargePaymentMethodDetailsKonbini"},"KrCard":{"$ref":"#/definitions/ChargePaymentMethodDetailsKrCard"},"Link":{"$ref":"#/definitions/ChargePaymentMethodDetailsLink"},"Mobilepay":{"$ref":"#/definitions/ChargePaymentMethodDetailsMobilepay"},"Multibanco":{"$ref":"#/definitions/ChargePaymentMethodDetailsMultibanco"},"NaverPay":{"$ref":"#/definitions/ChargePaymentMethodDetailsNaverPay"},"NzBankAccount":{"$ref":"#/definitions/ChargePaymentMethodDetailsNzBankAccount"},"Oxxo":{"$ref":"#/definitions/ChargePaymentMethodDetailsOxxo"},"P24":{"$ref":"#/definitions/ChargePaymentMethodDetailsP24"},"PayByBank":{"$ref":"#/definitions/ChargePaymentMethodDetailsPayByBank"},"Payco":{"$ref":"#/definitions/ChargePaymentMethodDetailsPayco"},"Paynow":{"$ref":"#/definitions/ChargePaymentMethodDetailsPaynow"},"Paypal":{"$ref":"#/definitions/ChargePaymentMethodDetailsPaypal"},"Pix":{"$ref":"#/definitions/ChargePaymentMethodDetailsPix"},"Promptpay":{"$ref":"#/definitions/ChargePaymentMethodDetailsPromptpay"},"RevolutPay":{"$ref":"#/definitions/ChargePaymentMethodDetailsRevolutPay"},"SamsungPay":{"$ref":"#/definitions/ChargePaymentMethodDetailsSamsungPay"},"Satispay":{"$ref":"#/definitions/ChargePaymentMethodDetailsSatispay"},"SepaDebit":{"$ref":"#/definitions/ChargePaymentMethodDetailsSepaDebit"},"Sofort":{"$ref":"#/definitions/ChargePaymentMethodDetailsSofort"},"StripeAccount":{"$ref":"#/definitions/ChargePaymentMethodDetailsStripeAccount"},"Swish":{"$ref":"#/definitions/ChargePaymentMethodDetailsSwish"},"Twint":{"$ref":"#/definitions/ChargePaymentMethodDetailsTwint"},"Type":{"type":"string"},"UsBankAccount":{"$ref":"#/definitions/ChargePaymentMethodDetailsUsBankAccount"},"Wechat":{"$ref":"#/definitions/ChargePaymentMethodDetailsWechat"},"WechatPay":{"$ref":"#/definitions/ChargePaymentMethodDetailsWechatPay"},"Zip":{"$ref":"#/definitions/ChargePaymentMethodDetailsZip"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetails","type":"object"},"ChargePaymentMethodDetailsAchCreditTransfer":{"title":"ChargePaymentMethodDetailsAchCreditTransfer","properties":{"AccountNumber":{"type":"string"},"BankName":{"type":"string"},"RoutingNumber":{"type":"string"},"SwiftCode":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsAchCreditTransfer","type":"object"},"ChargePaymentMethodDetailsAchDebit":{"title":"ChargePaymentMethodDetailsAchDebit","properties":{"AccountHolderType":{"type":"string"},"BankName":{"type":"string"},"Country":{"type":"string"},"Fingerprint":{"type":"string"},"Last4":{"type":"string"},"RoutingNumber":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsAchDebit","type":"object"},"ChargePaymentMethodDetailsAcssDebit":{"title":"ChargePaymentMethodDetailsAcssDebit","properties":{"BankName":{"type":"string"},"Fingerprint":{"type":"string"},"InstitutionNumber":{"type":"string"},"Last4":{"type":"string"},"Mandate":{"type":"string"},"TransitNumber":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsAcssDebit","type":"object"},"ChargePaymentMethodDetailsAffirm":{"title":"ChargePaymentMethodDetailsAffirm","properties":{"TransactionId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsAffirm","type":"object"},"ChargePaymentMethodDetailsAfterpayClearpay":{"title":"ChargePaymentMethodDetailsAfterpayClearpay","properties":{"OrderId":{"type":"string"},"Reference":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsAfterpayClearpay","type":"object"},"ChargePaymentMethodDetailsAlipay":{"title":"ChargePaymentMethodDetailsAlipay","properties":{"BuyerId":{"type":"string"},"Fingerprint":{"type":"string"},"TransactionId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsAlipay","type":"object"},"ChargePaymentMethodDetailsAlma":{"title":"ChargePaymentMethodDetailsAlma","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsAlma","type":"object"},"ChargePaymentMethodDetailsAmazonPay":{"title":"ChargePaymentMethodDetailsAmazonPay","properties":{"Funding":{"$ref":"#/definitions/ChargePaymentMethodDetailsAmazonPayFunding"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsAmazonPay","type":"object"},"ChargePaymentMethodDetailsAmazonPayFunding":{"title":"ChargePaymentMethodDetailsAmazonPayFunding","properties":{"Card":{"$ref":"#/definitions/ChargePaymentMethodDetailsAmazonPayFundingCard"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsAmazonPayFunding","type":"object"},"ChargePaymentMethodDetailsAmazonPayFundingCard":{"title":"ChargePaymentMethodDetailsAmazonPayFundingCard","properties":{"Brand":{"type":"string"},"Country":{"type":"string"},"ExpMonth":{"type":"integer","format":"int64"},"ExpYear":{"type":"integer","format":"int64"},"Funding":{"type":"string"},"Last4":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsAmazonPayFundingCard","type":"object"},"ChargePaymentMethodDetailsAuBecsDebit":{"title":"ChargePaymentMethodDetailsAuBecsDebit","properties":{"BsbNumber":{"type":"string"},"Fingerprint":{"type":"string"},"Last4":{"type":"string"},"Mandate":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsAuBecsDebit","type":"object"},"ChargePaymentMethodDetailsBacsDebit":{"title":"ChargePaymentMethodDetailsBacsDebit","properties":{"Fingerprint":{"type":"string"},"Last4":{"type":"string"},"Mandate":{"type":"string"},"SortCode":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsBacsDebit","type":"object"},"ChargePaymentMethodDetailsBancontact":{"title":"ChargePaymentMethodDetailsBancontact","properties":{"BankCode":{"type":"string"},"BankName":{"type":"string"},"Bic":{"type":"string"},"GeneratedSepaDebitId":{"type":"string"},"GeneratedSepaDebit":{"$ref":"#/definitions/PaymentMethod"},"GeneratedSepaDebitMandateId":{"type":"string"},"GeneratedSepaDebitMandate":{"$ref":"#/definitions/Mandate"},"IbanLast4":{"type":"string"},"PreferredLanguage":{"type":"string"},"VerifiedName":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsBancontact","type":"object"},"ChargePaymentMethodDetailsBillie":{"title":"ChargePaymentMethodDetailsBillie","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsBillie","type":"object"},"ChargePaymentMethodDetailsBlik":{"title":"ChargePaymentMethodDetailsBlik","properties":{"BuyerId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsBlik","type":"object"},"ChargePaymentMethodDetailsBoleto":{"title":"ChargePaymentMethodDetailsBoleto","properties":{"TaxId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsBoleto","type":"object"},"ChargePaymentMethodDetailsCard":{"title":"ChargePaymentMethodDetailsCard","properties":{"AmountAuthorized":{"type":"integer","format":"int64"},"AuthorizationCode":{"type":"string"},"Brand":{"type":"string"},"CaptureBefore":{"type":"string","format":"date-time","x-nullable":false},"Checks":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardChecks"},"Country":{"type":"string"},"Description":{"type":"string"},"ExpMonth":{"type":"integer","format":"int64","x-nullable":false},"ExpYear":{"type":"integer","format":"int64","x-nullable":false},"ExtendedAuthorization":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardExtendedAuthorization"},"Fingerprint":{"type":"string"},"Funding":{"type":"string"},"Iin":{"type":"string"},"IncrementalAuthorization":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardIncrementalAuthorization"},"Installments":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardInstallments"},"Issuer":{"type":"string"},"Last4":{"type":"string"},"Mandate":{"type":"string"},"Moto":{"type":"boolean"},"Multicapture":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardMulticapture"},"Network":{"type":"string"},"NetworkToken":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardNetworkToken"},"NetworkTransactionId":{"type":"string"},"Overcapture":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardOvercapture"},"RegulatedStatus":{"type":"string"},"ThreeDSecure":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardThreeDSecure"},"Wallet":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardWallet"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCard","type":"object"},"ChargePaymentMethodDetailsCardChecks":{"title":"ChargePaymentMethodDetailsCardChecks","properties":{"AddressLine1Check":{"type":"string"},"AddressPostalCodeCheck":{"type":"string"},"CvcCheck":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardChecks","type":"object"},"ChargePaymentMethodDetailsCardExtendedAuthorization":{"title":"ChargePaymentMethodDetailsCardExtendedAuthorization","properties":{"Status":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardExtendedAuthorization","type":"object"},"ChargePaymentMethodDetailsCardIncrementalAuthorization":{"title":"ChargePaymentMethodDetailsCardIncrementalAuthorization","properties":{"Status":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardIncrementalAuthorization","type":"object"},"ChargePaymentMethodDetailsCardInstallments":{"title":"ChargePaymentMethodDetailsCardInstallments","properties":{"Plan":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsCardInstallmentsPlan"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardInstallments","type":"object"},"PaymentIntentPaymentMethodOptionsCardInstallmentsPlan":{"title":"PaymentIntentPaymentMethodOptionsCardInstallmentsPlan","properties":{"Count":{"type":"integer","format":"int64"},"Interval":{"type":"string"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsCardInstallmentsPlan","type":"object"},"ChargePaymentMethodDetailsCardMulticapture":{"title":"ChargePaymentMethodDetailsCardMulticapture","properties":{"Status":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardMulticapture","type":"object"},"ChargePaymentMethodDetailsCardNetworkToken":{"title":"ChargePaymentMethodDetailsCardNetworkToken","properties":{"Used":{"type":"boolean","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardNetworkToken","type":"object"},"ChargePaymentMethodDetailsCardOvercapture":{"title":"ChargePaymentMethodDetailsCardOvercapture","properties":{"MaximumAmountCapturable":{"type":"integer","format":"int64","x-nullable":false},"Status":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardOvercapture","type":"object"},"ChargePaymentMethodDetailsCardThreeDSecure":{"title":"ChargePaymentMethodDetailsCardThreeDSecure","properties":{"AuthenticationFlow":{"type":"string"},"ElectronicCommerceIndicator":{"type":"string"},"ExemptionIndicator":{"type":"string"},"ExemptionIndicatorApplied":{"type":"boolean","x-nullable":false},"Result":{"type":"string"},"ResultReason":{"type":"string"},"TransactionId":{"type":"string"},"Version":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardThreeDSecure","type":"object"},"ChargePaymentMethodDetailsCardWallet":{"title":"ChargePaymentMethodDetailsCardWallet","properties":{"AmexExpressCheckout":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardWalletAmexExpressCheckout"},"ApplePay":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardWalletApplePay"},"DynamicLast4":{"type":"string"},"GooglePay":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardWalletGooglePay"},"Link":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardWalletLink"},"Masterpass":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardWalletMasterpass"},"SamsungPay":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardWalletSamsungPay"},"Type":{"type":"string"},"VisaCheckout":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardWalletVisaCheckout"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardWallet","type":"object"},"ChargePaymentMethodDetailsCardWalletAmexExpressCheckout":{"title":"ChargePaymentMethodDetailsCardWalletAmexExpressCheckout","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardWalletAmexExpressCheckout","type":"object"},"ChargePaymentMethodDetailsCardWalletApplePay":{"title":"ChargePaymentMethodDetailsCardWalletApplePay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardWalletApplePay","type":"object"},"ChargePaymentMethodDetailsCardWalletGooglePay":{"title":"ChargePaymentMethodDetailsCardWalletGooglePay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardWalletGooglePay","type":"object"},"ChargePaymentMethodDetailsCardWalletLink":{"title":"ChargePaymentMethodDetailsCardWalletLink","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardWalletLink","type":"object"},"ChargePaymentMethodDetailsCardWalletMasterpass":{"title":"ChargePaymentMethodDetailsCardWalletMasterpass","properties":{"BillingAddress":{"$ref":"#/definitions/Address"},"Email":{"type":"string"},"Name":{"type":"string"},"ShippingAddress":{"$ref":"#/definitions/Address"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardWalletMasterpass","type":"object"},"ChargePaymentMethodDetailsCardWalletSamsungPay":{"title":"ChargePaymentMethodDetailsCardWalletSamsungPay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardWalletSamsungPay","type":"object"},"ChargePaymentMethodDetailsCardWalletVisaCheckout":{"title":"ChargePaymentMethodDetailsCardWalletVisaCheckout","properties":{"BillingAddress":{"$ref":"#/definitions/Address"},"Email":{"type":"string"},"Name":{"type":"string"},"ShippingAddress":{"$ref":"#/definitions/Address"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardWalletVisaCheckout","type":"object"},"ChargePaymentMethodDetailsCardPresent":{"title":"ChargePaymentMethodDetailsCardPresent","properties":{"AmountAuthorized":{"type":"integer","format":"int64"},"Brand":{"type":"string"},"BrandProduct":{"type":"string"},"CaptureBefore":{"type":"string","format":"date-time","x-nullable":false},"CardholderName":{"type":"string"},"Country":{"type":"string"},"Description":{"type":"string"},"EmvAuthData":{"type":"string"},"ExpMonth":{"type":"integer","format":"int64","x-nullable":false},"ExpYear":{"type":"integer","format":"int64","x-nullable":false},"Fingerprint":{"type":"string"},"Funding":{"type":"string"},"GeneratedCard":{"type":"string"},"Iin":{"type":"string"},"IncrementalAuthorizationSupported":{"type":"boolean","x-nullable":false},"Issuer":{"type":"string"},"Last4":{"type":"string"},"Network":{"type":"string"},"NetworkTransactionId":{"type":"string"},"Offline":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardPresentOffline"},"OvercaptureSupported":{"type":"boolean","x-nullable":false},"PreferredLocales":{"type":"array","items":{"type":"string"}},"ReadMethod":{"type":"string"},"Receipt":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardPresentReceipt"},"Wallet":{"$ref":"#/definitions/ChargePaymentMethodDetailsCardPresentWallet"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardPresent","type":"object"},"ChargePaymentMethodDetailsCardPresentOffline":{"title":"ChargePaymentMethodDetailsCardPresentOffline","properties":{"StoredAt":{"type":"string","format":"date-time"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardPresentOffline","type":"object"},"ChargePaymentMethodDetailsCardPresentReceipt":{"title":"ChargePaymentMethodDetailsCardPresentReceipt","properties":{"AccountType":{"type":"string"},"ApplicationCryptogram":{"type":"string"},"ApplicationPreferredName":{"type":"string"},"AuthorizationCode":{"type":"string"},"AuthorizationResponseCode":{"type":"string"},"CardholderVerificationMethod":{"type":"string"},"DedicatedFileName":{"type":"string"},"TerminalVerificationResults":{"type":"string"},"TransactionStatusInformation":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardPresentReceipt","type":"object"},"ChargePaymentMethodDetailsCardPresentWallet":{"title":"ChargePaymentMethodDetailsCardPresentWallet","properties":{"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCardPresentWallet","type":"object"},"ChargePaymentMethodDetailsCashapp":{"title":"ChargePaymentMethodDetailsCashapp","properties":{"BuyerId":{"type":"string"},"Cashtag":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCashapp","type":"object"},"ChargePaymentMethodDetailsCustomerBalance":{"title":"ChargePaymentMethodDetailsCustomerBalance","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsCustomerBalance","type":"object"},"ChargePaymentMethodDetailsEps":{"title":"ChargePaymentMethodDetailsEps","properties":{"Bank":{"type":"string"},"VerifiedName":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsEps","type":"object"},"ChargePaymentMethodDetailsFpx":{"title":"ChargePaymentMethodDetailsFpx","properties":{"AccountHolderType":{"type":"string"},"Bank":{"type":"string"},"TransactionId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsFpx","type":"object"},"ChargePaymentMethodDetailsGiropay":{"title":"ChargePaymentMethodDetailsGiropay","properties":{"BankCode":{"type":"string"},"BankName":{"type":"string"},"Bic":{"type":"string"},"VerifiedName":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsGiropay","type":"object"},"ChargePaymentMethodDetailsGrabpay":{"title":"ChargePaymentMethodDetailsGrabpay","properties":{"TransactionId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsGrabpay","type":"object"},"ChargePaymentMethodDetailsIdeal":{"title":"ChargePaymentMethodDetailsIdeal","properties":{"Bank":{"type":"string"},"Bic":{"type":"string"},"GeneratedSepaDebitId":{"type":"string"},"GeneratedSepaDebit":{"$ref":"#/definitions/PaymentMethod"},"GeneratedSepaDebitMandateId":{"type":"string"},"GeneratedSepaDebitMandate":{"$ref":"#/definitions/Mandate"},"IbanLast4":{"type":"string"},"VerifiedName":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsIdeal","type":"object"},"ChargePaymentMethodDetailsInteracPresent":{"title":"ChargePaymentMethodDetailsInteracPresent","properties":{"Brand":{"type":"string"},"CardholderName":{"type":"string"},"Country":{"type":"string"},"Description":{"type":"string"},"EmvAuthData":{"type":"string"},"ExpMonth":{"type":"integer","format":"int64","x-nullable":false},"ExpYear":{"type":"integer","format":"int64","x-nullable":false},"Fingerprint":{"type":"string"},"Funding":{"type":"string"},"GeneratedCard":{"type":"string"},"Iin":{"type":"string"},"Issuer":{"type":"string"},"Last4":{"type":"string"},"Network":{"type":"string"},"NetworkTransactionId":{"type":"string"},"PreferredLocales":{"type":"array","items":{"type":"string"}},"ReadMethod":{"type":"string"},"Receipt":{"$ref":"#/definitions/ChargePaymentMethodDetailsInteracPresentReceipt"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsInteracPresent","type":"object"},"ChargePaymentMethodDetailsInteracPresentReceipt":{"title":"ChargePaymentMethodDetailsInteracPresentReceipt","properties":{"AccountType":{"type":"string"},"ApplicationCryptogram":{"type":"string"},"ApplicationPreferredName":{"type":"string"},"AuthorizationCode":{"type":"string"},"AuthorizationResponseCode":{"type":"string"},"CardholderVerificationMethod":{"type":"string"},"DedicatedFileName":{"type":"string"},"TerminalVerificationResults":{"type":"string"},"TransactionStatusInformation":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsInteracPresentReceipt","type":"object"},"ChargePaymentMethodDetailsKakaoPay":{"title":"ChargePaymentMethodDetailsKakaoPay","properties":{"BuyerId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsKakaoPay","type":"object"},"ChargePaymentMethodDetailsKlarna":{"title":"ChargePaymentMethodDetailsKlarna","properties":{"PayerDetails":{"$ref":"#/definitions/ChargePaymentMethodDetailsKlarnaPayerDetails"},"PaymentMethodCategory":{"type":"string"},"PreferredLocale":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsKlarna","type":"object"},"ChargePaymentMethodDetailsKlarnaPayerDetails":{"title":"ChargePaymentMethodDetailsKlarnaPayerDetails","properties":{"Address":{"$ref":"#/definitions/ChargePaymentMethodDetailsKlarnaPayerDetailsAddress"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsKlarnaPayerDetails","type":"object"},"ChargePaymentMethodDetailsKlarnaPayerDetailsAddress":{"title":"ChargePaymentMethodDetailsKlarnaPayerDetailsAddress","properties":{"Country":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsKlarnaPayerDetailsAddress","type":"object"},"ChargePaymentMethodDetailsKonbini":{"title":"ChargePaymentMethodDetailsKonbini","properties":{"Store":{"$ref":"#/definitions/ChargePaymentMethodDetailsKonbiniStore"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsKonbini","type":"object"},"ChargePaymentMethodDetailsKonbiniStore":{"title":"ChargePaymentMethodDetailsKonbiniStore","properties":{"Chain":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsKonbiniStore","type":"object"},"ChargePaymentMethodDetailsKrCard":{"title":"ChargePaymentMethodDetailsKrCard","properties":{"Brand":{"type":"string"},"BuyerId":{"type":"string"},"Last4":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsKrCard","type":"object"},"ChargePaymentMethodDetailsLink":{"title":"ChargePaymentMethodDetailsLink","properties":{"Country":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsLink","type":"object"},"ChargePaymentMethodDetailsMobilepay":{"title":"ChargePaymentMethodDetailsMobilepay","properties":{"Card":{"$ref":"#/definitions/ChargePaymentMethodDetailsMobilepayCard"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsMobilepay","type":"object"},"ChargePaymentMethodDetailsMobilepayCard":{"title":"ChargePaymentMethodDetailsMobilepayCard","properties":{"Brand":{"type":"string"},"Country":{"type":"string"},"ExpMonth":{"type":"integer","format":"int64"},"ExpYear":{"type":"integer","format":"int64"},"Last4":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsMobilepayCard","type":"object"},"ChargePaymentMethodDetailsMultibanco":{"title":"ChargePaymentMethodDetailsMultibanco","properties":{"Entity":{"type":"string"},"Reference":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsMultibanco","type":"object"},"ChargePaymentMethodDetailsNaverPay":{"title":"ChargePaymentMethodDetailsNaverPay","properties":{"BuyerId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsNaverPay","type":"object"},"ChargePaymentMethodDetailsNzBankAccount":{"title":"ChargePaymentMethodDetailsNzBankAccount","properties":{"AccountHolderName":{"type":"string"},"BankCode":{"type":"string"},"BankName":{"type":"string"},"BranchCode":{"type":"string"},"Last4":{"type":"string"},"Suffix":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsNzBankAccount","type":"object"},"ChargePaymentMethodDetailsOxxo":{"title":"ChargePaymentMethodDetailsOxxo","properties":{"Number":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsOxxo","type":"object"},"ChargePaymentMethodDetailsP24":{"title":"ChargePaymentMethodDetailsP24","properties":{"Bank":{"type":"string"},"Reference":{"type":"string"},"VerifiedName":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsP24","type":"object"},"ChargePaymentMethodDetailsPayByBank":{"title":"ChargePaymentMethodDetailsPayByBank","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsPayByBank","type":"object"},"ChargePaymentMethodDetailsPayco":{"title":"ChargePaymentMethodDetailsPayco","properties":{"BuyerId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsPayco","type":"object"},"ChargePaymentMethodDetailsPaynow":{"title":"ChargePaymentMethodDetailsPaynow","properties":{"Reference":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsPaynow","type":"object"},"ChargePaymentMethodDetailsPaypal":{"title":"ChargePaymentMethodDetailsPaypal","properties":{"Country":{"type":"string"},"PayerEmail":{"type":"string"},"PayerId":{"type":"string"},"PayerName":{"type":"string"},"SellerProtection":{"$ref":"#/definitions/ChargePaymentMethodDetailsPaypalSellerProtection"},"TransactionId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsPaypal","type":"object"},"ChargePaymentMethodDetailsPaypalSellerProtection":{"title":"ChargePaymentMethodDetailsPaypalSellerProtection","properties":{"DisputeCategories":{"type":"array","items":{"type":"string"}},"Status":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsPaypalSellerProtection","type":"object"},"ChargePaymentMethodDetailsPix":{"title":"ChargePaymentMethodDetailsPix","properties":{"BankTransactionId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsPix","type":"object"},"ChargePaymentMethodDetailsPromptpay":{"title":"ChargePaymentMethodDetailsPromptpay","properties":{"Reference":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsPromptpay","type":"object"},"ChargePaymentMethodDetailsRevolutPay":{"title":"ChargePaymentMethodDetailsRevolutPay","properties":{"Funding":{"$ref":"#/definitions/ChargePaymentMethodDetailsRevolutPayFunding"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsRevolutPay","type":"object"},"ChargePaymentMethodDetailsRevolutPayFunding":{"title":"ChargePaymentMethodDetailsRevolutPayFunding","properties":{"Card":{"$ref":"#/definitions/ChargePaymentMethodDetailsRevolutPayFundingCard"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsRevolutPayFunding","type":"object"},"ChargePaymentMethodDetailsRevolutPayFundingCard":{"title":"ChargePaymentMethodDetailsRevolutPayFundingCard","properties":{"Brand":{"type":"string"},"Country":{"type":"string"},"ExpMonth":{"type":"integer","format":"int64"},"ExpYear":{"type":"integer","format":"int64"},"Funding":{"type":"string"},"Last4":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsRevolutPayFundingCard","type":"object"},"ChargePaymentMethodDetailsSamsungPay":{"title":"ChargePaymentMethodDetailsSamsungPay","properties":{"BuyerId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsSamsungPay","type":"object"},"ChargePaymentMethodDetailsSatispay":{"title":"ChargePaymentMethodDetailsSatispay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsSatispay","type":"object"},"ChargePaymentMethodDetailsSepaDebit":{"title":"ChargePaymentMethodDetailsSepaDebit","properties":{"BankCode":{"type":"string"},"BranchCode":{"type":"string"},"Country":{"type":"string"},"Fingerprint":{"type":"string"},"Last4":{"type":"string"},"Mandate":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsSepaDebit","type":"object"},"ChargePaymentMethodDetailsSofort":{"title":"ChargePaymentMethodDetailsSofort","properties":{"BankCode":{"type":"string"},"BankName":{"type":"string"},"Bic":{"type":"string"},"Country":{"type":"string"},"GeneratedSepaDebitId":{"type":"string"},"GeneratedSepaDebit":{"$ref":"#/definitions/PaymentMethod"},"GeneratedSepaDebitMandateId":{"type":"string"},"GeneratedSepaDebitMandate":{"$ref":"#/definitions/Mandate"},"IbanLast4":{"type":"string"},"PreferredLanguage":{"type":"string"},"VerifiedName":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsSofort","type":"object"},"ChargePaymentMethodDetailsStripeAccount":{"title":"ChargePaymentMethodDetailsStripeAccount","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsStripeAccount","type":"object"},"ChargePaymentMethodDetailsSwish":{"title":"ChargePaymentMethodDetailsSwish","properties":{"Fingerprint":{"type":"string"},"PaymentReference":{"type":"string"},"VerifiedPhoneLast4":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsSwish","type":"object"},"ChargePaymentMethodDetailsTwint":{"title":"ChargePaymentMethodDetailsTwint","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsTwint","type":"object"},"ChargePaymentMethodDetailsUsBankAccount":{"title":"ChargePaymentMethodDetailsUsBankAccount","properties":{"AccountHolderType":{"type":"string"},"AccountType":{"type":"string"},"BankName":{"type":"string"},"Fingerprint":{"type":"string"},"Last4":{"type":"string"},"MandateId":{"type":"string"},"Mandate":{"$ref":"#/definitions/Mandate"},"PaymentReference":{"type":"string"},"RoutingNumber":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsUsBankAccount","type":"object"},"ChargePaymentMethodDetailsWechat":{"title":"ChargePaymentMethodDetailsWechat","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsWechat","type":"object"},"ChargePaymentMethodDetailsWechatPay":{"title":"ChargePaymentMethodDetailsWechatPay","properties":{"Fingerprint":{"type":"string"},"TransactionId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsWechatPay","type":"object"},"ChargePaymentMethodDetailsZip":{"title":"ChargePaymentMethodDetailsZip","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePaymentMethodDetailsZip","type":"object"},"ChargePresentmentDetails":{"title":"ChargePresentmentDetails","properties":{"PresentmentAmount":{"type":"integer","format":"int64","x-nullable":false},"PresentmentCurrency":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargePresentmentDetails","type":"object"},"ChargeRadarOptions":{"title":"ChargeRadarOptions","properties":{"Session":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargeRadarOptions","type":"object"},"StripeList_Refund_":{"title":"StripeList\u00601","properties":{"Object":{"type":"string"},"Data":{"type":"array","items":{"$ref":"#/definitions/Refund"}},"HasMore":{"type":"boolean","x-nullable":false},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"StripeList\u003CRefund\u003E","type":"object"},"Refund":{"title":"Refund","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Amount":{"type":"integer","format":"int64","x-nullable":false},"BalanceTransactionId":{"type":"string"},"BalanceTransaction":{"$ref":"#/definitions/BalanceTransaction"},"ChargeId":{"type":"string"},"Charge":{"$ref":"#/definitions/Charge"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Currency":{"type":"string"},"Description":{"type":"string"},"DestinationDetails":{"$ref":"#/definitions/RefundDestinationDetails"},"FailureBalanceTransactionId":{"type":"string"},"FailureBalanceTransaction":{"$ref":"#/definitions/BalanceTransaction"},"FailureReason":{"type":"string"},"InstructionsEmail":{"type":"string"},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"NextAction":{"$ref":"#/definitions/RefundNextAction"},"PaymentIntentId":{"type":"string"},"PaymentIntent":{"$ref":"#/definitions/PaymentIntent"},"PresentmentDetails":{"$ref":"#/definitions/RefundPresentmentDetails"},"Reason":{"type":"string"},"ReceiptNumber":{"type":"string"},"SourceTransferReversalId":{"type":"string"},"SourceTransferReversal":{"$ref":"#/definitions/TransferReversal"},"Status":{"type":"string"},"TransferReversalId":{"type":"string"},"TransferReversal":{"$ref":"#/definitions/TransferReversal"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Refund","type":"object"},"RefundDestinationDetails":{"title":"RefundDestinationDetails","properties":{"Affirm":{"$ref":"#/definitions/RefundDestinationDetailsAffirm"},"AfterpayClearpay":{"$ref":"#/definitions/RefundDestinationDetailsAfterpayClearpay"},"Alipay":{"$ref":"#/definitions/RefundDestinationDetailsAlipay"},"Alma":{"$ref":"#/definitions/RefundDestinationDetailsAlma"},"AmazonPay":{"$ref":"#/definitions/RefundDestinationDetailsAmazonPay"},"AuBankTransfer":{"$ref":"#/definitions/RefundDestinationDetailsAuBankTransfer"},"Blik":{"$ref":"#/definitions/RefundDestinationDetailsBlik"},"BrBankTransfer":{"$ref":"#/definitions/RefundDestinationDetailsBrBankTransfer"},"Card":{"$ref":"#/definitions/RefundDestinationDetailsCard"},"Cashapp":{"$ref":"#/definitions/RefundDestinationDetailsCashapp"},"CustomerCashBalance":{"$ref":"#/definitions/RefundDestinationDetailsCustomerCashBalance"},"Eps":{"$ref":"#/definitions/RefundDestinationDetailsEps"},"EuBankTransfer":{"$ref":"#/definitions/RefundDestinationDetailsEuBankTransfer"},"GbBankTransfer":{"$ref":"#/definitions/RefundDestinationDetailsGbBankTransfer"},"Giropay":{"$ref":"#/definitions/RefundDestinationDetailsGiropay"},"Grabpay":{"$ref":"#/definitions/RefundDestinationDetailsGrabpay"},"JpBankTransfer":{"$ref":"#/definitions/RefundDestinationDetailsJpBankTransfer"},"Klarna":{"$ref":"#/definitions/RefundDestinationDetailsKlarna"},"Multibanco":{"$ref":"#/definitions/RefundDestinationDetailsMultibanco"},"MxBankTransfer":{"$ref":"#/definitions/RefundDestinationDetailsMxBankTransfer"},"NzBankTransfer":{"$ref":"#/definitions/RefundDestinationDetailsNzBankTransfer"},"P24":{"$ref":"#/definitions/RefundDestinationDetailsP24"},"Paynow":{"$ref":"#/definitions/RefundDestinationDetailsPaynow"},"Paypal":{"$ref":"#/definitions/RefundDestinationDetailsPaypal"},"Pix":{"$ref":"#/definitions/RefundDestinationDetailsPix"},"Revolut":{"$ref":"#/definitions/RefundDestinationDetailsRevolut"},"Sofort":{"$ref":"#/definitions/RefundDestinationDetailsSofort"},"Swish":{"$ref":"#/definitions/RefundDestinationDetailsSwish"},"ThBankTransfer":{"$ref":"#/definitions/RefundDestinationDetailsThBankTransfer"},"Type":{"type":"string"},"UsBankTransfer":{"$ref":"#/definitions/RefundDestinationDetailsUsBankTransfer"},"WechatPay":{"$ref":"#/definitions/RefundDestinationDetailsWechatPay"},"Zip":{"$ref":"#/definitions/RefundDestinationDetailsZip"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetails","type":"object"},"RefundDestinationDetailsAffirm":{"title":"RefundDestinationDetailsAffirm","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsAffirm","type":"object"},"RefundDestinationDetailsAfterpayClearpay":{"title":"RefundDestinationDetailsAfterpayClearpay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsAfterpayClearpay","type":"object"},"RefundDestinationDetailsAlipay":{"title":"RefundDestinationDetailsAlipay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsAlipay","type":"object"},"RefundDestinationDetailsAlma":{"title":"RefundDestinationDetailsAlma","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsAlma","type":"object"},"RefundDestinationDetailsAmazonPay":{"title":"RefundDestinationDetailsAmazonPay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsAmazonPay","type":"object"},"RefundDestinationDetailsAuBankTransfer":{"title":"RefundDestinationDetailsAuBankTransfer","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsAuBankTransfer","type":"object"},"RefundDestinationDetailsBlik":{"title":"RefundDestinationDetailsBlik","properties":{"NetworkDeclineCode":{"type":"string"},"Reference":{"type":"string"},"ReferenceStatus":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsBlik","type":"object"},"RefundDestinationDetailsBrBankTransfer":{"title":"RefundDestinationDetailsBrBankTransfer","properties":{"Reference":{"type":"string"},"ReferenceStatus":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsBrBankTransfer","type":"object"},"RefundDestinationDetailsCard":{"title":"RefundDestinationDetailsCard","properties":{"Reference":{"type":"string"},"ReferenceStatus":{"type":"string"},"ReferenceType":{"type":"string"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsCard","type":"object"},"RefundDestinationDetailsCashapp":{"title":"RefundDestinationDetailsCashapp","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsCashapp","type":"object"},"RefundDestinationDetailsCustomerCashBalance":{"title":"RefundDestinationDetailsCustomerCashBalance","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsCustomerCashBalance","type":"object"},"RefundDestinationDetailsEps":{"title":"RefundDestinationDetailsEps","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsEps","type":"object"},"RefundDestinationDetailsEuBankTransfer":{"title":"RefundDestinationDetailsEuBankTransfer","properties":{"Reference":{"type":"string"},"ReferenceStatus":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsEuBankTransfer","type":"object"},"RefundDestinationDetailsGbBankTransfer":{"title":"RefundDestinationDetailsGbBankTransfer","properties":{"Reference":{"type":"string"},"ReferenceStatus":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsGbBankTransfer","type":"object"},"RefundDestinationDetailsGiropay":{"title":"RefundDestinationDetailsGiropay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsGiropay","type":"object"},"RefundDestinationDetailsGrabpay":{"title":"RefundDestinationDetailsGrabpay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsGrabpay","type":"object"},"RefundDestinationDetailsJpBankTransfer":{"title":"RefundDestinationDetailsJpBankTransfer","properties":{"Reference":{"type":"string"},"ReferenceStatus":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsJpBankTransfer","type":"object"},"RefundDestinationDetailsKlarna":{"title":"RefundDestinationDetailsKlarna","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsKlarna","type":"object"},"RefundDestinationDetailsMultibanco":{"title":"RefundDestinationDetailsMultibanco","properties":{"Reference":{"type":"string"},"ReferenceStatus":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsMultibanco","type":"object"},"RefundDestinationDetailsMxBankTransfer":{"title":"RefundDestinationDetailsMxBankTransfer","properties":{"Reference":{"type":"string"},"ReferenceStatus":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsMxBankTransfer","type":"object"},"RefundDestinationDetailsNzBankTransfer":{"title":"RefundDestinationDetailsNzBankTransfer","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsNzBankTransfer","type":"object"},"RefundDestinationDetailsP24":{"title":"RefundDestinationDetailsP24","properties":{"Reference":{"type":"string"},"ReferenceStatus":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsP24","type":"object"},"RefundDestinationDetailsPaynow":{"title":"RefundDestinationDetailsPaynow","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsPaynow","type":"object"},"RefundDestinationDetailsPaypal":{"title":"RefundDestinationDetailsPaypal","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsPaypal","type":"object"},"RefundDestinationDetailsPix":{"title":"RefundDestinationDetailsPix","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsPix","type":"object"},"RefundDestinationDetailsRevolut":{"title":"RefundDestinationDetailsRevolut","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsRevolut","type":"object"},"RefundDestinationDetailsSofort":{"title":"RefundDestinationDetailsSofort","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsSofort","type":"object"},"RefundDestinationDetailsSwish":{"title":"RefundDestinationDetailsSwish","properties":{"NetworkDeclineCode":{"type":"string"},"Reference":{"type":"string"},"ReferenceStatus":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsSwish","type":"object"},"RefundDestinationDetailsThBankTransfer":{"title":"RefundDestinationDetailsThBankTransfer","properties":{"Reference":{"type":"string"},"ReferenceStatus":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsThBankTransfer","type":"object"},"RefundDestinationDetailsUsBankTransfer":{"title":"RefundDestinationDetailsUsBankTransfer","properties":{"Reference":{"type":"string"},"ReferenceStatus":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsUsBankTransfer","type":"object"},"RefundDestinationDetailsWechatPay":{"title":"RefundDestinationDetailsWechatPay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsWechatPay","type":"object"},"RefundDestinationDetailsZip":{"title":"RefundDestinationDetailsZip","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundDestinationDetailsZip","type":"object"},"RefundNextAction":{"title":"RefundNextAction","properties":{"DisplayDetails":{"$ref":"#/definitions/RefundNextActionDisplayDetails"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundNextAction","type":"object"},"RefundNextActionDisplayDetails":{"title":"RefundNextActionDisplayDetails","properties":{"EmailSent":{"$ref":"#/definitions/RefundNextActionDisplayDetailsEmailSent"},"ExpiresAt":{"type":"string","format":"date-time","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundNextActionDisplayDetails","type":"object"},"RefundNextActionDisplayDetailsEmailSent":{"title":"RefundNextActionDisplayDetailsEmailSent","properties":{"EmailSentAt":{"type":"string","format":"date-time","x-nullable":false},"EmailSentTo":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundNextActionDisplayDetailsEmailSent","type":"object"},"RefundPresentmentDetails":{"title":"RefundPresentmentDetails","properties":{"PresentmentAmount":{"type":"integer","format":"int64","x-nullable":false},"PresentmentCurrency":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"RefundPresentmentDetails","type":"object"},"TransferReversal":{"title":"TransferReversal","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Amount":{"type":"integer","format":"int64","x-nullable":false},"BalanceTransactionId":{"type":"string"},"BalanceTransaction":{"$ref":"#/definitions/BalanceTransaction"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Currency":{"type":"string"},"DestinationPaymentRefundId":{"type":"string"},"DestinationPaymentRefund":{"$ref":"#/definitions/Refund"},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"SourceRefundId":{"type":"string"},"SourceRefund":{"$ref":"#/definitions/Refund"},"TransferId":{"type":"string"},"Transfer":{"$ref":"#/definitions/Transfer"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"TransferReversal","type":"object"},"Transfer":{"title":"Transfer","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Amount":{"type":"integer","format":"int64","x-nullable":false},"AmountReversed":{"type":"integer","format":"int64","x-nullable":false},"BalanceTransactionId":{"type":"string"},"BalanceTransaction":{"$ref":"#/definitions/BalanceTransaction"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Currency":{"type":"string"},"Description":{"type":"string"},"DestinationId":{"type":"string"},"Destination":{"$ref":"#/definitions/Account"},"DestinationPaymentId":{"type":"string"},"DestinationPayment":{"$ref":"#/definitions/Charge"},"Livemode":{"type":"boolean","x-nullable":false},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"Reversals":{"$ref":"#/definitions/StripeList_TransferReversal_"},"Reversed":{"type":"boolean","x-nullable":false},"SourceTransactionId":{"type":"string"},"SourceTransaction":{"$ref":"#/definitions/Charge"},"SourceType":{"type":"string"},"TransferGroup":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Transfer","type":"object"},"StripeList_TransferReversal_":{"title":"StripeList\u00601","properties":{"Object":{"type":"string"},"Data":{"type":"array","items":{"$ref":"#/definitions/TransferReversal"}},"HasMore":{"type":"boolean","x-nullable":false},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"StripeList\u003CTransferReversal\u003E","type":"object"},"Review":{"title":"Review","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"BillingZip":{"type":"string"},"ChargeId":{"type":"string"},"Charge":{"$ref":"#/definitions/Charge"},"ClosedReason":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"IpAddress":{"type":"string"},"IpAddressLocation":{"$ref":"#/definitions/ReviewLocation"},"Livemode":{"type":"boolean","x-nullable":false},"Open":{"type":"boolean","x-nullable":false},"OpenedReason":{"type":"string"},"PaymentIntentId":{"type":"string"},"PaymentIntent":{"$ref":"#/definitions/PaymentIntent"},"Reason":{"type":"string"},"Session":{"$ref":"#/definitions/ReviewSession"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Review","type":"object"},"ReviewLocation":{"title":"ReviewLocation","properties":{"City":{"type":"string"},"Country":{"type":"string"},"Latitude":{"type":"number","format":"double"},"Longitude":{"type":"number","format":"double"},"Region":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ReviewLocation","type":"object"},"ReviewSession":{"title":"ReviewSession","properties":{"Browser":{"type":"string"},"Device":{"type":"string"},"Platform":{"type":"string"},"Version":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ReviewSession","type":"object"},"ChargeTransferData":{"title":"ChargeTransferData","properties":{"Amount":{"type":"integer","format":"int64"},"DestinationId":{"type":"string"},"Destination":{"$ref":"#/definitions/Account"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ChargeTransferData","type":"object"},"PaymentIntentNextAction":{"title":"PaymentIntentNextAction","properties":{"AlipayHandleRedirect":{"$ref":"#/definitions/PaymentIntentNextActionAlipayHandleRedirect"},"BoletoDisplayDetails":{"$ref":"#/definitions/PaymentIntentNextActionBoletoDisplayDetails"},"CardAwaitNotification":{"$ref":"#/definitions/PaymentIntentNextActionCardAwaitNotification"},"CashappHandleRedirectOrDisplayQrCode":{"$ref":"#/definitions/PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode"},"DisplayBankTransferInstructions":{"$ref":"#/definitions/PaymentIntentNextActionDisplayBankTransferInstructions"},"KonbiniDisplayDetails":{"$ref":"#/definitions/PaymentIntentNextActionKonbiniDisplayDetails"},"MultibancoDisplayDetails":{"$ref":"#/definitions/PaymentIntentNextActionMultibancoDisplayDetails"},"OxxoDisplayDetails":{"$ref":"#/definitions/PaymentIntentNextActionOxxoDisplayDetails"},"PaynowDisplayQrCode":{"$ref":"#/definitions/PaymentIntentNextActionPaynowDisplayQrCode"},"PixDisplayQrCode":{"$ref":"#/definitions/PaymentIntentNextActionPixDisplayQrCode"},"PromptpayDisplayQrCode":{"$ref":"#/definitions/PaymentIntentNextActionPromptpayDisplayQrCode"},"RedirectToUrl":{"$ref":"#/definitions/PaymentIntentNextActionRedirectToUrl"},"SwishHandleRedirectOrDisplayQrCode":{"$ref":"#/definitions/PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode"},"Type":{"type":"string"},"UseStripeSdk":{"$ref":"#/definitions/PaymentIntentNextActionUseStripeSdk"},"VerifyWithMicrodeposits":{"$ref":"#/definitions/PaymentIntentNextActionVerifyWithMicrodeposits"},"WechatPayDisplayQrCode":{"$ref":"#/definitions/PaymentIntentNextActionWechatPayDisplayQrCode"},"WechatPayRedirectToAndroidApp":{"$ref":"#/definitions/PaymentIntentNextActionWechatPayRedirectToAndroidApp"},"WechatPayRedirectToIosApp":{"$ref":"#/definitions/PaymentIntentNextActionWechatPayRedirectToIosApp"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextAction","type":"object"},"PaymentIntentNextActionAlipayHandleRedirect":{"title":"PaymentIntentNextActionAlipayHandleRedirect","properties":{"NativeData":{"type":"string"},"NativeUrl":{"type":"string"},"ReturnUrl":{"type":"string"},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionAlipayHandleRedirect","type":"object"},"PaymentIntentNextActionBoletoDisplayDetails":{"title":"PaymentIntentNextActionBoletoDisplayDetails","properties":{"ExpiresAt":{"type":"string","format":"date-time"},"HostedVoucherUrl":{"type":"string"},"Number":{"type":"string"},"Pdf":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionBoletoDisplayDetails","type":"object"},"PaymentIntentNextActionCardAwaitNotification":{"title":"PaymentIntentNextActionCardAwaitNotification","properties":{"ChargeAttemptAt":{"type":"string","format":"date-time"},"CustomerApprovalRequired":{"type":"boolean"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionCardAwaitNotification","type":"object"},"PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode":{"title":"PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode","properties":{"HostedInstructionsUrl":{"type":"string"},"MobileAuthUrl":{"type":"string"},"QrCode":{"$ref":"#/definitions/PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode","type":"object"},"PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode":{"title":"PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode","properties":{"ExpiresAt":{"type":"string","format":"date-time","x-nullable":false},"ImageUrlPng":{"type":"string"},"ImageUrlSvg":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode","type":"object"},"PaymentIntentNextActionDisplayBankTransferInstructions":{"title":"PaymentIntentNextActionDisplayBankTransferInstructions","properties":{"AmountRemaining":{"type":"integer","format":"int64"},"Currency":{"type":"string"},"FinancialAddresses":{"type":"array","items":{"$ref":"#/definitions/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress"}},"HostedInstructionsUrl":{"type":"string"},"Reference":{"type":"string"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionDisplayBankTransferInstructions","type":"object"},"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress":{"title":"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress","properties":{"Aba":{"$ref":"#/definitions/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressAba"},"Iban":{"$ref":"#/definitions/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban"},"SortCode":{"$ref":"#/definitions/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode"},"Spei":{"$ref":"#/definitions/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei"},"SupportedNetworks":{"type":"array","items":{"type":"string"}},"Swift":{"$ref":"#/definitions/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSwift"},"Type":{"type":"string"},"Zengin":{"$ref":"#/definitions/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress","type":"object"},"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressAba":{"title":"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressAba","properties":{"AccountHolderAddress":{"$ref":"#/definitions/Address"},"AccountHolderName":{"type":"string"},"AccountNumber":{"type":"string"},"AccountType":{"type":"string"},"BankAddress":{"$ref":"#/definitions/Address"},"BankName":{"type":"string"},"RoutingNumber":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressAba","type":"object"},"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban":{"title":"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban","properties":{"AccountHolderAddress":{"$ref":"#/definitions/Address"},"AccountHolderName":{"type":"string"},"BankAddress":{"$ref":"#/definitions/Address"},"Bic":{"type":"string"},"Country":{"type":"string"},"Iban":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban","type":"object"},"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode":{"title":"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode","properties":{"AccountHolderAddress":{"$ref":"#/definitions/Address"},"AccountHolderName":{"type":"string"},"AccountNumber":{"type":"string"},"BankAddress":{"$ref":"#/definitions/Address"},"SortCode":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode","type":"object"},"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei":{"title":"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei","properties":{"AccountHolderAddress":{"$ref":"#/definitions/Address"},"AccountHolderName":{"type":"string"},"BankAddress":{"$ref":"#/definitions/Address"},"BankCode":{"type":"string"},"BankName":{"type":"string"},"Clabe":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei","type":"object"},"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSwift":{"title":"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSwift","properties":{"AccountHolderAddress":{"$ref":"#/definitions/Address"},"AccountHolderName":{"type":"string"},"AccountNumber":{"type":"string"},"AccountType":{"type":"string"},"BankAddress":{"$ref":"#/definitions/Address"},"BankName":{"type":"string"},"SwiftCode":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSwift","type":"object"},"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin":{"title":"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin","properties":{"AccountHolderAddress":{"$ref":"#/definitions/Address"},"AccountHolderName":{"type":"string"},"AccountNumber":{"type":"string"},"AccountType":{"type":"string"},"BankAddress":{"$ref":"#/definitions/Address"},"BankCode":{"type":"string"},"BankName":{"type":"string"},"BranchCode":{"type":"string"},"BranchName":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin","type":"object"},"PaymentIntentNextActionKonbiniDisplayDetails":{"title":"PaymentIntentNextActionKonbiniDisplayDetails","properties":{"ExpiresAt":{"type":"string","format":"date-time","x-nullable":false},"HostedVoucherUrl":{"type":"string"},"Stores":{"$ref":"#/definitions/PaymentIntentNextActionKonbiniDisplayDetailsStores"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionKonbiniDisplayDetails","type":"object"},"PaymentIntentNextActionKonbiniDisplayDetailsStores":{"title":"PaymentIntentNextActionKonbiniDisplayDetailsStores","properties":{"Familymart":{"$ref":"#/definitions/PaymentIntentNextActionKonbiniDisplayDetailsStoresFamilymart"},"Lawson":{"$ref":"#/definitions/PaymentIntentNextActionKonbiniDisplayDetailsStoresLawson"},"Ministop":{"$ref":"#/definitions/PaymentIntentNextActionKonbiniDisplayDetailsStoresMinistop"},"Seicomart":{"$ref":"#/definitions/PaymentIntentNextActionKonbiniDisplayDetailsStoresSeicomart"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionKonbiniDisplayDetailsStores","type":"object"},"PaymentIntentNextActionKonbiniDisplayDetailsStoresFamilymart":{"title":"PaymentIntentNextActionKonbiniDisplayDetailsStoresFamilymart","properties":{"ConfirmationNumber":{"type":"string"},"PaymentCode":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionKonbiniDisplayDetailsStoresFamilymart","type":"object"},"PaymentIntentNextActionKonbiniDisplayDetailsStoresLawson":{"title":"PaymentIntentNextActionKonbiniDisplayDetailsStoresLawson","properties":{"ConfirmationNumber":{"type":"string"},"PaymentCode":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionKonbiniDisplayDetailsStoresLawson","type":"object"},"PaymentIntentNextActionKonbiniDisplayDetailsStoresMinistop":{"title":"PaymentIntentNextActionKonbiniDisplayDetailsStoresMinistop","properties":{"ConfirmationNumber":{"type":"string"},"PaymentCode":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionKonbiniDisplayDetailsStoresMinistop","type":"object"},"PaymentIntentNextActionKonbiniDisplayDetailsStoresSeicomart":{"title":"PaymentIntentNextActionKonbiniDisplayDetailsStoresSeicomart","properties":{"ConfirmationNumber":{"type":"string"},"PaymentCode":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionKonbiniDisplayDetailsStoresSeicomart","type":"object"},"PaymentIntentNextActionMultibancoDisplayDetails":{"title":"PaymentIntentNextActionMultibancoDisplayDetails","properties":{"Entity":{"type":"string"},"ExpiresAt":{"type":"string","format":"date-time"},"HostedVoucherUrl":{"type":"string"},"Reference":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionMultibancoDisplayDetails","type":"object"},"PaymentIntentNextActionOxxoDisplayDetails":{"title":"PaymentIntentNextActionOxxoDisplayDetails","properties":{"ExpiresAfter":{"type":"string","format":"date-time"},"HostedVoucherUrl":{"type":"string"},"Number":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionOxxoDisplayDetails","type":"object"},"PaymentIntentNextActionPaynowDisplayQrCode":{"title":"PaymentIntentNextActionPaynowDisplayQrCode","properties":{"Data":{"type":"string"},"HostedInstructionsUrl":{"type":"string"},"ImageUrlPng":{"type":"string"},"ImageUrlSvg":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionPaynowDisplayQrCode","type":"object"},"PaymentIntentNextActionPixDisplayQrCode":{"title":"PaymentIntentNextActionPixDisplayQrCode","properties":{"Data":{"type":"string"},"ExpiresAt":{"type":"string","format":"date-time","x-nullable":false},"HostedInstructionsUrl":{"type":"string"},"ImageUrlPng":{"type":"string"},"ImageUrlSvg":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionPixDisplayQrCode","type":"object"},"PaymentIntentNextActionPromptpayDisplayQrCode":{"title":"PaymentIntentNextActionPromptpayDisplayQrCode","properties":{"Data":{"type":"string"},"HostedInstructionsUrl":{"type":"string"},"ImageUrlPng":{"type":"string"},"ImageUrlSvg":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionPromptpayDisplayQrCode","type":"object"},"PaymentIntentNextActionRedirectToUrl":{"title":"PaymentIntentNextActionRedirectToUrl","properties":{"ReturnUrl":{"type":"string"},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionRedirectToUrl","type":"object"},"PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode":{"title":"PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode","properties":{"HostedInstructionsUrl":{"type":"string"},"MobileAuthUrl":{"type":"string"},"QrCode":{"$ref":"#/definitions/PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCodeQrCode"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode","type":"object"},"PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCodeQrCode":{"title":"PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCodeQrCode","properties":{"Data":{"type":"string"},"ImageUrlPng":{"type":"string"},"ImageUrlSvg":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCodeQrCode","type":"object"},"PaymentIntentNextActionUseStripeSdk":{"title":"PaymentIntentNextActionUseStripeSdk","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionUseStripeSdk","type":"object"},"PaymentIntentNextActionVerifyWithMicrodeposits":{"title":"PaymentIntentNextActionVerifyWithMicrodeposits","properties":{"ArrivalDate":{"type":"string","format":"date-time","x-nullable":false},"HostedVerificationUrl":{"type":"string"},"MicrodepositType":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionVerifyWithMicrodeposits","type":"object"},"PaymentIntentNextActionWechatPayDisplayQrCode":{"title":"PaymentIntentNextActionWechatPayDisplayQrCode","properties":{"Data":{"type":"string"},"HostedInstructionsUrl":{"type":"string"},"ImageDataUrl":{"type":"string"},"ImageUrlPng":{"type":"string"},"ImageUrlSvg":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionWechatPayDisplayQrCode","type":"object"},"PaymentIntentNextActionWechatPayRedirectToAndroidApp":{"title":"PaymentIntentNextActionWechatPayRedirectToAndroidApp","properties":{"AppId":{"type":"string"},"NonceStr":{"type":"string"},"Package":{"type":"string"},"PartnerId":{"type":"string"},"PrepayId":{"type":"string"},"Sign":{"type":"string"},"Timestamp":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionWechatPayRedirectToAndroidApp","type":"object"},"PaymentIntentNextActionWechatPayRedirectToIosApp":{"title":"PaymentIntentNextActionWechatPayRedirectToIosApp","properties":{"NativeUrl":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentNextActionWechatPayRedirectToIosApp","type":"object"},"PaymentIntentPaymentMethodConfigurationDetails":{"title":"PaymentIntentPaymentMethodConfigurationDetails","properties":{"Id":{"type":"string"},"Parent":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodConfigurationDetails","type":"object"},"PaymentIntentPaymentMethodOptions":{"title":"PaymentIntentPaymentMethodOptions","properties":{"AcssDebit":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsAcssDebit"},"Affirm":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsAffirm"},"AfterpayClearpay":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsAfterpayClearpay"},"Alipay":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsAlipay"},"Alma":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsAlma"},"AmazonPay":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsAmazonPay"},"AuBecsDebit":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsAuBecsDebit"},"BacsDebit":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsBacsDebit"},"Bancontact":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsBancontact"},"Blik":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsBlik"},"Boleto":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsBoleto"},"Card":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsCard"},"CardPresent":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsCardPresent"},"Cashapp":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsCashapp"},"CustomerBalance":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsCustomerBalance"},"Eps":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsEps"},"Fpx":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsFpx"},"Giropay":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsGiropay"},"Grabpay":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsGrabpay"},"Ideal":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsIdeal"},"InteracPresent":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsInteracPresent"},"KakaoPay":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsKakaoPay"},"Klarna":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsKlarna"},"Konbini":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsKonbini"},"KrCard":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsKrCard"},"Link":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsLink"},"Mobilepay":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsMobilepay"},"Multibanco":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsMultibanco"},"NaverPay":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsNaverPay"},"NzBankAccount":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsNzBankAccount"},"Oxxo":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsOxxo"},"P24":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsP24"},"PayByBank":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsPayByBank"},"Payco":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsPayco"},"Paynow":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsPaynow"},"Paypal":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsPaypal"},"Pix":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsPix"},"Promptpay":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsPromptpay"},"RevolutPay":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsRevolutPay"},"SamsungPay":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsSamsungPay"},"SepaDebit":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsSepaDebit"},"Sofort":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsSofort"},"Swish":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsSwish"},"Twint":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsTwint"},"UsBankAccount":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsUsBankAccount"},"WechatPay":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsWechatPay"},"Zip":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsZip"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptions","type":"object"},"PaymentIntentPaymentMethodOptionsAcssDebit":{"title":"PaymentIntentPaymentMethodOptionsAcssDebit","properties":{"MandateOptions":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsAcssDebitMandateOptions"},"SetupFutureUsage":{"type":"string"},"TargetDate":{"type":"string"},"VerificationMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsAcssDebit","type":"object"},"PaymentIntentPaymentMethodOptionsAcssDebitMandateOptions":{"title":"PaymentIntentPaymentMethodOptionsAcssDebitMandateOptions","properties":{"CustomMandateUrl":{"type":"string"},"IntervalDescription":{"type":"string"},"PaymentSchedule":{"type":"string"},"TransactionType":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsAcssDebitMandateOptions","type":"object"},"PaymentIntentPaymentMethodOptionsAffirm":{"title":"PaymentIntentPaymentMethodOptionsAffirm","properties":{"CaptureMethod":{"type":"string"},"PreferredLocale":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsAffirm","type":"object"},"PaymentIntentPaymentMethodOptionsAfterpayClearpay":{"title":"PaymentIntentPaymentMethodOptionsAfterpayClearpay","properties":{"CaptureMethod":{"type":"string"},"Reference":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsAfterpayClearpay","type":"object"},"PaymentIntentPaymentMethodOptionsAlipay":{"title":"PaymentIntentPaymentMethodOptionsAlipay","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsAlipay","type":"object"},"PaymentIntentPaymentMethodOptionsAlma":{"title":"PaymentIntentPaymentMethodOptionsAlma","properties":{"CaptureMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsAlma","type":"object"},"PaymentIntentPaymentMethodOptionsAmazonPay":{"title":"PaymentIntentPaymentMethodOptionsAmazonPay","properties":{"CaptureMethod":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsAmazonPay","type":"object"},"PaymentIntentPaymentMethodOptionsAuBecsDebit":{"title":"PaymentIntentPaymentMethodOptionsAuBecsDebit","properties":{"SetupFutureUsage":{"type":"string"},"TargetDate":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsAuBecsDebit","type":"object"},"PaymentIntentPaymentMethodOptionsBacsDebit":{"title":"PaymentIntentPaymentMethodOptionsBacsDebit","properties":{"MandateOptions":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions"},"SetupFutureUsage":{"type":"string"},"TargetDate":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsBacsDebit","type":"object"},"PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions":{"title":"PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions","properties":{"ReferencePrefix":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions","type":"object"},"PaymentIntentPaymentMethodOptionsBancontact":{"title":"PaymentIntentPaymentMethodOptionsBancontact","properties":{"PreferredLanguage":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsBancontact","type":"object"},"PaymentIntentPaymentMethodOptionsBlik":{"title":"PaymentIntentPaymentMethodOptionsBlik","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsBlik","type":"object"},"PaymentIntentPaymentMethodOptionsBoleto":{"title":"PaymentIntentPaymentMethodOptionsBoleto","properties":{"ExpiresAfterDays":{"type":"integer","format":"int64","x-nullable":false},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsBoleto","type":"object"},"PaymentIntentPaymentMethodOptionsCard":{"title":"PaymentIntentPaymentMethodOptionsCard","properties":{"CaptureMethod":{"type":"string"},"Installments":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsCardInstallments"},"MandateOptions":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsCardMandateOptions"},"Network":{"type":"string"},"RequestExtendedAuthorization":{"type":"string"},"RequestIncrementalAuthorization":{"type":"string"},"RequestMulticapture":{"type":"string"},"RequestOvercapture":{"type":"string"},"RequestThreeDSecure":{"type":"string"},"RequireCvcRecollection":{"type":"boolean","x-nullable":false},"SetupFutureUsage":{"type":"string"},"StatementDescriptorSuffixKana":{"type":"string"},"StatementDescriptorSuffixKanji":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsCard","type":"object"},"PaymentIntentPaymentMethodOptionsCardInstallments":{"title":"PaymentIntentPaymentMethodOptionsCardInstallments","properties":{"AvailablePlans":{"type":"array","items":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsCardInstallmentsPlan"}},"Enabled":{"type":"boolean","x-nullable":false},"Plan":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsCardInstallmentsPlan"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsCardInstallments","type":"object"},"PaymentIntentPaymentMethodOptionsCardMandateOptions":{"title":"PaymentIntentPaymentMethodOptionsCardMandateOptions","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"AmountType":{"type":"string"},"Description":{"type":"string"},"EndDate":{"type":"string","format":"date-time"},"Interval":{"type":"string"},"IntervalCount":{"type":"integer","format":"int64"},"Reference":{"type":"string"},"StartDate":{"type":"string","format":"date-time","x-nullable":false},"SupportedTypes":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsCardMandateOptions","type":"object"},"PaymentIntentPaymentMethodOptionsCardPresent":{"title":"PaymentIntentPaymentMethodOptionsCardPresent","properties":{"RequestExtendedAuthorization":{"type":"boolean"},"RequestIncrementalAuthorizationSupport":{"type":"boolean"},"Routing":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsCardPresentRouting"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsCardPresent","type":"object"},"PaymentIntentPaymentMethodOptionsCardPresentRouting":{"title":"PaymentIntentPaymentMethodOptionsCardPresentRouting","properties":{"RequestedPriority":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsCardPresentRouting","type":"object"},"PaymentIntentPaymentMethodOptionsCashapp":{"title":"PaymentIntentPaymentMethodOptionsCashapp","properties":{"CaptureMethod":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsCashapp","type":"object"},"PaymentIntentPaymentMethodOptionsCustomerBalance":{"title":"PaymentIntentPaymentMethodOptionsCustomerBalance","properties":{"BankTransfer":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer"},"FundingType":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsCustomerBalance","type":"object"},"PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer":{"title":"PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer","properties":{"EuBankTransfer":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer"},"RequestedAddressTypes":{"type":"array","items":{"type":"string"}},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer","type":"object"},"PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer":{"title":"PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer","properties":{"Country":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer","type":"object"},"PaymentIntentPaymentMethodOptionsEps":{"title":"PaymentIntentPaymentMethodOptionsEps","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsEps","type":"object"},"PaymentIntentPaymentMethodOptionsFpx":{"title":"PaymentIntentPaymentMethodOptionsFpx","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsFpx","type":"object"},"PaymentIntentPaymentMethodOptionsGiropay":{"title":"PaymentIntentPaymentMethodOptionsGiropay","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsGiropay","type":"object"},"PaymentIntentPaymentMethodOptionsGrabpay":{"title":"PaymentIntentPaymentMethodOptionsGrabpay","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsGrabpay","type":"object"},"PaymentIntentPaymentMethodOptionsIdeal":{"title":"PaymentIntentPaymentMethodOptionsIdeal","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsIdeal","type":"object"},"PaymentIntentPaymentMethodOptionsInteracPresent":{"title":"PaymentIntentPaymentMethodOptionsInteracPresent","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsInteracPresent","type":"object"},"PaymentIntentPaymentMethodOptionsKakaoPay":{"title":"PaymentIntentPaymentMethodOptionsKakaoPay","properties":{"CaptureMethod":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsKakaoPay","type":"object"},"PaymentIntentPaymentMethodOptionsKlarna":{"title":"PaymentIntentPaymentMethodOptionsKlarna","properties":{"CaptureMethod":{"type":"string"},"PreferredLocale":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsKlarna","type":"object"},"PaymentIntentPaymentMethodOptionsKonbini":{"title":"PaymentIntentPaymentMethodOptionsKonbini","properties":{"ConfirmationNumber":{"type":"string"},"ExpiresAfterDays":{"type":"integer","format":"int64"},"ExpiresAt":{"type":"string","format":"date-time"},"ProductDescription":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsKonbini","type":"object"},"PaymentIntentPaymentMethodOptionsKrCard":{"title":"PaymentIntentPaymentMethodOptionsKrCard","properties":{"CaptureMethod":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsKrCard","type":"object"},"PaymentIntentPaymentMethodOptionsLink":{"title":"PaymentIntentPaymentMethodOptionsLink","properties":{"CaptureMethod":{"type":"string"},"PersistentToken":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsLink","type":"object"},"PaymentIntentPaymentMethodOptionsMobilepay":{"title":"PaymentIntentPaymentMethodOptionsMobilepay","properties":{"CaptureMethod":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsMobilepay","type":"object"},"PaymentIntentPaymentMethodOptionsMultibanco":{"title":"PaymentIntentPaymentMethodOptionsMultibanco","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsMultibanco","type":"object"},"PaymentIntentPaymentMethodOptionsNaverPay":{"title":"PaymentIntentPaymentMethodOptionsNaverPay","properties":{"CaptureMethod":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsNaverPay","type":"object"},"PaymentIntentPaymentMethodOptionsNzBankAccount":{"title":"PaymentIntentPaymentMethodOptionsNzBankAccount","properties":{"SetupFutureUsage":{"type":"string"},"TargetDate":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsNzBankAccount","type":"object"},"PaymentIntentPaymentMethodOptionsOxxo":{"title":"PaymentIntentPaymentMethodOptionsOxxo","properties":{"ExpiresAfterDays":{"type":"integer","format":"int64","x-nullable":false},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsOxxo","type":"object"},"PaymentIntentPaymentMethodOptionsP24":{"title":"PaymentIntentPaymentMethodOptionsP24","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsP24","type":"object"},"PaymentIntentPaymentMethodOptionsPayByBank":{"title":"PaymentIntentPaymentMethodOptionsPayByBank","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsPayByBank","type":"object"},"PaymentIntentPaymentMethodOptionsPayco":{"title":"PaymentIntentPaymentMethodOptionsPayco","properties":{"CaptureMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsPayco","type":"object"},"PaymentIntentPaymentMethodOptionsPaynow":{"title":"PaymentIntentPaymentMethodOptionsPaynow","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsPaynow","type":"object"},"PaymentIntentPaymentMethodOptionsPaypal":{"title":"PaymentIntentPaymentMethodOptionsPaypal","properties":{"CaptureMethod":{"type":"string"},"PreferredLocale":{"type":"string"},"Reference":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsPaypal","type":"object"},"PaymentIntentPaymentMethodOptionsPix":{"title":"PaymentIntentPaymentMethodOptionsPix","properties":{"ExpiresAfterSeconds":{"type":"integer","format":"int64"},"ExpiresAt":{"type":"string","format":"date-time"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsPix","type":"object"},"PaymentIntentPaymentMethodOptionsPromptpay":{"title":"PaymentIntentPaymentMethodOptionsPromptpay","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsPromptpay","type":"object"},"PaymentIntentPaymentMethodOptionsRevolutPay":{"title":"PaymentIntentPaymentMethodOptionsRevolutPay","properties":{"CaptureMethod":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsRevolutPay","type":"object"},"PaymentIntentPaymentMethodOptionsSamsungPay":{"title":"PaymentIntentPaymentMethodOptionsSamsungPay","properties":{"CaptureMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsSamsungPay","type":"object"},"PaymentIntentPaymentMethodOptionsSepaDebit":{"title":"PaymentIntentPaymentMethodOptionsSepaDebit","properties":{"MandateOptions":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions"},"SetupFutureUsage":{"type":"string"},"TargetDate":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsSepaDebit","type":"object"},"PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions":{"title":"PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions","properties":{"ReferencePrefix":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions","type":"object"},"PaymentIntentPaymentMethodOptionsSofort":{"title":"PaymentIntentPaymentMethodOptionsSofort","properties":{"PreferredLanguage":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsSofort","type":"object"},"PaymentIntentPaymentMethodOptionsSwish":{"title":"PaymentIntentPaymentMethodOptionsSwish","properties":{"Reference":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsSwish","type":"object"},"PaymentIntentPaymentMethodOptionsTwint":{"title":"PaymentIntentPaymentMethodOptionsTwint","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsTwint","type":"object"},"PaymentIntentPaymentMethodOptionsUsBankAccount":{"title":"PaymentIntentPaymentMethodOptionsUsBankAccount","properties":{"FinancialConnections":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections"},"MandateOptions":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptions"},"PreferredSettlementSpeed":{"type":"string"},"SetupFutureUsage":{"type":"string"},"TargetDate":{"type":"string"},"VerificationMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsUsBankAccount","type":"object"},"PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections":{"title":"PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections","properties":{"Filters":{"$ref":"#/definitions/PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters"},"Permissions":{"type":"array","items":{"type":"string"}},"Prefetch":{"type":"array","items":{"type":"string"}},"ReturnUrl":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections","type":"object"},"PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters":{"title":"PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters","properties":{"AccountSubcategories":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters","type":"object"},"PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptions":{"title":"PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptions","properties":{"CollectionMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptions","type":"object"},"PaymentIntentPaymentMethodOptionsWechatPay":{"title":"PaymentIntentPaymentMethodOptionsWechatPay","properties":{"AppId":{"type":"string"},"Client":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsWechatPay","type":"object"},"PaymentIntentPaymentMethodOptionsZip":{"title":"PaymentIntentPaymentMethodOptionsZip","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPaymentMethodOptionsZip","type":"object"},"PaymentIntentPresentmentDetails":{"title":"PaymentIntentPresentmentDetails","properties":{"PresentmentAmount":{"type":"integer","format":"int64","x-nullable":false},"PresentmentCurrency":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentPresentmentDetails","type":"object"},"PaymentIntentProcessing":{"title":"PaymentIntentProcessing","properties":{"Card":{"$ref":"#/definitions/PaymentIntentProcessingCard"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentProcessing","type":"object"},"PaymentIntentProcessingCard":{"title":"PaymentIntentProcessingCard","properties":{"CustomerNotification":{"$ref":"#/definitions/PaymentIntentProcessingCardCustomerNotification"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentProcessingCard","type":"object"},"PaymentIntentProcessingCardCustomerNotification":{"title":"PaymentIntentProcessingCardCustomerNotification","properties":{"ApprovalRequested":{"type":"boolean"},"CompletesAt":{"type":"string","format":"date-time"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentProcessingCardCustomerNotification","type":"object"},"PaymentIntentTransferData":{"title":"PaymentIntentTransferData","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"DestinationId":{"type":"string"},"Destination":{"$ref":"#/definitions/Account"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentIntentTransferData","type":"object"},"SetupIntent":{"title":"SetupIntent","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"ApplicationId":{"type":"string"},"Application":{"$ref":"#/definitions/Application"},"AttachToSelf":{"type":"boolean","x-nullable":false},"AutomaticPaymentMethods":{"$ref":"#/definitions/SetupIntentAutomaticPaymentMethods"},"CancellationReason":{"type":"string"},"ClientSecret":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"CustomerId":{"type":"string"},"Customer":{"$ref":"#/definitions/Customer"},"Description":{"type":"string"},"FlowDirections":{"type":"array","items":{"type":"string"}},"LastSetupError":{"$ref":"#/definitions/StripeError"},"LatestAttemptId":{"type":"string"},"LatestAttempt":{"$ref":"#/definitions/SetupAttempt"},"Livemode":{"type":"boolean","x-nullable":false},"MandateId":{"type":"string"},"Mandate":{"$ref":"#/definitions/Mandate"},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"NextAction":{"$ref":"#/definitions/SetupIntentNextAction"},"OnBehalfOfId":{"type":"string"},"OnBehalfOf":{"$ref":"#/definitions/Account"},"PaymentMethodId":{"type":"string"},"PaymentMethod":{"$ref":"#/definitions/PaymentMethod"},"PaymentMethodConfigurationDetails":{"$ref":"#/definitions/SetupIntentPaymentMethodConfigurationDetails"},"PaymentMethodOptions":{"$ref":"#/definitions/SetupIntentPaymentMethodOptions"},"PaymentMethodTypes":{"type":"array","items":{"type":"string"}},"SingleUseMandateId":{"type":"string"},"SingleUseMandate":{"$ref":"#/definitions/Mandate"},"Status":{"type":"string"},"Usage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntent","type":"object"},"SetupIntentAutomaticPaymentMethods":{"title":"SetupIntentAutomaticPaymentMethods","properties":{"AllowRedirects":{"type":"string"},"Enabled":{"type":"boolean"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentAutomaticPaymentMethods","type":"object"},"SetupIntentNextAction":{"title":"SetupIntentNextAction","properties":{"CashappHandleRedirectOrDisplayQrCode":{"$ref":"#/definitions/SetupIntentNextActionCashappHandleRedirectOrDisplayQrCode"},"RedirectToUrl":{"$ref":"#/definitions/SetupIntentNextActionRedirectToUrl"},"Type":{"type":"string"},"UseStripeSdk":{"$ref":"#/definitions/SetupIntentNextActionUseStripeSdk"},"VerifyWithMicrodeposits":{"$ref":"#/definitions/SetupIntentNextActionVerifyWithMicrodeposits"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentNextAction","type":"object"},"SetupIntentNextActionCashappHandleRedirectOrDisplayQrCode":{"title":"SetupIntentNextActionCashappHandleRedirectOrDisplayQrCode","properties":{"HostedInstructionsUrl":{"type":"string"},"MobileAuthUrl":{"type":"string"},"QrCode":{"$ref":"#/definitions/SetupIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentNextActionCashappHandleRedirectOrDisplayQrCode","type":"object"},"SetupIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode":{"title":"SetupIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode","properties":{"ExpiresAt":{"type":"string","format":"date-time","x-nullable":false},"ImageUrlPng":{"type":"string"},"ImageUrlSvg":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode","type":"object"},"SetupIntentNextActionRedirectToUrl":{"title":"SetupIntentNextActionRedirectToUrl","properties":{"ReturnUrl":{"type":"string"},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentNextActionRedirectToUrl","type":"object"},"SetupIntentNextActionUseStripeSdk":{"title":"SetupIntentNextActionUseStripeSdk","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentNextActionUseStripeSdk","type":"object"},"SetupIntentNextActionVerifyWithMicrodeposits":{"title":"SetupIntentNextActionVerifyWithMicrodeposits","properties":{"ArrivalDate":{"type":"string","format":"date-time","x-nullable":false},"HostedVerificationUrl":{"type":"string"},"MicrodepositType":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentNextActionVerifyWithMicrodeposits","type":"object"},"SetupIntentPaymentMethodConfigurationDetails":{"title":"SetupIntentPaymentMethodConfigurationDetails","properties":{"Id":{"type":"string"},"Parent":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentPaymentMethodConfigurationDetails","type":"object"},"SetupIntentPaymentMethodOptions":{"title":"SetupIntentPaymentMethodOptions","properties":{"AcssDebit":{"$ref":"#/definitions/SetupIntentPaymentMethodOptionsAcssDebit"},"AmazonPay":{"$ref":"#/definitions/SetupIntentPaymentMethodOptionsAmazonPay"},"BacsDebit":{"$ref":"#/definitions/SetupIntentPaymentMethodOptionsBacsDebit"},"Card":{"$ref":"#/definitions/SetupIntentPaymentMethodOptionsCard"},"CardPresent":{"$ref":"#/definitions/SetupIntentPaymentMethodOptionsCardPresent"},"Link":{"$ref":"#/definitions/SetupIntentPaymentMethodOptionsLink"},"Paypal":{"$ref":"#/definitions/SetupIntentPaymentMethodOptionsPaypal"},"SepaDebit":{"$ref":"#/definitions/SetupIntentPaymentMethodOptionsSepaDebit"},"UsBankAccount":{"$ref":"#/definitions/SetupIntentPaymentMethodOptionsUsBankAccount"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentPaymentMethodOptions","type":"object"},"SetupIntentPaymentMethodOptionsAcssDebit":{"title":"SetupIntentPaymentMethodOptionsAcssDebit","properties":{"Currency":{"type":"string"},"MandateOptions":{"$ref":"#/definitions/SetupIntentPaymentMethodOptionsAcssDebitMandateOptions"},"VerificationMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentPaymentMethodOptionsAcssDebit","type":"object"},"SetupIntentPaymentMethodOptionsAcssDebitMandateOptions":{"title":"SetupIntentPaymentMethodOptionsAcssDebitMandateOptions","properties":{"CustomMandateUrl":{"type":"string"},"DefaultFor":{"type":"array","items":{"type":"string"}},"IntervalDescription":{"type":"string"},"PaymentSchedule":{"type":"string"},"TransactionType":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentPaymentMethodOptionsAcssDebitMandateOptions","type":"object"},"SetupIntentPaymentMethodOptionsAmazonPay":{"title":"SetupIntentPaymentMethodOptionsAmazonPay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentPaymentMethodOptionsAmazonPay","type":"object"},"SetupIntentPaymentMethodOptionsBacsDebit":{"title":"SetupIntentPaymentMethodOptionsBacsDebit","properties":{"MandateOptions":{"$ref":"#/definitions/SetupIntentPaymentMethodOptionsBacsDebitMandateOptions"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentPaymentMethodOptionsBacsDebit","type":"object"},"SetupIntentPaymentMethodOptionsBacsDebitMandateOptions":{"title":"SetupIntentPaymentMethodOptionsBacsDebitMandateOptions","properties":{"ReferencePrefix":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentPaymentMethodOptionsBacsDebitMandateOptions","type":"object"},"SetupIntentPaymentMethodOptionsCard":{"title":"SetupIntentPaymentMethodOptionsCard","properties":{"MandateOptions":{"$ref":"#/definitions/SetupIntentPaymentMethodOptionsCardMandateOptions"},"Network":{"type":"string"},"RequestThreeDSecure":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentPaymentMethodOptionsCard","type":"object"},"SetupIntentPaymentMethodOptionsCardMandateOptions":{"title":"SetupIntentPaymentMethodOptionsCardMandateOptions","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"AmountType":{"type":"string"},"Currency":{"type":"string"},"Description":{"type":"string"},"EndDate":{"type":"string","format":"date-time"},"Interval":{"type":"string"},"IntervalCount":{"type":"integer","format":"int64"},"Reference":{"type":"string"},"StartDate":{"type":"string","format":"date-time","x-nullable":false},"SupportedTypes":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentPaymentMethodOptionsCardMandateOptions","type":"object"},"SetupIntentPaymentMethodOptionsCardPresent":{"title":"SetupIntentPaymentMethodOptionsCardPresent","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentPaymentMethodOptionsCardPresent","type":"object"},"SetupIntentPaymentMethodOptionsLink":{"title":"SetupIntentPaymentMethodOptionsLink","properties":{"PersistentToken":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentPaymentMethodOptionsLink","type":"object"},"SetupIntentPaymentMethodOptionsPaypal":{"title":"SetupIntentPaymentMethodOptionsPaypal","properties":{"BillingAgreementId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentPaymentMethodOptionsPaypal","type":"object"},"SetupIntentPaymentMethodOptionsSepaDebit":{"title":"SetupIntentPaymentMethodOptionsSepaDebit","properties":{"MandateOptions":{"$ref":"#/definitions/SetupIntentPaymentMethodOptionsSepaDebitMandateOptions"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentPaymentMethodOptionsSepaDebit","type":"object"},"SetupIntentPaymentMethodOptionsSepaDebitMandateOptions":{"title":"SetupIntentPaymentMethodOptionsSepaDebitMandateOptions","properties":{"ReferencePrefix":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentPaymentMethodOptionsSepaDebitMandateOptions","type":"object"},"SetupIntentPaymentMethodOptionsUsBankAccount":{"title":"SetupIntentPaymentMethodOptionsUsBankAccount","properties":{"FinancialConnections":{"$ref":"#/definitions/SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections"},"MandateOptions":{"$ref":"#/definitions/SetupIntentPaymentMethodOptionsUsBankAccountMandateOptions"},"VerificationMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentPaymentMethodOptionsUsBankAccount","type":"object"},"SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections":{"title":"SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections","properties":{"Filters":{"$ref":"#/definitions/SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters"},"Permissions":{"type":"array","items":{"type":"string"}},"Prefetch":{"type":"array","items":{"type":"string"}},"ReturnUrl":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections","type":"object"},"SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters":{"title":"SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters","properties":{"AccountSubcategories":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters","type":"object"},"SetupIntentPaymentMethodOptionsUsBankAccountMandateOptions":{"title":"SetupIntentPaymentMethodOptionsUsBankAccountMandateOptions","properties":{"CollectionMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SetupIntentPaymentMethodOptionsUsBankAccountMandateOptions","type":"object"},"PaymentMethodCardNetworks":{"title":"PaymentMethodCardNetworks","properties":{"Available":{"type":"array","items":{"type":"string"}},"Preferred":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardNetworks","type":"object"},"PaymentMethodCardThreeDSecureUsage":{"title":"PaymentMethodCardThreeDSecureUsage","properties":{"Supported":{"type":"boolean","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardThreeDSecureUsage","type":"object"},"PaymentMethodCardWallet":{"title":"PaymentMethodCardWallet","properties":{"AmexExpressCheckout":{"$ref":"#/definitions/PaymentMethodCardWalletAmexExpressCheckout"},"ApplePay":{"$ref":"#/definitions/PaymentMethodCardWalletApplePay"},"DynamicLast4":{"type":"string"},"GooglePay":{"$ref":"#/definitions/PaymentMethodCardWalletGooglePay"},"Link":{"$ref":"#/definitions/PaymentMethodCardWalletLink"},"Masterpass":{"$ref":"#/definitions/PaymentMethodCardWalletMasterpass"},"SamsungPay":{"$ref":"#/definitions/PaymentMethodCardWalletSamsungPay"},"Type":{"type":"string"},"VisaCheckout":{"$ref":"#/definitions/PaymentMethodCardWalletVisaCheckout"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardWallet","type":"object"},"PaymentMethodCardWalletAmexExpressCheckout":{"title":"PaymentMethodCardWalletAmexExpressCheckout","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardWalletAmexExpressCheckout","type":"object"},"PaymentMethodCardWalletApplePay":{"title":"PaymentMethodCardWalletApplePay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardWalletApplePay","type":"object"},"PaymentMethodCardWalletGooglePay":{"title":"PaymentMethodCardWalletGooglePay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardWalletGooglePay","type":"object"},"PaymentMethodCardWalletLink":{"title":"PaymentMethodCardWalletLink","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardWalletLink","type":"object"},"PaymentMethodCardWalletMasterpass":{"title":"PaymentMethodCardWalletMasterpass","properties":{"BillingAddress":{"$ref":"#/definitions/Address"},"Email":{"type":"string"},"Name":{"type":"string"},"ShippingAddress":{"$ref":"#/definitions/Address"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardWalletMasterpass","type":"object"},"PaymentMethodCardWalletSamsungPay":{"title":"PaymentMethodCardWalletSamsungPay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardWalletSamsungPay","type":"object"},"PaymentMethodCardWalletVisaCheckout":{"title":"PaymentMethodCardWalletVisaCheckout","properties":{"BillingAddress":{"$ref":"#/definitions/Address"},"Email":{"type":"string"},"Name":{"type":"string"},"ShippingAddress":{"$ref":"#/definitions/Address"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardWalletVisaCheckout","type":"object"},"PaymentMethodCardPresent":{"title":"PaymentMethodCardPresent","properties":{"Brand":{"type":"string"},"BrandProduct":{"type":"string"},"CardholderName":{"type":"string"},"Country":{"type":"string"},"Description":{"type":"string"},"ExpMonth":{"type":"integer","format":"int64","x-nullable":false},"ExpYear":{"type":"integer","format":"int64","x-nullable":false},"Fingerprint":{"type":"string"},"Funding":{"type":"string"},"Iin":{"type":"string"},"Issuer":{"type":"string"},"Last4":{"type":"string"},"Networks":{"$ref":"#/definitions/PaymentMethodCardPresentNetworks"},"Offline":{"$ref":"#/definitions/PaymentMethodCardPresentOffline"},"PreferredLocales":{"type":"array","items":{"type":"string"}},"ReadMethod":{"type":"string"},"Wallet":{"$ref":"#/definitions/PaymentMethodCardPresentWallet"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardPresent","type":"object"},"PaymentMethodCardPresentNetworks":{"title":"PaymentMethodCardPresentNetworks","properties":{"Available":{"type":"array","items":{"type":"string"}},"Preferred":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardPresentNetworks","type":"object"},"PaymentMethodCardPresentOffline":{"title":"PaymentMethodCardPresentOffline","properties":{"StoredAt":{"type":"string","format":"date-time"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardPresentOffline","type":"object"},"PaymentMethodCardPresentWallet":{"title":"PaymentMethodCardPresentWallet","properties":{"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCardPresentWallet","type":"object"},"PaymentMethodCashapp":{"title":"PaymentMethodCashapp","properties":{"BuyerId":{"type":"string"},"Cashtag":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCashapp","type":"object"},"PaymentMethodCustomerBalance":{"title":"PaymentMethodCustomerBalance","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodCustomerBalance","type":"object"},"PaymentMethodEps":{"title":"PaymentMethodEps","properties":{"Bank":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodEps","type":"object"},"PaymentMethodFpx":{"title":"PaymentMethodFpx","properties":{"AccountHolderType":{"type":"string"},"Bank":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodFpx","type":"object"},"PaymentMethodGiropay":{"title":"PaymentMethodGiropay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodGiropay","type":"object"},"PaymentMethodGrabpay":{"title":"PaymentMethodGrabpay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodGrabpay","type":"object"},"PaymentMethodIdeal":{"title":"PaymentMethodIdeal","properties":{"Bank":{"type":"string"},"Bic":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodIdeal","type":"object"},"PaymentMethodInteracPresent":{"title":"PaymentMethodInteracPresent","properties":{"Brand":{"type":"string"},"CardholderName":{"type":"string"},"Country":{"type":"string"},"Description":{"type":"string"},"ExpMonth":{"type":"integer","format":"int64","x-nullable":false},"ExpYear":{"type":"integer","format":"int64","x-nullable":false},"Fingerprint":{"type":"string"},"Funding":{"type":"string"},"Iin":{"type":"string"},"Issuer":{"type":"string"},"Last4":{"type":"string"},"Networks":{"$ref":"#/definitions/PaymentMethodInteracPresentNetworks"},"PreferredLocales":{"type":"array","items":{"type":"string"}},"ReadMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodInteracPresent","type":"object"},"PaymentMethodInteracPresentNetworks":{"title":"PaymentMethodInteracPresentNetworks","properties":{"Available":{"type":"array","items":{"type":"string"}},"Preferred":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodInteracPresentNetworks","type":"object"},"PaymentMethodKakaoPay":{"title":"PaymentMethodKakaoPay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodKakaoPay","type":"object"},"PaymentMethodKlarna":{"title":"PaymentMethodKlarna","properties":{"Dob":{"$ref":"#/definitions/PaymentMethodKlarnaDob"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodKlarna","type":"object"},"PaymentMethodKlarnaDob":{"title":"PaymentMethodKlarnaDob","properties":{"Day":{"type":"integer","format":"int64"},"Month":{"type":"integer","format":"int64"},"Year":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodKlarnaDob","type":"object"},"PaymentMethodKonbini":{"title":"PaymentMethodKonbini","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodKonbini","type":"object"},"PaymentMethodKrCard":{"title":"PaymentMethodKrCard","properties":{"Brand":{"type":"string"},"Last4":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodKrCard","type":"object"},"PaymentMethodLink":{"title":"PaymentMethodLink","properties":{"Email":{"type":"string"},"PersistentToken":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodLink","type":"object"},"PaymentMethodMobilepay":{"title":"PaymentMethodMobilepay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodMobilepay","type":"object"},"PaymentMethodMultibanco":{"title":"PaymentMethodMultibanco","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodMultibanco","type":"object"},"PaymentMethodNaverPay":{"title":"PaymentMethodNaverPay","properties":{"BuyerId":{"type":"string"},"Funding":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodNaverPay","type":"object"},"PaymentMethodNzBankAccount":{"title":"PaymentMethodNzBankAccount","properties":{"AccountHolderName":{"type":"string"},"BankCode":{"type":"string"},"BankName":{"type":"string"},"BranchCode":{"type":"string"},"Last4":{"type":"string"},"Suffix":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodNzBankAccount","type":"object"},"PaymentMethodOxxo":{"title":"PaymentMethodOxxo","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodOxxo","type":"object"},"PaymentMethodP24":{"title":"PaymentMethodP24","properties":{"Bank":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodP24","type":"object"},"PaymentMethodPayByBank":{"title":"PaymentMethodPayByBank","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodPayByBank","type":"object"},"PaymentMethodPayco":{"title":"PaymentMethodPayco","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodPayco","type":"object"},"PaymentMethodPaynow":{"title":"PaymentMethodPaynow","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodPaynow","type":"object"},"PaymentMethodPaypal":{"title":"PaymentMethodPaypal","properties":{"Country":{"type":"string"},"PayerEmail":{"type":"string"},"PayerId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodPaypal","type":"object"},"PaymentMethodPix":{"title":"PaymentMethodPix","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodPix","type":"object"},"PaymentMethodPromptpay":{"title":"PaymentMethodPromptpay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodPromptpay","type":"object"},"PaymentMethodRadarOptions":{"title":"PaymentMethodRadarOptions","properties":{"Session":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodRadarOptions","type":"object"},"PaymentMethodRevolutPay":{"title":"PaymentMethodRevolutPay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodRevolutPay","type":"object"},"PaymentMethodSamsungPay":{"title":"PaymentMethodSamsungPay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodSamsungPay","type":"object"},"PaymentMethodSatispay":{"title":"PaymentMethodSatispay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodSatispay","type":"object"},"PaymentMethodSepaDebit":{"title":"PaymentMethodSepaDebit","properties":{"BankCode":{"type":"string"},"BranchCode":{"type":"string"},"Country":{"type":"string"},"Fingerprint":{"type":"string"},"GeneratedFrom":{"$ref":"#/definitions/PaymentMethodSepaDebitGeneratedFrom"},"Last4":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodSepaDebit","type":"object"},"PaymentMethodSepaDebitGeneratedFrom":{"title":"PaymentMethodSepaDebitGeneratedFrom","properties":{"ChargeId":{"type":"string"},"Charge":{"$ref":"#/definitions/Charge"},"SetupAttemptId":{"type":"string"},"SetupAttempt":{"$ref":"#/definitions/SetupAttempt"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodSepaDebitGeneratedFrom","type":"object"},"PaymentMethodSofort":{"title":"PaymentMethodSofort","properties":{"Country":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodSofort","type":"object"},"PaymentMethodSwish":{"title":"PaymentMethodSwish","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodSwish","type":"object"},"PaymentMethodTwint":{"title":"PaymentMethodTwint","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodTwint","type":"object"},"PaymentMethodUsBankAccount":{"title":"PaymentMethodUsBankAccount","properties":{"AccountHolderType":{"type":"string"},"AccountType":{"type":"string"},"BankName":{"type":"string"},"FinancialConnectionsAccount":{"type":"string"},"Fingerprint":{"type":"string"},"Last4":{"type":"string"},"Networks":{"$ref":"#/definitions/PaymentMethodUsBankAccountNetworks"},"RoutingNumber":{"type":"string"},"StatusDetails":{"$ref":"#/definitions/PaymentMethodUsBankAccountStatusDetails"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodUsBankAccount","type":"object"},"PaymentMethodUsBankAccountNetworks":{"title":"PaymentMethodUsBankAccountNetworks","properties":{"Preferred":{"type":"string"},"Supported":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodUsBankAccountNetworks","type":"object"},"PaymentMethodUsBankAccountStatusDetails":{"title":"PaymentMethodUsBankAccountStatusDetails","properties":{"Blocked":{"$ref":"#/definitions/PaymentMethodUsBankAccountStatusDetailsBlocked"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodUsBankAccountStatusDetails","type":"object"},"PaymentMethodUsBankAccountStatusDetailsBlocked":{"title":"PaymentMethodUsBankAccountStatusDetailsBlocked","properties":{"NetworkCode":{"type":"string"},"Reason":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodUsBankAccountStatusDetailsBlocked","type":"object"},"PaymentMethodWechatPay":{"title":"PaymentMethodWechatPay","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodWechatPay","type":"object"},"PaymentMethodZip":{"title":"PaymentMethodZip","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentMethodZip","type":"object"},"CustomerInvoiceSettingsRenderingOptions":{"title":"CustomerInvoiceSettingsRenderingOptions","properties":{"AmountTaxDisplay":{"type":"string"},"Template":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CustomerInvoiceSettingsRenderingOptions","type":"object"},"StripeList_IPaymentSource_":{"title":"StripeList\u00601","properties":{"Object":{"type":"string"},"Data":{"type":"array","items":{"$ref":"#/definitions/IPaymentSource"}},"HasMore":{"type":"boolean","x-nullable":false},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"StripeList\u003CIPaymentSource\u003E","type":"object"},"StripeList_Subscription_":{"title":"StripeList\u00601","properties":{"Object":{"type":"string"},"Data":{"type":"array","items":{"$ref":"#/definitions/Subscription"}},"HasMore":{"type":"boolean","x-nullable":false},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"StripeList\u003CSubscription\u003E","type":"object"},"Subscription":{"title":"Subscription","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"ApplicationId":{"type":"string"},"Application":{"$ref":"#/definitions/Application"},"ApplicationFeePercent":{"type":"number","format":"double"},"AutomaticTax":{"$ref":"#/definitions/SubscriptionAutomaticTax"},"BillingCycleAnchor":{"type":"string","format":"date-time","x-nullable":false},"BillingCycleAnchorConfig":{"$ref":"#/definitions/SubscriptionBillingCycleAnchorConfig"},"CancelAt":{"type":"string","format":"date-time"},"CancelAtPeriodEnd":{"type":"boolean","x-nullable":false},"CanceledAt":{"type":"string","format":"date-time"},"CancellationDetails":{"$ref":"#/definitions/SubscriptionCancellationDetails"},"CollectionMethod":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Currency":{"type":"string"},"CustomerId":{"type":"string"},"Customer":{"$ref":"#/definitions/Customer"},"DaysUntilDue":{"type":"integer","format":"int64"},"DefaultPaymentMethodId":{"type":"string"},"DefaultPaymentMethod":{"$ref":"#/definitions/PaymentMethod"},"DefaultSourceId":{"type":"string"},"DefaultSource":{"$ref":"#/definitions/IPaymentSource"},"DefaultTaxRates":{"type":"array","items":{"$ref":"#/definitions/TaxRate"}},"Description":{"type":"string"},"DiscountIds":{"type":"array","items":{"type":"string"}},"Discounts":{"type":"array","items":{"$ref":"#/definitions/Discount"}},"EndedAt":{"type":"string","format":"date-time"},"InvoiceSettings":{"$ref":"#/definitions/SubscriptionInvoiceSettings"},"Items":{"$ref":"#/definitions/StripeList_SubscriptionItem_"},"LatestInvoiceId":{"type":"string"},"LatestInvoice":{"$ref":"#/definitions/Invoice"},"Livemode":{"type":"boolean","x-nullable":false},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"NextPendingInvoiceItemInvoice":{"type":"string","format":"date-time"},"OnBehalfOfId":{"type":"string"},"OnBehalfOf":{"$ref":"#/definitions/Account"},"PauseCollection":{"$ref":"#/definitions/SubscriptionPauseCollection"},"PaymentSettings":{"$ref":"#/definitions/SubscriptionPaymentSettings"},"PendingInvoiceItemInterval":{"$ref":"#/definitions/SubscriptionPendingInvoiceItemInterval"},"PendingSetupIntentId":{"type":"string"},"PendingSetupIntent":{"$ref":"#/definitions/SetupIntent"},"PendingUpdate":{"$ref":"#/definitions/SubscriptionPendingUpdate"},"ScheduleId":{"type":"string"},"Schedule":{"$ref":"#/definitions/SubscriptionSchedule"},"StartDate":{"type":"string","format":"date-time","x-nullable":false},"Status":{"type":"string"},"TestClockId":{"type":"string"},"TestClock":{"$ref":"#/definitions/TestClock"},"TransferData":{"$ref":"#/definitions/SubscriptionTransferData"},"TrialEnd":{"type":"string","format":"date-time"},"TrialSettings":{"$ref":"#/definitions/SubscriptionTrialSettings"},"TrialStart":{"type":"string","format":"date-time"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Subscription","type":"object"},"SubscriptionAutomaticTax":{"title":"SubscriptionAutomaticTax","properties":{"DisabledReason":{"type":"string"},"Enabled":{"type":"boolean","x-nullable":false},"Liability":{"$ref":"#/definitions/SubscriptionAutomaticTaxLiability"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionAutomaticTax","type":"object"},"SubscriptionAutomaticTaxLiability":{"title":"SubscriptionAutomaticTaxLiability","properties":{"AccountId":{"type":"string"},"Account":{"$ref":"#/definitions/Account"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionAutomaticTaxLiability","type":"object"},"SubscriptionBillingCycleAnchorConfig":{"title":"SubscriptionBillingCycleAnchorConfig","properties":{"DayOfMonth":{"type":"integer","format":"int64","x-nullable":false},"Hour":{"type":"integer","format":"int64"},"Minute":{"type":"integer","format":"int64"},"Month":{"type":"integer","format":"int64"},"Second":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionBillingCycleAnchorConfig","type":"object"},"SubscriptionCancellationDetails":{"title":"SubscriptionCancellationDetails","properties":{"Comment":{"type":"string"},"Feedback":{"type":"string"},"Reason":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionCancellationDetails","type":"object"},"TaxRate":{"title":"TaxRate","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"Country":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Description":{"type":"string"},"DisplayName":{"type":"string"},"EffectivePercentage":{"type":"number","format":"double"},"FlatAmount":{"$ref":"#/definitions/TaxRateFlatAmount"},"Inclusive":{"type":"boolean","x-nullable":false},"Jurisdiction":{"type":"string"},"JurisdictionLevel":{"type":"string"},"Livemode":{"type":"boolean","x-nullable":false},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"Percentage":{"type":"number","format":"double","x-nullable":false},"RateType":{"type":"string"},"State":{"type":"string"},"TaxType":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"TaxRate","type":"object"},"TaxRateFlatAmount":{"title":"TaxRateFlatAmount","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"Currency":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"TaxRateFlatAmount","type":"object"},"SubscriptionInvoiceSettings":{"title":"SubscriptionInvoiceSettings","properties":{"AccountTaxIdIds":{"type":"array","items":{"type":"string"}},"AccountTaxIds":{"type":"array","items":{"$ref":"#/definitions/TaxId"}},"Issuer":{"$ref":"#/definitions/SubscriptionInvoiceSettingsIssuer"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionInvoiceSettings","type":"object"},"SubscriptionInvoiceSettingsIssuer":{"title":"SubscriptionInvoiceSettingsIssuer","properties":{"AccountId":{"type":"string"},"Account":{"$ref":"#/definitions/Account"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionInvoiceSettingsIssuer","type":"object"},"StripeList_SubscriptionItem_":{"title":"StripeList\u00601","properties":{"Object":{"type":"string"},"Data":{"type":"array","items":{"$ref":"#/definitions/SubscriptionItem"}},"HasMore":{"type":"boolean","x-nullable":false},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"StripeList\u003CSubscriptionItem\u003E","type":"object"},"SubscriptionItem":{"title":"SubscriptionItem","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"CurrentPeriodEnd":{"type":"string","format":"date-time","x-nullable":false},"CurrentPeriodStart":{"type":"string","format":"date-time","x-nullable":false},"Deleted":{"type":"boolean"},"DiscountIds":{"type":"array","items":{"type":"string"}},"Discounts":{"type":"array","items":{"$ref":"#/definitions/Discount"}},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"Plan":{"$ref":"#/definitions/Plan"},"Price":{"$ref":"#/definitions/Price"},"Quantity":{"type":"integer","format":"int64","x-nullable":false},"Subscription":{"type":"string"},"TaxRates":{"type":"array","items":{"$ref":"#/definitions/TaxRate"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionItem","type":"object"},"Plan":{"title":"Plan","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"Amount":{"type":"integer","format":"int64"},"AmountDecimal":{"type":"number","format":"double"},"BillingScheme":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Currency":{"type":"string"},"Deleted":{"type":"boolean"},"Interval":{"type":"string"},"IntervalCount":{"type":"integer","format":"int64","x-nullable":false},"Livemode":{"type":"boolean","x-nullable":false},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"Meter":{"type":"string"},"Nickname":{"type":"string"},"ProductId":{"type":"string"},"Product":{"$ref":"#/definitions/Product"},"Tiers":{"type":"array","items":{"$ref":"#/definitions/PlanTier"}},"TiersMode":{"type":"string"},"TransformUsage":{"$ref":"#/definitions/PlanTransformUsage"},"TrialPeriodDays":{"type":"integer","format":"int64"},"UsageType":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Plan","type":"object"},"Product":{"title":"Product","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false},"DefaultPriceId":{"type":"string"},"DefaultPrice":{"$ref":"#/definitions/Price"},"Deleted":{"type":"boolean"},"Description":{"type":"string"},"Images":{"type":"array","items":{"type":"string"}},"Livemode":{"type":"boolean","x-nullable":false},"MarketingFeatures":{"type":"array","items":{"$ref":"#/definitions/ProductMarketingFeature"}},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"Name":{"type":"string"},"PackageDimensions":{"$ref":"#/definitions/ProductPackageDimensions"},"Shippable":{"type":"boolean"},"StatementDescriptor":{"type":"string"},"TaxCodeId":{"type":"string"},"TaxCode":{"$ref":"#/definitions/TaxCode"},"Type":{"type":"string"},"UnitLabel":{"type":"string"},"Updated":{"type":"string","format":"date-time","x-nullable":false},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Product","type":"object"},"Price":{"title":"Price","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"BillingScheme":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Currency":{"type":"string"},"CurrencyOptions":{"$ref":"#/definitions/Dictionary_String_PriceCurrencyOptions_"},"CustomUnitAmount":{"$ref":"#/definitions/PriceCustomUnitAmount"},"Deleted":{"type":"boolean"},"Livemode":{"type":"boolean","x-nullable":false},"LookupKey":{"type":"string"},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"Nickname":{"type":"string"},"ProductId":{"type":"string"},"Product":{"$ref":"#/definitions/Product"},"Recurring":{"$ref":"#/definitions/PriceRecurring"},"TaxBehavior":{"type":"string"},"Tiers":{"type":"array","items":{"$ref":"#/definitions/PriceTier"}},"TiersMode":{"type":"string"},"TransformQuantity":{"$ref":"#/definitions/PriceTransformQuantity"},"Type":{"type":"string"},"UnitAmount":{"type":"integer","format":"int64"},"UnitAmountDecimal":{"type":"number","format":"double"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Price","type":"object"},"PriceCurrencyOptions":{"title":"PriceCurrencyOptions","properties":{"CustomUnitAmount":{"$ref":"#/definitions/PriceCurrencyOptionsCustomUnitAmount"},"TaxBehavior":{"type":"string"},"Tiers":{"type":"array","items":{"$ref":"#/definitions/PriceCurrencyOptionsTier"}},"UnitAmount":{"type":"integer","format":"int64"},"UnitAmountDecimal":{"type":"number","format":"double"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PriceCurrencyOptions","type":"object"},"PriceCurrencyOptionsCustomUnitAmount":{"title":"PriceCurrencyOptionsCustomUnitAmount","properties":{"Maximum":{"type":"integer","format":"int64"},"Minimum":{"type":"integer","format":"int64"},"Preset":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PriceCurrencyOptionsCustomUnitAmount","type":"object"},"PriceCurrencyOptionsTier":{"title":"PriceCurrencyOptionsTier","properties":{"FlatAmount":{"type":"integer","format":"int64"},"FlatAmountDecimal":{"type":"number","format":"double"},"UnitAmount":{"type":"integer","format":"int64"},"UnitAmountDecimal":{"type":"number","format":"double"},"UpTo":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PriceCurrencyOptionsTier","type":"object"},"Dictionary_String_PriceCurrencyOptions_":{"title":"Dictionary\u003CString,PriceCurrencyOptions\u003E","additionalProperties":{"$ref":"#/definitions/PriceCurrencyOptions"},"description":"Dictionary\u003CString,PriceCurrencyOptions\u003E","type":"object"},"PriceCustomUnitAmount":{"title":"PriceCustomUnitAmount","properties":{"Maximum":{"type":"integer","format":"int64"},"Minimum":{"type":"integer","format":"int64"},"Preset":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PriceCustomUnitAmount","type":"object"},"PriceRecurring":{"title":"PriceRecurring","properties":{"Interval":{"type":"string"},"IntervalCount":{"type":"integer","format":"int64","x-nullable":false},"Meter":{"type":"string"},"TrialPeriodDays":{"type":"integer","format":"int64"},"UsageType":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PriceRecurring","type":"object"},"PriceTier":{"title":"PriceTier","properties":{"FlatAmount":{"type":"integer","format":"int64"},"FlatAmountDecimal":{"type":"number","format":"double"},"UnitAmount":{"type":"integer","format":"int64"},"UnitAmountDecimal":{"type":"number","format":"double"},"UpTo":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PriceTier","type":"object"},"PriceTransformQuantity":{"title":"PriceTransformQuantity","properties":{"DivideBy":{"type":"integer","format":"int64","x-nullable":false},"Round":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PriceTransformQuantity","type":"object"},"ProductMarketingFeature":{"title":"ProductMarketingFeature","properties":{"Name":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ProductMarketingFeature","type":"object"},"ProductPackageDimensions":{"title":"ProductPackageDimensions","properties":{"Height":{"type":"number","format":"double","x-nullable":false},"Length":{"type":"number","format":"double","x-nullable":false},"Weight":{"type":"number","format":"double","x-nullable":false},"Width":{"type":"number","format":"double","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ProductPackageDimensions","type":"object"},"TaxCode":{"title":"TaxCode","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Description":{"type":"string"},"Name":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"TaxCode","type":"object"},"PlanTier":{"title":"PlanTier","properties":{"FlatAmount":{"type":"integer","format":"int64"},"FlatAmountDecimal":{"type":"number","format":"double"},"UnitAmount":{"type":"integer","format":"int64"},"UnitAmountDecimal":{"type":"number","format":"double"},"UpTo":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PlanTier","type":"object"},"PlanTransformUsage":{"title":"PlanTransformUsage","properties":{"DivideBy":{"type":"integer","format":"int64","x-nullable":false},"Round":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PlanTransformUsage","type":"object"},"Invoice":{"title":"Invoice","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"AccountCountry":{"type":"string"},"AccountName":{"type":"string"},"AccountTaxIdIds":{"type":"array","items":{"type":"string"}},"AccountTaxIds":{"type":"array","items":{"$ref":"#/definitions/TaxId"}},"AmountDue":{"type":"integer","format":"int64","x-nullable":false},"AmountOverpaid":{"type":"integer","format":"int64","x-nullable":false},"AmountPaid":{"type":"integer","format":"int64","x-nullable":false},"AmountRemaining":{"type":"integer","format":"int64","x-nullable":false},"AmountShipping":{"type":"integer","format":"int64","x-nullable":false},"ApplicationId":{"type":"string"},"Application":{"$ref":"#/definitions/Application"},"AttemptCount":{"type":"integer","format":"int64","x-nullable":false},"Attempted":{"type":"boolean","x-nullable":false},"AutoAdvance":{"type":"boolean","x-nullable":false},"AutomaticTax":{"$ref":"#/definitions/InvoiceAutomaticTax"},"AutomaticallyFinalizesAt":{"type":"string","format":"date-time"},"BillingReason":{"type":"string"},"CollectionMethod":{"type":"string"},"ConfirmationSecret":{"$ref":"#/definitions/InvoiceConfirmationSecret"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Currency":{"type":"string"},"CustomFields":{"type":"array","items":{"$ref":"#/definitions/InvoiceCustomField"}},"CustomerId":{"type":"string"},"Customer":{"$ref":"#/definitions/Customer"},"CustomerAddress":{"$ref":"#/definitions/Address"},"CustomerEmail":{"type":"string"},"CustomerName":{"type":"string"},"CustomerPhone":{"type":"string"},"CustomerShipping":{"$ref":"#/definitions/Shipping"},"CustomerTaxExempt":{"type":"string"},"CustomerTaxIds":{"type":"array","items":{"$ref":"#/definitions/InvoiceCustomerTaxId"}},"DefaultPaymentMethodId":{"type":"string"},"DefaultPaymentMethod":{"$ref":"#/definitions/PaymentMethod"},"DefaultSourceId":{"type":"string"},"DefaultSource":{"$ref":"#/definitions/IPaymentSource"},"DefaultTaxRates":{"type":"array","items":{"$ref":"#/definitions/TaxRate"}},"Deleted":{"type":"boolean"},"Description":{"type":"string"},"DiscountIds":{"type":"array","items":{"type":"string"}},"Discounts":{"type":"array","items":{"$ref":"#/definitions/Discount"}},"DueDate":{"type":"string","format":"date-time"},"EffectiveAt":{"type":"string","format":"date-time"},"EndingBalance":{"type":"integer","format":"int64"},"Footer":{"type":"string"},"FromInvoice":{"$ref":"#/definitions/InvoiceFromInvoice"},"HostedInvoiceUrl":{"type":"string"},"InvoicePdf":{"type":"string"},"Issuer":{"$ref":"#/definitions/InvoiceIssuer"},"LastFinalizationError":{"$ref":"#/definitions/StripeError"},"LatestRevisionId":{"type":"string"},"LatestRevision":{"$ref":"#/definitions/Invoice"},"Lines":{"$ref":"#/definitions/StripeList_InvoiceLineItem_"},"Livemode":{"type":"boolean","x-nullable":false},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"NextPaymentAttempt":{"type":"string","format":"date-time"},"Number":{"type":"string"},"OnBehalfOfId":{"type":"string"},"OnBehalfOf":{"$ref":"#/definitions/Account"},"Parent":{"$ref":"#/definitions/InvoiceParent"},"PaymentSettings":{"$ref":"#/definitions/InvoicePaymentSettings"},"Payments":{"$ref":"#/definitions/StripeList_InvoicePayment_"},"PeriodEnd":{"type":"string","format":"date-time","x-nullable":false},"PeriodStart":{"type":"string","format":"date-time","x-nullable":false},"PostPaymentCreditNotesAmount":{"type":"integer","format":"int64","x-nullable":false},"PrePaymentCreditNotesAmount":{"type":"integer","format":"int64","x-nullable":false},"ReceiptNumber":{"type":"string"},"Rendering":{"$ref":"#/definitions/InvoiceRendering"},"ShippingCost":{"$ref":"#/definitions/InvoiceShippingCost"},"ShippingDetails":{"$ref":"#/definitions/InvoiceShippingDetails"},"StartingBalance":{"type":"integer","format":"int64","x-nullable":false},"StatementDescriptor":{"type":"string"},"Status":{"type":"string"},"StatusTransitions":{"$ref":"#/definitions/InvoiceStatusTransitions"},"Subtotal":{"type":"integer","format":"int64","x-nullable":false},"SubtotalExcludingTax":{"type":"integer","format":"int64"},"TestClockId":{"type":"string"},"TestClock":{"$ref":"#/definitions/TestClock"},"ThresholdReason":{"$ref":"#/definitions/InvoiceThresholdReason"},"Total":{"type":"integer","format":"int64","x-nullable":false},"TotalDiscountAmounts":{"type":"array","items":{"$ref":"#/definitions/InvoiceDiscountAmount"}},"TotalExcludingTax":{"type":"integer","format":"int64"},"TotalPretaxCreditAmounts":{"type":"array","items":{"$ref":"#/definitions/InvoiceTotalPretaxCreditAmount"}},"TotalTaxes":{"type":"array","items":{"$ref":"#/definitions/InvoiceTotalTax"}},"WebhooksDeliveredAt":{"type":"string","format":"date-time"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"Invoice","type":"object"},"InvoiceAutomaticTax":{"title":"InvoiceAutomaticTax","properties":{"DisabledReason":{"type":"string"},"Enabled":{"type":"boolean","x-nullable":false},"Liability":{"$ref":"#/definitions/InvoiceAutomaticTaxLiability"},"Status":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceAutomaticTax","type":"object"},"InvoiceAutomaticTaxLiability":{"title":"InvoiceAutomaticTaxLiability","properties":{"AccountId":{"type":"string"},"Account":{"$ref":"#/definitions/Account"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceAutomaticTaxLiability","type":"object"},"InvoiceConfirmationSecret":{"title":"InvoiceConfirmationSecret","properties":{"ClientSecret":{"type":"string"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceConfirmationSecret","type":"object"},"InvoiceCustomField":{"title":"InvoiceCustomField","properties":{"Name":{"type":"string"},"Value":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceCustomField","type":"object"},"InvoiceCustomerTaxId":{"title":"InvoiceCustomerTaxId","properties":{"Type":{"type":"string"},"Value":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceCustomerTaxId","type":"object"},"InvoiceFromInvoice":{"title":"InvoiceFromInvoice","properties":{"Action":{"type":"string"},"InvoiceId":{"type":"string"},"Invoice":{"$ref":"#/definitions/Invoice"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceFromInvoice","type":"object"},"InvoiceIssuer":{"title":"InvoiceIssuer","properties":{"AccountId":{"type":"string"},"Account":{"$ref":"#/definitions/Account"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceIssuer","type":"object"},"StripeList_InvoiceLineItem_":{"title":"StripeList\u00601","properties":{"Object":{"type":"string"},"Data":{"type":"array","items":{"$ref":"#/definitions/InvoiceLineItem"}},"HasMore":{"type":"boolean","x-nullable":false},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"StripeList\u003CInvoiceLineItem\u003E","type":"object"},"InvoiceLineItem":{"title":"InvoiceLineItem","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Amount":{"type":"integer","format":"int64","x-nullable":false},"Currency":{"type":"string"},"Description":{"type":"string"},"DiscountAmounts":{"type":"array","items":{"$ref":"#/definitions/InvoiceLineItemDiscountAmount"}},"Discountable":{"type":"boolean","x-nullable":false},"DiscountIds":{"type":"array","items":{"type":"string"}},"Discounts":{"type":"array","items":{"$ref":"#/definitions/Discount"}},"Invoice":{"type":"string"},"Livemode":{"type":"boolean","x-nullable":false},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"Parent":{"$ref":"#/definitions/InvoiceLineItemParent"},"Period":{"$ref":"#/definitions/InvoiceLineItemPeriod"},"PretaxCreditAmounts":{"type":"array","items":{"$ref":"#/definitions/InvoiceLineItemPretaxCreditAmount"}},"Pricing":{"$ref":"#/definitions/InvoiceLineItemPricing"},"Quantity":{"type":"integer","format":"int64"},"SubscriptionId":{"type":"string"},"Subscription":{"$ref":"#/definitions/Subscription"},"Taxes":{"type":"array","items":{"$ref":"#/definitions/InvoiceLineItemTax"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceLineItem","type":"object"},"InvoiceLineItemDiscountAmount":{"title":"InvoiceLineItemDiscountAmount","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"DiscountId":{"type":"string"},"Discount":{"$ref":"#/definitions/Discount"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceLineItemDiscountAmount","type":"object"},"InvoiceLineItemParent":{"title":"InvoiceLineItemParent","properties":{"InvoiceItemDetails":{"$ref":"#/definitions/InvoiceLineItemParentInvoiceItemDetails"},"SubscriptionItemDetails":{"$ref":"#/definitions/InvoiceLineItemParentSubscriptionItemDetails"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceLineItemParent","type":"object"},"InvoiceLineItemParentInvoiceItemDetails":{"title":"InvoiceLineItemParentInvoiceItemDetails","properties":{"InvoiceItem":{"type":"string"},"Proration":{"type":"boolean","x-nullable":false},"ProrationDetails":{"$ref":"#/definitions/InvoiceLineItemParentInvoiceItemDetailsProrationDetails"},"Subscription":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceLineItemParentInvoiceItemDetails","type":"object"},"InvoiceLineItemParentInvoiceItemDetailsProrationDetails":{"title":"InvoiceLineItemParentInvoiceItemDetailsProrationDetails","properties":{"CreditedItems":{"$ref":"#/definitions/InvoiceLineItemParentInvoiceItemDetailsProrationDetailsCreditedItems"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceLineItemParentInvoiceItemDetailsProrationDetails","type":"object"},"InvoiceLineItemParentInvoiceItemDetailsProrationDetailsCreditedItems":{"title":"InvoiceLineItemParentInvoiceItemDetailsProrationDetailsCreditedItems","properties":{"Invoice":{"type":"string"},"InvoiceLineItems":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceLineItemParentInvoiceItemDetailsProrationDetailsCreditedItems","type":"object"},"InvoiceLineItemParentSubscriptionItemDetails":{"title":"InvoiceLineItemParentSubscriptionItemDetails","properties":{"InvoiceItem":{"type":"string"},"Proration":{"type":"boolean","x-nullable":false},"ProrationDetails":{"$ref":"#/definitions/InvoiceLineItemParentSubscriptionItemDetailsProrationDetails"},"Subscription":{"type":"string"},"SubscriptionItem":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceLineItemParentSubscriptionItemDetails","type":"object"},"InvoiceLineItemParentSubscriptionItemDetailsProrationDetails":{"title":"InvoiceLineItemParentSubscriptionItemDetailsProrationDetails","properties":{"CreditedItems":{"$ref":"#/definitions/InvoiceLineItemParentSubscriptionItemDetailsProrationDetailsCreditedItems"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceLineItemParentSubscriptionItemDetailsProrationDetails","type":"object"},"InvoiceLineItemParentSubscriptionItemDetailsProrationDetailsCreditedItems":{"title":"InvoiceLineItemParentSubscriptionItemDetailsProrationDetailsCreditedItems","properties":{"Invoice":{"type":"string"},"InvoiceLineItems":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceLineItemParentSubscriptionItemDetailsProrationDetailsCreditedItems","type":"object"},"InvoiceLineItemPeriod":{"title":"InvoiceLineItemPeriod","properties":{"End":{"type":"string","format":"date-time","x-nullable":false},"Start":{"type":"string","format":"date-time","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceLineItemPeriod","type":"object"},"InvoiceLineItemPretaxCreditAmount":{"title":"InvoiceLineItemPretaxCreditAmount","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"CreditBalanceTransactionId":{"type":"string"},"CreditBalanceTransaction":{"$ref":"#/definitions/CreditBalanceTransaction"},"DiscountId":{"type":"string"},"Discount":{"$ref":"#/definitions/Discount"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceLineItemPretaxCreditAmount","type":"object"},"CreditBalanceTransaction":{"title":"CreditBalanceTransaction","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Credit":{"$ref":"#/definitions/CreditBalanceTransactionCredit"},"CreditGrantId":{"type":"string"},"CreditGrant":{"$ref":"#/definitions/CreditGrant"},"Debit":{"$ref":"#/definitions/CreditBalanceTransactionDebit"},"EffectiveAt":{"type":"string","format":"date-time","x-nullable":false},"Livemode":{"type":"boolean","x-nullable":false},"TestClockId":{"type":"string"},"TestClock":{"$ref":"#/definitions/TestClock"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CreditBalanceTransaction","type":"object"},"CreditBalanceTransactionCredit":{"title":"CreditBalanceTransactionCredit","properties":{"Amount":{"$ref":"#/definitions/CreditBalanceTransactionCreditAmount"},"CreditsApplicationInvoiceVoided":{"$ref":"#/definitions/CreditBalanceTransactionCreditCreditsApplicationInvoiceVoided"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CreditBalanceTransactionCredit","type":"object"},"CreditBalanceTransactionCreditAmount":{"title":"CreditBalanceTransactionCreditAmount","properties":{"Monetary":{"$ref":"#/definitions/CreditBalanceTransactionCreditAmountMonetary"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CreditBalanceTransactionCreditAmount","type":"object"},"CreditBalanceTransactionCreditAmountMonetary":{"title":"CreditBalanceTransactionCreditAmountMonetary","properties":{"Currency":{"type":"string"},"Value":{"type":"integer","format":"int64","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CreditBalanceTransactionCreditAmountMonetary","type":"object"},"CreditBalanceTransactionCreditCreditsApplicationInvoiceVoided":{"title":"CreditBalanceTransactionCreditCreditsApplicationInvoiceVoided","properties":{"InvoiceId":{"type":"string"},"Invoice":{"$ref":"#/definitions/Invoice"},"InvoiceLineItem":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CreditBalanceTransactionCreditCreditsApplicationInvoiceVoided","type":"object"},"CreditGrant":{"title":"CreditGrant","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Amount":{"$ref":"#/definitions/CreditGrantAmount"},"ApplicabilityConfig":{"$ref":"#/definitions/CreditGrantApplicabilityConfig"},"Category":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"CustomerId":{"type":"string"},"Customer":{"$ref":"#/definitions/Customer"},"EffectiveAt":{"type":"string","format":"date-time"},"ExpiresAt":{"type":"string","format":"date-time"},"Livemode":{"type":"boolean","x-nullable":false},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"Name":{"type":"string"},"Priority":{"type":"integer","format":"int64"},"TestClockId":{"type":"string"},"TestClock":{"$ref":"#/definitions/TestClock"},"Updated":{"type":"string","format":"date-time","x-nullable":false},"VoidedAt":{"type":"string","format":"date-time"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CreditGrant","type":"object"},"CreditGrantAmount":{"title":"CreditGrantAmount","properties":{"Monetary":{"$ref":"#/definitions/CreditGrantAmountMonetary"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CreditGrantAmount","type":"object"},"CreditGrantAmountMonetary":{"title":"CreditGrantAmountMonetary","properties":{"Currency":{"type":"string"},"Value":{"type":"integer","format":"int64","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CreditGrantAmountMonetary","type":"object"},"CreditGrantApplicabilityConfig":{"title":"CreditGrantApplicabilityConfig","properties":{"Scope":{"$ref":"#/definitions/CreditGrantApplicabilityConfigScope"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CreditGrantApplicabilityConfig","type":"object"},"CreditGrantApplicabilityConfigScope":{"title":"CreditGrantApplicabilityConfigScope","properties":{"PriceType":{"type":"string"},"Prices":{"type":"array","items":{"$ref":"#/definitions/CreditGrantApplicabilityConfigScopePrice"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CreditGrantApplicabilityConfigScope","type":"object"},"CreditGrantApplicabilityConfigScopePrice":{"title":"CreditGrantApplicabilityConfigScopePrice","properties":{"Id":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CreditGrantApplicabilityConfigScopePrice","type":"object"},"TestClock":{"title":"TestClock","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Deleted":{"type":"boolean"},"DeletesAfter":{"type":"string","format":"date-time","x-nullable":false},"FrozenTime":{"type":"string","format":"date-time","x-nullable":false},"Livemode":{"type":"boolean","x-nullable":false},"Name":{"type":"string"},"Status":{"type":"string"},"StatusDetails":{"$ref":"#/definitions/TestClockStatusDetails"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"TestClock","type":"object"},"TestClockStatusDetails":{"title":"TestClockStatusDetails","properties":{"Advancing":{"$ref":"#/definitions/TestClockStatusDetailsAdvancing"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"TestClockStatusDetails","type":"object"},"TestClockStatusDetailsAdvancing":{"title":"TestClockStatusDetailsAdvancing","properties":{"TargetFrozenTime":{"type":"string","format":"date-time","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"TestClockStatusDetailsAdvancing","type":"object"},"CreditBalanceTransactionDebit":{"title":"CreditBalanceTransactionDebit","properties":{"Amount":{"$ref":"#/definitions/CreditBalanceTransactionDebitAmount"},"CreditsApplied":{"$ref":"#/definitions/CreditBalanceTransactionDebitCreditsApplied"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CreditBalanceTransactionDebit","type":"object"},"CreditBalanceTransactionDebitAmount":{"title":"CreditBalanceTransactionDebitAmount","properties":{"Monetary":{"$ref":"#/definitions/CreditBalanceTransactionDebitAmountMonetary"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CreditBalanceTransactionDebitAmount","type":"object"},"CreditBalanceTransactionDebitAmountMonetary":{"title":"CreditBalanceTransactionDebitAmountMonetary","properties":{"Currency":{"type":"string"},"Value":{"type":"integer","format":"int64","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CreditBalanceTransactionDebitAmountMonetary","type":"object"},"CreditBalanceTransactionDebitCreditsApplied":{"title":"CreditBalanceTransactionDebitCreditsApplied","properties":{"InvoiceId":{"type":"string"},"Invoice":{"$ref":"#/definitions/Invoice"},"InvoiceLineItem":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CreditBalanceTransactionDebitCreditsApplied","type":"object"},"InvoiceLineItemPricing":{"title":"InvoiceLineItemPricing","properties":{"PriceDetails":{"$ref":"#/definitions/InvoiceLineItemPricingPriceDetails"},"Type":{"type":"string"},"UnitAmountDecimal":{"type":"number","format":"double"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceLineItemPricing","type":"object"},"InvoiceLineItemPricingPriceDetails":{"title":"InvoiceLineItemPricingPriceDetails","properties":{"Price":{"type":"string"},"Product":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceLineItemPricingPriceDetails","type":"object"},"InvoiceLineItemTax":{"title":"InvoiceLineItemTax","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"TaxBehavior":{"type":"string"},"TaxRateDetails":{"$ref":"#/definitions/InvoiceLineItemTaxTaxRateDetails"},"TaxabilityReason":{"type":"string"},"TaxableAmount":{"type":"integer","format":"int64"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceLineItemTax","type":"object"},"InvoiceLineItemTaxTaxRateDetails":{"title":"InvoiceLineItemTaxTaxRateDetails","properties":{"TaxRate":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceLineItemTaxTaxRateDetails","type":"object"},"InvoiceParent":{"title":"InvoiceParent","properties":{"QuoteDetails":{"$ref":"#/definitions/InvoiceParentQuoteDetails"},"SubscriptionDetails":{"$ref":"#/definitions/InvoiceParentSubscriptionDetails"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceParent","type":"object"},"InvoiceParentQuoteDetails":{"title":"InvoiceParentQuoteDetails","properties":{"Quote":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceParentQuoteDetails","type":"object"},"InvoiceParentSubscriptionDetails":{"title":"InvoiceParentSubscriptionDetails","properties":{"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"SubscriptionId":{"type":"string"},"Subscription":{"$ref":"#/definitions/Subscription"},"SubscriptionProrationDate":{"type":"string","format":"date-time","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceParentSubscriptionDetails","type":"object"},"InvoicePaymentSettings":{"title":"InvoicePaymentSettings","properties":{"DefaultMandate":{"type":"string"},"PaymentMethodOptions":{"$ref":"#/definitions/InvoicePaymentSettingsPaymentMethodOptions"},"PaymentMethodTypes":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoicePaymentSettings","type":"object"},"InvoicePaymentSettingsPaymentMethodOptions":{"title":"InvoicePaymentSettingsPaymentMethodOptions","properties":{"AcssDebit":{"$ref":"#/definitions/InvoicePaymentSettingsPaymentMethodOptionsAcssDebit"},"Bancontact":{"$ref":"#/definitions/InvoicePaymentSettingsPaymentMethodOptionsBancontact"},"Card":{"$ref":"#/definitions/InvoicePaymentSettingsPaymentMethodOptionsCard"},"CustomerBalance":{"$ref":"#/definitions/InvoicePaymentSettingsPaymentMethodOptionsCustomerBalance"},"Konbini":{"$ref":"#/definitions/InvoicePaymentSettingsPaymentMethodOptionsKonbini"},"SepaDebit":{"$ref":"#/definitions/InvoicePaymentSettingsPaymentMethodOptionsSepaDebit"},"UsBankAccount":{"$ref":"#/definitions/InvoicePaymentSettingsPaymentMethodOptionsUsBankAccount"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoicePaymentSettingsPaymentMethodOptions","type":"object"},"InvoicePaymentSettingsPaymentMethodOptionsAcssDebit":{"title":"InvoicePaymentSettingsPaymentMethodOptionsAcssDebit","properties":{"MandateOptions":{"$ref":"#/definitions/InvoicePaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions"},"VerificationMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoicePaymentSettingsPaymentMethodOptionsAcssDebit","type":"object"},"InvoicePaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions":{"title":"InvoicePaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions","properties":{"TransactionType":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoicePaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions","type":"object"},"InvoicePaymentSettingsPaymentMethodOptionsBancontact":{"title":"InvoicePaymentSettingsPaymentMethodOptionsBancontact","properties":{"PreferredLanguage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoicePaymentSettingsPaymentMethodOptionsBancontact","type":"object"},"InvoicePaymentSettingsPaymentMethodOptionsCard":{"title":"InvoicePaymentSettingsPaymentMethodOptionsCard","properties":{"Installments":{"$ref":"#/definitions/InvoicePaymentSettingsPaymentMethodOptionsCardInstallments"},"RequestThreeDSecure":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoicePaymentSettingsPaymentMethodOptionsCard","type":"object"},"InvoicePaymentSettingsPaymentMethodOptionsCardInstallments":{"title":"InvoicePaymentSettingsPaymentMethodOptionsCardInstallments","properties":{"Enabled":{"type":"boolean"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoicePaymentSettingsPaymentMethodOptionsCardInstallments","type":"object"},"InvoicePaymentSettingsPaymentMethodOptionsCustomerBalance":{"title":"InvoicePaymentSettingsPaymentMethodOptionsCustomerBalance","properties":{"BankTransfer":{"$ref":"#/definitions/InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer"},"FundingType":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoicePaymentSettingsPaymentMethodOptionsCustomerBalance","type":"object"},"InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer":{"title":"InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer","properties":{"EuBankTransfer":{"$ref":"#/definitions/InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer","type":"object"},"InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer":{"title":"InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer","properties":{"Country":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer","type":"object"},"InvoicePaymentSettingsPaymentMethodOptionsKonbini":{"title":"InvoicePaymentSettingsPaymentMethodOptionsKonbini","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoicePaymentSettingsPaymentMethodOptionsKonbini","type":"object"},"InvoicePaymentSettingsPaymentMethodOptionsSepaDebit":{"title":"InvoicePaymentSettingsPaymentMethodOptionsSepaDebit","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoicePaymentSettingsPaymentMethodOptionsSepaDebit","type":"object"},"InvoicePaymentSettingsPaymentMethodOptionsUsBankAccount":{"title":"InvoicePaymentSettingsPaymentMethodOptionsUsBankAccount","properties":{"FinancialConnections":{"$ref":"#/definitions/InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections"},"VerificationMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoicePaymentSettingsPaymentMethodOptionsUsBankAccount","type":"object"},"InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections":{"title":"InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections","properties":{"Filters":{"$ref":"#/definitions/InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters"},"Permissions":{"type":"array","items":{"type":"string"}},"Prefetch":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections","type":"object"},"InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters":{"title":"InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters","properties":{"AccountSubcategories":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters","type":"object"},"StripeList_InvoicePayment_":{"title":"StripeList\u00601","properties":{"Object":{"type":"string"},"Data":{"type":"array","items":{"$ref":"#/definitions/InvoicePayment"}},"HasMore":{"type":"boolean","x-nullable":false},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"StripeList\u003CInvoicePayment\u003E","type":"object"},"InvoicePayment":{"title":"InvoicePayment","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"AmountPaid":{"type":"integer","format":"int64"},"AmountRequested":{"type":"integer","format":"int64","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false},"Currency":{"type":"string"},"InvoiceId":{"type":"string"},"Invoice":{"$ref":"#/definitions/Invoice"},"IsDefault":{"type":"boolean","x-nullable":false},"Livemode":{"type":"boolean","x-nullable":false},"Payment":{"$ref":"#/definitions/InvoicePaymentPayment"},"Status":{"type":"string"},"StatusTransitions":{"$ref":"#/definitions/InvoicePaymentStatusTransitions"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoicePayment","type":"object"},"InvoicePaymentPayment":{"title":"InvoicePaymentPayment","properties":{"ChargeId":{"type":"string"},"Charge":{"$ref":"#/definitions/Charge"},"PaymentIntentId":{"type":"string"},"PaymentIntent":{"$ref":"#/definitions/PaymentIntent"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoicePaymentPayment","type":"object"},"InvoicePaymentStatusTransitions":{"title":"InvoicePaymentStatusTransitions","properties":{"CanceledAt":{"type":"string","format":"date-time"},"PaidAt":{"type":"string","format":"date-time"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoicePaymentStatusTransitions","type":"object"},"InvoiceRendering":{"title":"InvoiceRendering","properties":{"AmountTaxDisplay":{"type":"string"},"Pdf":{"$ref":"#/definitions/InvoiceRenderingPdf"},"Template":{"type":"string"},"TemplateVersion":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceRendering","type":"object"},"InvoiceRenderingPdf":{"title":"InvoiceRenderingPdf","properties":{"PageSize":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceRenderingPdf","type":"object"},"InvoiceShippingCost":{"title":"InvoiceShippingCost","properties":{"AmountSubtotal":{"type":"integer","format":"int64","x-nullable":false},"AmountTax":{"type":"integer","format":"int64","x-nullable":false},"AmountTotal":{"type":"integer","format":"int64","x-nullable":false},"ShippingRateId":{"type":"string"},"ShippingRate":{"$ref":"#/definitions/ShippingRate"},"Taxes":{"type":"array","items":{"$ref":"#/definitions/InvoiceShippingCostTax"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceShippingCost","type":"object"},"ShippingRate":{"title":"ShippingRate","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false},"DeliveryEstimate":{"$ref":"#/definitions/ShippingRateDeliveryEstimate"},"DisplayName":{"type":"string"},"FixedAmount":{"$ref":"#/definitions/ShippingRateFixedAmount"},"Livemode":{"type":"boolean","x-nullable":false},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"TaxBehavior":{"type":"string"},"TaxCodeId":{"type":"string"},"TaxCode":{"$ref":"#/definitions/TaxCode"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ShippingRate","type":"object"},"ShippingRateDeliveryEstimate":{"title":"ShippingRateDeliveryEstimate","properties":{"Maximum":{"$ref":"#/definitions/ShippingRateDeliveryEstimateMaximum"},"Minimum":{"$ref":"#/definitions/ShippingRateDeliveryEstimateMinimum"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ShippingRateDeliveryEstimate","type":"object"},"ShippingRateDeliveryEstimateMaximum":{"title":"ShippingRateDeliveryEstimateMaximum","properties":{"Unit":{"type":"string"},"Value":{"type":"integer","format":"int64","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ShippingRateDeliveryEstimateMaximum","type":"object"},"ShippingRateDeliveryEstimateMinimum":{"title":"ShippingRateDeliveryEstimateMinimum","properties":{"Unit":{"type":"string"},"Value":{"type":"integer","format":"int64","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ShippingRateDeliveryEstimateMinimum","type":"object"},"ShippingRateFixedAmount":{"title":"ShippingRateFixedAmount","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"Currency":{"type":"string"},"CurrencyOptions":{"$ref":"#/definitions/Dictionary_String_ShippingRateFixedAmountCurrencyOptions_"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ShippingRateFixedAmount","type":"object"},"ShippingRateFixedAmountCurrencyOptions":{"title":"ShippingRateFixedAmountCurrencyOptions","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"TaxBehavior":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"ShippingRateFixedAmountCurrencyOptions","type":"object"},"Dictionary_String_ShippingRateFixedAmountCurrencyOptions_":{"title":"Dictionary\u003CString,ShippingRateFixedAmountCurrencyOptions\u003E","additionalProperties":{"$ref":"#/definitions/ShippingRateFixedAmountCurrencyOptions"},"description":"Dictionary\u003CString,ShippingRateFixedAmountCurrencyOptions\u003E","type":"object"},"InvoiceShippingCostTax":{"title":"InvoiceShippingCostTax","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"Rate":{"$ref":"#/definitions/TaxRate"},"TaxabilityReason":{"type":"string"},"TaxableAmount":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceShippingCostTax","type":"object"},"InvoiceShippingDetails":{"title":"InvoiceShippingDetails","properties":{"Address":{"$ref":"#/definitions/Address"},"Carrier":{"type":"string"},"Name":{"type":"string"},"Phone":{"type":"string"},"TrackingNumber":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceShippingDetails","type":"object"},"InvoiceStatusTransitions":{"title":"InvoiceStatusTransitions","properties":{"FinalizedAt":{"type":"string","format":"date-time"},"MarkedUncollectibleAt":{"type":"string","format":"date-time"},"PaidAt":{"type":"string","format":"date-time"},"VoidedAt":{"type":"string","format":"date-time"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceStatusTransitions","type":"object"},"InvoiceThresholdReason":{"title":"InvoiceThresholdReason","properties":{"AmountGte":{"type":"integer","format":"int64"},"ItemReasons":{"type":"array","items":{"$ref":"#/definitions/InvoiceThresholdReasonItemReason"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceThresholdReason","type":"object"},"InvoiceThresholdReasonItemReason":{"title":"InvoiceThresholdReasonItemReason","properties":{"LineItemIds":{"type":"array","items":{"type":"string"}},"UsageGte":{"type":"integer","format":"int64","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceThresholdReasonItemReason","type":"object"},"InvoiceDiscountAmount":{"title":"InvoiceDiscountAmount","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"DiscountId":{"type":"string"},"Discount":{"$ref":"#/definitions/Discount"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceDiscountAmount","type":"object"},"InvoiceTotalPretaxCreditAmount":{"title":"InvoiceTotalPretaxCreditAmount","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"CreditBalanceTransactionId":{"type":"string"},"CreditBalanceTransaction":{"$ref":"#/definitions/CreditBalanceTransaction"},"DiscountId":{"type":"string"},"Discount":{"$ref":"#/definitions/Discount"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceTotalPretaxCreditAmount","type":"object"},"InvoiceTotalTax":{"title":"InvoiceTotalTax","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"TaxBehavior":{"type":"string"},"TaxRateDetails":{"$ref":"#/definitions/InvoiceTotalTaxTaxRateDetails"},"TaxabilityReason":{"type":"string"},"TaxableAmount":{"type":"integer","format":"int64"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceTotalTax","type":"object"},"InvoiceTotalTaxTaxRateDetails":{"title":"InvoiceTotalTaxTaxRateDetails","properties":{"TaxRate":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"InvoiceTotalTaxTaxRateDetails","type":"object"},"SubscriptionPauseCollection":{"title":"SubscriptionPauseCollection","properties":{"Behavior":{"type":"string"},"ResumesAt":{"type":"string","format":"date-time"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionPauseCollection","type":"object"},"SubscriptionPaymentSettings":{"title":"SubscriptionPaymentSettings","properties":{"PaymentMethodOptions":{"$ref":"#/definitions/SubscriptionPaymentSettingsPaymentMethodOptions"},"PaymentMethodTypes":{"type":"array","items":{"type":"string"}},"SaveDefaultPaymentMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionPaymentSettings","type":"object"},"SubscriptionPaymentSettingsPaymentMethodOptions":{"title":"SubscriptionPaymentSettingsPaymentMethodOptions","properties":{"AcssDebit":{"$ref":"#/definitions/SubscriptionPaymentSettingsPaymentMethodOptionsAcssDebit"},"Bancontact":{"$ref":"#/definitions/SubscriptionPaymentSettingsPaymentMethodOptionsBancontact"},"Card":{"$ref":"#/definitions/SubscriptionPaymentSettingsPaymentMethodOptionsCard"},"CustomerBalance":{"$ref":"#/definitions/SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalance"},"Konbini":{"$ref":"#/definitions/SubscriptionPaymentSettingsPaymentMethodOptionsKonbini"},"SepaDebit":{"$ref":"#/definitions/SubscriptionPaymentSettingsPaymentMethodOptionsSepaDebit"},"UsBankAccount":{"$ref":"#/definitions/SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccount"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionPaymentSettingsPaymentMethodOptions","type":"object"},"SubscriptionPaymentSettingsPaymentMethodOptionsAcssDebit":{"title":"SubscriptionPaymentSettingsPaymentMethodOptionsAcssDebit","properties":{"MandateOptions":{"$ref":"#/definitions/SubscriptionPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions"},"VerificationMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionPaymentSettingsPaymentMethodOptionsAcssDebit","type":"object"},"SubscriptionPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions":{"title":"SubscriptionPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions","properties":{"TransactionType":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions","type":"object"},"SubscriptionPaymentSettingsPaymentMethodOptionsBancontact":{"title":"SubscriptionPaymentSettingsPaymentMethodOptionsBancontact","properties":{"PreferredLanguage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionPaymentSettingsPaymentMethodOptionsBancontact","type":"object"},"SubscriptionPaymentSettingsPaymentMethodOptionsCard":{"title":"SubscriptionPaymentSettingsPaymentMethodOptionsCard","properties":{"MandateOptions":{"$ref":"#/definitions/SubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions"},"Network":{"type":"string"},"RequestThreeDSecure":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionPaymentSettingsPaymentMethodOptionsCard","type":"object"},"SubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions":{"title":"SubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions","properties":{"Amount":{"type":"integer","format":"int64"},"AmountType":{"type":"string"},"Description":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions","type":"object"},"SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalance":{"title":"SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalance","properties":{"BankTransfer":{"$ref":"#/definitions/SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer"},"FundingType":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalance","type":"object"},"SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer":{"title":"SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer","properties":{"EuBankTransfer":{"$ref":"#/definitions/SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer","type":"object"},"SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer":{"title":"SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer","properties":{"Country":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer","type":"object"},"SubscriptionPaymentSettingsPaymentMethodOptionsKonbini":{"title":"SubscriptionPaymentSettingsPaymentMethodOptionsKonbini","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionPaymentSettingsPaymentMethodOptionsKonbini","type":"object"},"SubscriptionPaymentSettingsPaymentMethodOptionsSepaDebit":{"title":"SubscriptionPaymentSettingsPaymentMethodOptionsSepaDebit","properties":{"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionPaymentSettingsPaymentMethodOptionsSepaDebit","type":"object"},"SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccount":{"title":"SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccount","properties":{"FinancialConnections":{"$ref":"#/definitions/SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections"},"VerificationMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccount","type":"object"},"SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections":{"title":"SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections","properties":{"Filters":{"$ref":"#/definitions/SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters"},"Permissions":{"type":"array","items":{"type":"string"}},"Prefetch":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections","type":"object"},"SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters":{"title":"SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters","properties":{"AccountSubcategories":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters","type":"object"},"SubscriptionPendingInvoiceItemInterval":{"title":"SubscriptionPendingInvoiceItemInterval","properties":{"Interval":{"type":"string"},"IntervalCount":{"type":"integer","format":"int64","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionPendingInvoiceItemInterval","type":"object"},"SubscriptionPendingUpdate":{"title":"SubscriptionPendingUpdate","properties":{"BillingCycleAnchor":{"type":"string","format":"date-time"},"ExpiresAt":{"type":"string","format":"date-time","x-nullable":false},"SubscriptionItems":{"type":"array","items":{"$ref":"#/definitions/SubscriptionItem"}},"TrialEnd":{"type":"string","format":"date-time"},"TrialFromPlan":{"type":"boolean"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionPendingUpdate","type":"object"},"SubscriptionSchedule":{"title":"SubscriptionSchedule","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"ApplicationId":{"type":"string"},"Application":{"$ref":"#/definitions/Application"},"CanceledAt":{"type":"string","format":"date-time"},"CompletedAt":{"type":"string","format":"date-time"},"Created":{"type":"string","format":"date-time","x-nullable":false},"CurrentPhase":{"$ref":"#/definitions/SubscriptionScheduleCurrentPhase"},"CustomerId":{"type":"string"},"Customer":{"$ref":"#/definitions/Customer"},"DefaultSettings":{"$ref":"#/definitions/SubscriptionScheduleDefaultSettings"},"EndBehavior":{"type":"string"},"Livemode":{"type":"boolean","x-nullable":false},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"Phases":{"type":"array","items":{"$ref":"#/definitions/SubscriptionSchedulePhase"}},"ReleasedAt":{"type":"string","format":"date-time"},"ReleasedSubscription":{"type":"string"},"Status":{"type":"string"},"SubscriptionId":{"type":"string"},"Subscription":{"$ref":"#/definitions/Subscription"},"TestClockId":{"type":"string"},"TestClock":{"$ref":"#/definitions/TestClock"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionSchedule","type":"object"},"SubscriptionScheduleCurrentPhase":{"title":"SubscriptionScheduleCurrentPhase","properties":{"EndDate":{"type":"string","format":"date-time"},"StartDate":{"type":"string","format":"date-time"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionScheduleCurrentPhase","type":"object"},"SubscriptionScheduleDefaultSettings":{"title":"SubscriptionScheduleDefaultSettings","properties":{"ApplicationFeePercent":{"type":"number","format":"double"},"AutomaticTax":{"$ref":"#/definitions/SubscriptionScheduleDefaultSettingsAutomaticTax"},"BillingCycleAnchor":{"type":"string"},"CollectionMethod":{"type":"string"},"DefaultPaymentMethodId":{"type":"string"},"DefaultPaymentMethod":{"$ref":"#/definitions/PaymentMethod"},"Description":{"type":"string"},"InvoiceSettings":{"$ref":"#/definitions/SubscriptionScheduleDefaultSettingsInvoiceSettings"},"OnBehalfOfId":{"type":"string"},"OnBehalfOf":{"$ref":"#/definitions/Account"},"TransferData":{"$ref":"#/definitions/SubscriptionScheduleDefaultSettingsTransferData"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionScheduleDefaultSettings","type":"object"},"SubscriptionScheduleDefaultSettingsAutomaticTax":{"title":"SubscriptionScheduleDefaultSettingsAutomaticTax","properties":{"DisabledReason":{"type":"string"},"Enabled":{"type":"boolean","x-nullable":false},"Liability":{"$ref":"#/definitions/SubscriptionScheduleDefaultSettingsAutomaticTaxLiability"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionScheduleDefaultSettingsAutomaticTax","type":"object"},"SubscriptionScheduleDefaultSettingsAutomaticTaxLiability":{"title":"SubscriptionScheduleDefaultSettingsAutomaticTaxLiability","properties":{"AccountId":{"type":"string"},"Account":{"$ref":"#/definitions/Account"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionScheduleDefaultSettingsAutomaticTaxLiability","type":"object"},"SubscriptionScheduleDefaultSettingsInvoiceSettings":{"title":"SubscriptionScheduleDefaultSettingsInvoiceSettings","properties":{"AccountTaxIdIds":{"type":"array","items":{"type":"string"}},"AccountTaxIds":{"type":"array","items":{"$ref":"#/definitions/TaxId"}},"DaysUntilDue":{"type":"integer","format":"int64"},"Issuer":{"$ref":"#/definitions/SubscriptionScheduleDefaultSettingsInvoiceSettingsIssuer"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionScheduleDefaultSettingsInvoiceSettings","type":"object"},"SubscriptionScheduleDefaultSettingsInvoiceSettingsIssuer":{"title":"SubscriptionScheduleDefaultSettingsInvoiceSettingsIssuer","properties":{"AccountId":{"type":"string"},"Account":{"$ref":"#/definitions/Account"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionScheduleDefaultSettingsInvoiceSettingsIssuer","type":"object"},"SubscriptionScheduleDefaultSettingsTransferData":{"title":"SubscriptionScheduleDefaultSettingsTransferData","properties":{"AmountPercent":{"type":"number","format":"double"},"DestinationId":{"type":"string"},"Destination":{"$ref":"#/definitions/Account"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionScheduleDefaultSettingsTransferData","type":"object"},"SubscriptionSchedulePhase":{"title":"SubscriptionSchedulePhase","properties":{"AddInvoiceItems":{"type":"array","items":{"$ref":"#/definitions/SubscriptionSchedulePhaseAddInvoiceItem"}},"ApplicationFeePercent":{"type":"number","format":"double"},"AutomaticTax":{"$ref":"#/definitions/SubscriptionSchedulePhaseAutomaticTax"},"BillingCycleAnchor":{"type":"string"},"CollectionMethod":{"type":"string"},"Currency":{"type":"string"},"DefaultPaymentMethodId":{"type":"string"},"DefaultPaymentMethod":{"$ref":"#/definitions/PaymentMethod"},"DefaultTaxRates":{"type":"array","items":{"$ref":"#/definitions/TaxRate"}},"Description":{"type":"string"},"Discounts":{"type":"array","items":{"$ref":"#/definitions/SubscriptionSchedulePhaseDiscount"}},"EndDate":{"type":"string","format":"date-time","x-nullable":false},"InvoiceSettings":{"$ref":"#/definitions/SubscriptionSchedulePhaseInvoiceSettings"},"Items":{"type":"array","items":{"$ref":"#/definitions/SubscriptionSchedulePhaseItem"}},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"OnBehalfOfId":{"type":"string"},"OnBehalfOf":{"$ref":"#/definitions/Account"},"ProrationBehavior":{"type":"string"},"StartDate":{"type":"string","format":"date-time","x-nullable":false},"TransferData":{"$ref":"#/definitions/SubscriptionSchedulePhaseTransferData"},"TrialEnd":{"type":"string","format":"date-time"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionSchedulePhase","type":"object"},"SubscriptionSchedulePhaseAddInvoiceItem":{"title":"SubscriptionSchedulePhaseAddInvoiceItem","properties":{"Discounts":{"type":"array","items":{"$ref":"#/definitions/SubscriptionSchedulePhaseAddInvoiceItemDiscount"}},"PriceId":{"type":"string"},"Price":{"$ref":"#/definitions/Price"},"Quantity":{"type":"integer","format":"int64"},"TaxRates":{"type":"array","items":{"$ref":"#/definitions/TaxRate"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionSchedulePhaseAddInvoiceItem","type":"object"},"SubscriptionSchedulePhaseAddInvoiceItemDiscount":{"title":"SubscriptionSchedulePhaseAddInvoiceItemDiscount","properties":{"CouponId":{"type":"string"},"Coupon":{"$ref":"#/definitions/Coupon"},"DiscountId":{"type":"string"},"Discount":{"$ref":"#/definitions/Discount"},"PromotionCodeId":{"type":"string"},"PromotionCode":{"$ref":"#/definitions/PromotionCode"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionSchedulePhaseAddInvoiceItemDiscount","type":"object"},"SubscriptionSchedulePhaseAutomaticTax":{"title":"SubscriptionSchedulePhaseAutomaticTax","properties":{"DisabledReason":{"type":"string"},"Enabled":{"type":"boolean","x-nullable":false},"Liability":{"$ref":"#/definitions/SubscriptionSchedulePhaseAutomaticTaxLiability"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionSchedulePhaseAutomaticTax","type":"object"},"SubscriptionSchedulePhaseAutomaticTaxLiability":{"title":"SubscriptionSchedulePhaseAutomaticTaxLiability","properties":{"AccountId":{"type":"string"},"Account":{"$ref":"#/definitions/Account"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionSchedulePhaseAutomaticTaxLiability","type":"object"},"SubscriptionSchedulePhaseDiscount":{"title":"SubscriptionSchedulePhaseDiscount","properties":{"CouponId":{"type":"string"},"Coupon":{"$ref":"#/definitions/Coupon"},"DiscountId":{"type":"string"},"Discount":{"$ref":"#/definitions/Discount"},"PromotionCodeId":{"type":"string"},"PromotionCode":{"$ref":"#/definitions/PromotionCode"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionSchedulePhaseDiscount","type":"object"},"SubscriptionSchedulePhaseInvoiceSettings":{"title":"SubscriptionSchedulePhaseInvoiceSettings","properties":{"AccountTaxIdIds":{"type":"array","items":{"type":"string"}},"AccountTaxIds":{"type":"array","items":{"$ref":"#/definitions/TaxId"}},"DaysUntilDue":{"type":"integer","format":"int64"},"Issuer":{"$ref":"#/definitions/SubscriptionSchedulePhaseInvoiceSettingsIssuer"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionSchedulePhaseInvoiceSettings","type":"object"},"SubscriptionSchedulePhaseInvoiceSettingsIssuer":{"title":"SubscriptionSchedulePhaseInvoiceSettingsIssuer","properties":{"AccountId":{"type":"string"},"Account":{"$ref":"#/definitions/Account"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionSchedulePhaseInvoiceSettingsIssuer","type":"object"},"SubscriptionSchedulePhaseItem":{"title":"SubscriptionSchedulePhaseItem","properties":{"Discounts":{"type":"array","items":{"$ref":"#/definitions/SubscriptionSchedulePhaseItemDiscount"}},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"PlanId":{"type":"string"},"Plan":{"$ref":"#/definitions/Plan"},"PriceId":{"type":"string"},"Price":{"$ref":"#/definitions/Price"},"Quantity":{"type":"integer","format":"int64","x-nullable":false},"TaxRates":{"type":"array","items":{"$ref":"#/definitions/TaxRate"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionSchedulePhaseItem","type":"object"},"SubscriptionSchedulePhaseItemDiscount":{"title":"SubscriptionSchedulePhaseItemDiscount","properties":{"CouponId":{"type":"string"},"Coupon":{"$ref":"#/definitions/Coupon"},"DiscountId":{"type":"string"},"Discount":{"$ref":"#/definitions/Discount"},"PromotionCodeId":{"type":"string"},"PromotionCode":{"$ref":"#/definitions/PromotionCode"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionSchedulePhaseItemDiscount","type":"object"},"SubscriptionSchedulePhaseTransferData":{"title":"SubscriptionSchedulePhaseTransferData","properties":{"AmountPercent":{"type":"number","format":"double"},"DestinationId":{"type":"string"},"Destination":{"$ref":"#/definitions/Account"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionSchedulePhaseTransferData","type":"object"},"SubscriptionTransferData":{"title":"SubscriptionTransferData","properties":{"AmountPercent":{"type":"number","format":"double"},"DestinationId":{"type":"string"},"Destination":{"$ref":"#/definitions/Account"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionTransferData","type":"object"},"SubscriptionTrialSettings":{"title":"SubscriptionTrialSettings","properties":{"EndBehavior":{"$ref":"#/definitions/SubscriptionTrialSettingsEndBehavior"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionTrialSettings","type":"object"},"SubscriptionTrialSettingsEndBehavior":{"title":"SubscriptionTrialSettingsEndBehavior","properties":{"MissingPaymentMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SubscriptionTrialSettingsEndBehavior","type":"object"},"CustomerTax":{"title":"CustomerTax","properties":{"AutomaticTax":{"type":"string"},"IpAddress":{"type":"string"},"Location":{"$ref":"#/definitions/CustomerTaxLocation"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CustomerTax","type":"object"},"CustomerTaxLocation":{"title":"CustomerTaxLocation","properties":{"Country":{"type":"string"},"Source":{"type":"string"},"State":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"CustomerTaxLocation","type":"object"},"StripeList_TaxId_":{"title":"StripeList\u00601","properties":{"Object":{"type":"string"},"Data":{"type":"array","items":{"$ref":"#/definitions/TaxId"}},"HasMore":{"type":"boolean","x-nullable":false},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"StripeList\u003CTaxId\u003E","type":"object"},"TaxIdOwner":{"title":"TaxIdOwner","properties":{"AccountId":{"type":"string"},"Account":{"$ref":"#/definitions/Account"},"ApplicationId":{"type":"string"},"Application":{"$ref":"#/definitions/Application"},"CustomerId":{"type":"string"},"Customer":{"$ref":"#/definitions/Customer"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"TaxIdOwner","type":"object"},"TaxIdVerification":{"title":"TaxIdVerification","properties":{"Status":{"type":"string"},"VerifiedAddress":{"type":"string"},"VerifiedName":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"TaxIdVerification","type":"object"},"AccountSettingsPayments":{"title":"AccountSettingsPayments","properties":{"StatementDescriptor":{"type":"string"},"StatementDescriptorKana":{"type":"string"},"StatementDescriptorKanji":{"type":"string"},"StatementDescriptorPrefixKana":{"type":"string"},"StatementDescriptorPrefixKanji":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountSettingsPayments","type":"object"},"AccountSettingsPayouts":{"title":"AccountSettingsPayouts","properties":{"DebitNegativeBalances":{"type":"boolean","x-nullable":false},"Schedule":{"$ref":"#/definitions/AccountSettingsPayoutsSchedule"},"StatementDescriptor":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountSettingsPayouts","type":"object"},"AccountSettingsPayoutsSchedule":{"title":"AccountSettingsPayoutsSchedule","properties":{"DelayDays":{"type":"integer","format":"int64","x-nullable":false},"Interval":{"type":"string"},"MonthlyAnchor":{"type":"integer","format":"int64","x-nullable":false},"WeeklyAnchor":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountSettingsPayoutsSchedule","type":"object"},"AccountSettingsSepaDebitPayments":{"title":"AccountSettingsSepaDebitPayments","properties":{"CreditorId":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountSettingsSepaDebitPayments","type":"object"},"AccountSettingsTreasury":{"title":"AccountSettingsTreasury","properties":{"TosAcceptance":{"$ref":"#/definitions/AccountSettingsTreasuryTosAcceptance"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountSettingsTreasury","type":"object"},"AccountSettingsTreasuryTosAcceptance":{"title":"AccountSettingsTreasuryTosAcceptance","properties":{"Date":{"type":"string","format":"date-time"},"Ip":{"type":"string"},"UserAgent":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountSettingsTreasuryTosAcceptance","type":"object"},"AccountTosAcceptance":{"title":"AccountTosAcceptance","properties":{"Date":{"type":"string","format":"date-time"},"Ip":{"type":"string"},"ServiceAgreement":{"type":"string"},"UserAgent":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"AccountTosAcceptance","type":"object"},"SessionCollectedInformation":{"title":"SessionCollectedInformation","properties":{"ShippingDetails":{"$ref":"#/definitions/SessionCollectedInformationShippingDetails"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionCollectedInformation","type":"object"},"SessionCollectedInformationShippingDetails":{"title":"SessionCollectedInformationShippingDetails","properties":{"Address":{"$ref":"#/definitions/Address"},"Name":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionCollectedInformationShippingDetails","type":"object"},"SessionConsent":{"title":"SessionConsent","properties":{"Promotions":{"type":"string"},"TermsOfService":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionConsent","type":"object"},"SessionConsentCollection":{"title":"SessionConsentCollection","properties":{"PaymentMethodReuseAgreement":{"$ref":"#/definitions/SessionConsentCollectionPaymentMethodReuseAgreement"},"Promotions":{"type":"string"},"TermsOfService":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionConsentCollection","type":"object"},"SessionConsentCollectionPaymentMethodReuseAgreement":{"title":"SessionConsentCollectionPaymentMethodReuseAgreement","properties":{"Position":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionConsentCollectionPaymentMethodReuseAgreement","type":"object"},"SessionCurrencyConversion":{"title":"SessionCurrencyConversion","properties":{"AmountSubtotal":{"type":"integer","format":"int64","x-nullable":false},"AmountTotal":{"type":"integer","format":"int64","x-nullable":false},"FxRate":{"type":"number","format":"double","x-nullable":false},"SourceCurrency":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionCurrencyConversion","type":"object"},"SessionCustomField":{"title":"SessionCustomField","properties":{"Dropdown":{"$ref":"#/definitions/SessionCustomFieldDropdown"},"Key":{"type":"string"},"Label":{"$ref":"#/definitions/SessionCustomFieldLabel"},"Numeric":{"$ref":"#/definitions/SessionCustomFieldNumeric"},"Optional":{"type":"boolean","x-nullable":false},"Text":{"$ref":"#/definitions/SessionCustomFieldText"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionCustomField","type":"object"},"SessionCustomFieldDropdown":{"title":"SessionCustomFieldDropdown","properties":{"DefaultValue":{"type":"string"},"Options":{"type":"array","items":{"$ref":"#/definitions/SessionCustomFieldDropdownOption"}},"Value":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionCustomFieldDropdown","type":"object"},"SessionCustomFieldDropdownOption":{"title":"SessionCustomFieldDropdownOption","properties":{"Label":{"type":"string"},"Value":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionCustomFieldDropdownOption","type":"object"},"SessionCustomFieldLabel":{"title":"SessionCustomFieldLabel","properties":{"Custom":{"type":"string"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionCustomFieldLabel","type":"object"},"SessionCustomFieldNumeric":{"title":"SessionCustomFieldNumeric","properties":{"DefaultValue":{"type":"string"},"MaximumLength":{"type":"integer","format":"int64"},"MinimumLength":{"type":"integer","format":"int64"},"Value":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionCustomFieldNumeric","type":"object"},"SessionCustomFieldText":{"title":"SessionCustomFieldText","properties":{"DefaultValue":{"type":"string"},"MaximumLength":{"type":"integer","format":"int64"},"MinimumLength":{"type":"integer","format":"int64"},"Value":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionCustomFieldText","type":"object"},"SessionCustomText":{"title":"SessionCustomText","properties":{"AfterSubmit":{"$ref":"#/definitions/SessionCustomTextAfterSubmit"},"ShippingAddress":{"$ref":"#/definitions/SessionCustomTextShippingAddress"},"Submit":{"$ref":"#/definitions/SessionCustomTextSubmit"},"TermsOfServiceAcceptance":{"$ref":"#/definitions/SessionCustomTextTermsOfServiceAcceptance"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionCustomText","type":"object"},"SessionCustomTextAfterSubmit":{"title":"SessionCustomTextAfterSubmit","properties":{"Message":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionCustomTextAfterSubmit","type":"object"},"SessionCustomTextShippingAddress":{"title":"SessionCustomTextShippingAddress","properties":{"Message":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionCustomTextShippingAddress","type":"object"},"SessionCustomTextSubmit":{"title":"SessionCustomTextSubmit","properties":{"Message":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionCustomTextSubmit","type":"object"},"SessionCustomTextTermsOfServiceAcceptance":{"title":"SessionCustomTextTermsOfServiceAcceptance","properties":{"Message":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionCustomTextTermsOfServiceAcceptance","type":"object"},"SessionCustomerDetails":{"title":"SessionCustomerDetails","properties":{"Address":{"$ref":"#/definitions/Address"},"Email":{"type":"string"},"Name":{"type":"string"},"Phone":{"type":"string"},"TaxExempt":{"type":"string"},"TaxIds":{"type":"array","items":{"$ref":"#/definitions/SessionCustomerDetailsTaxId"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionCustomerDetails","type":"object"},"SessionCustomerDetailsTaxId":{"title":"SessionCustomerDetailsTaxId","properties":{"Type":{"type":"string"},"Value":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionCustomerDetailsTaxId","type":"object"},"SessionDiscount":{"title":"SessionDiscount","properties":{"CouponId":{"type":"string"},"Coupon":{"$ref":"#/definitions/Coupon"},"PromotionCodeId":{"type":"string"},"PromotionCode":{"$ref":"#/definitions/PromotionCode"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionDiscount","type":"object"},"SessionInvoiceCreation":{"title":"SessionInvoiceCreation","properties":{"Enabled":{"type":"boolean","x-nullable":false},"InvoiceData":{"$ref":"#/definitions/SessionInvoiceCreationInvoiceData"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionInvoiceCreation","type":"object"},"SessionInvoiceCreationInvoiceData":{"title":"SessionInvoiceCreationInvoiceData","properties":{"AccountTaxIdIds":{"type":"array","items":{"type":"string"}},"AccountTaxIds":{"type":"array","items":{"$ref":"#/definitions/TaxId"}},"CustomFields":{"type":"array","items":{"$ref":"#/definitions/SessionInvoiceCreationInvoiceDataCustomField"}},"Description":{"type":"string"},"Footer":{"type":"string"},"Issuer":{"$ref":"#/definitions/SessionInvoiceCreationInvoiceDataIssuer"},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"RenderingOptions":{"$ref":"#/definitions/SessionInvoiceCreationInvoiceDataRenderingOptions"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionInvoiceCreationInvoiceData","type":"object"},"SessionInvoiceCreationInvoiceDataCustomField":{"title":"SessionInvoiceCreationInvoiceDataCustomField","properties":{"Name":{"type":"string"},"Value":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionInvoiceCreationInvoiceDataCustomField","type":"object"},"SessionInvoiceCreationInvoiceDataIssuer":{"title":"SessionInvoiceCreationInvoiceDataIssuer","properties":{"AccountId":{"type":"string"},"Account":{"$ref":"#/definitions/Account"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionInvoiceCreationInvoiceDataIssuer","type":"object"},"SessionInvoiceCreationInvoiceDataRenderingOptions":{"title":"SessionInvoiceCreationInvoiceDataRenderingOptions","properties":{"AmountTaxDisplay":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionInvoiceCreationInvoiceDataRenderingOptions","type":"object"},"StripeList_LineItem_":{"title":"StripeList\u00601","properties":{"Object":{"type":"string"},"Data":{"type":"array","items":{"$ref":"#/definitions/LineItem"}},"HasMore":{"type":"boolean","x-nullable":false},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"StripeList\u003CLineItem\u003E","type":"object"},"LineItem":{"title":"LineItem","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"AmountDiscount":{"type":"integer","format":"int64","x-nullable":false},"AmountSubtotal":{"type":"integer","format":"int64","x-nullable":false},"AmountTax":{"type":"integer","format":"int64","x-nullable":false},"AmountTotal":{"type":"integer","format":"int64","x-nullable":false},"Currency":{"type":"string"},"Deleted":{"type":"boolean"},"Description":{"type":"string"},"Discounts":{"type":"array","items":{"$ref":"#/definitions/LineItemDiscount"}},"Price":{"$ref":"#/definitions/Price"},"Quantity":{"type":"integer","format":"int64"},"Taxes":{"type":"array","items":{"$ref":"#/definitions/LineItemTax"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"LineItem","type":"object"},"LineItemDiscount":{"title":"LineItemDiscount","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"Discount":{"$ref":"#/definitions/Discount"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"LineItemDiscount","type":"object"},"LineItemTax":{"title":"LineItemTax","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"Rate":{"$ref":"#/definitions/TaxRate"},"TaxabilityReason":{"type":"string"},"TaxableAmount":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"LineItemTax","type":"object"},"SessionOptionalItem":{"title":"SessionOptionalItem","properties":{"AdjustableQuantity":{"$ref":"#/definitions/SessionOptionalItemAdjustableQuantity"},"Price":{"type":"string"},"Quantity":{"type":"integer","format":"int64","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionOptionalItem","type":"object"},"SessionOptionalItemAdjustableQuantity":{"title":"SessionOptionalItemAdjustableQuantity","properties":{"Enabled":{"type":"boolean","x-nullable":false},"Maximum":{"type":"integer","format":"int64"},"Minimum":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionOptionalItemAdjustableQuantity","type":"object"},"PaymentLink":{"title":"PaymentLink","properties":{"Id":{"type":"string"},"Object":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"AfterCompletion":{"$ref":"#/definitions/PaymentLinkAfterCompletion"},"AllowPromotionCodes":{"type":"boolean","x-nullable":false},"ApplicationId":{"type":"string"},"Application":{"$ref":"#/definitions/Application"},"ApplicationFeeAmount":{"type":"integer","format":"int64"},"ApplicationFeePercent":{"type":"number","format":"double"},"AutomaticTax":{"$ref":"#/definitions/PaymentLinkAutomaticTax"},"BillingAddressCollection":{"type":"string"},"ConsentCollection":{"$ref":"#/definitions/PaymentLinkConsentCollection"},"Currency":{"type":"string"},"CustomFields":{"type":"array","items":{"$ref":"#/definitions/PaymentLinkCustomField"}},"CustomText":{"$ref":"#/definitions/PaymentLinkCustomText"},"CustomerCreation":{"type":"string"},"InactiveMessage":{"type":"string"},"InvoiceCreation":{"$ref":"#/definitions/PaymentLinkInvoiceCreation"},"LineItems":{"$ref":"#/definitions/StripeList_LineItem_"},"Livemode":{"type":"boolean","x-nullable":false},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"OnBehalfOfId":{"type":"string"},"OnBehalfOf":{"$ref":"#/definitions/Account"},"OptionalItems":{"type":"array","items":{"$ref":"#/definitions/PaymentLinkOptionalItem"}},"PaymentIntentData":{"$ref":"#/definitions/PaymentLinkPaymentIntentData"},"PaymentMethodCollection":{"type":"string"},"PaymentMethodTypes":{"type":"array","items":{"type":"string"}},"PhoneNumberCollection":{"$ref":"#/definitions/PaymentLinkPhoneNumberCollection"},"Restrictions":{"$ref":"#/definitions/PaymentLinkRestrictions"},"ShippingAddressCollection":{"$ref":"#/definitions/PaymentLinkShippingAddressCollection"},"ShippingOptions":{"type":"array","items":{"$ref":"#/definitions/PaymentLinkShippingOption"}},"SubmitType":{"type":"string"},"SubscriptionData":{"$ref":"#/definitions/PaymentLinkSubscriptionData"},"TaxIdCollection":{"$ref":"#/definitions/PaymentLinkTaxIdCollection"},"TransferData":{"$ref":"#/definitions/PaymentLinkTransferData"},"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLink","type":"object"},"PaymentLinkAfterCompletion":{"title":"PaymentLinkAfterCompletion","properties":{"HostedConfirmation":{"$ref":"#/definitions/PaymentLinkAfterCompletionHostedConfirmation"},"Redirect":{"$ref":"#/definitions/PaymentLinkAfterCompletionRedirect"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkAfterCompletion","type":"object"},"PaymentLinkAfterCompletionHostedConfirmation":{"title":"PaymentLinkAfterCompletionHostedConfirmation","properties":{"CustomMessage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkAfterCompletionHostedConfirmation","type":"object"},"PaymentLinkAfterCompletionRedirect":{"title":"PaymentLinkAfterCompletionRedirect","properties":{"Url":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkAfterCompletionRedirect","type":"object"},"PaymentLinkAutomaticTax":{"title":"PaymentLinkAutomaticTax","properties":{"Enabled":{"type":"boolean","x-nullable":false},"Liability":{"$ref":"#/definitions/PaymentLinkAutomaticTaxLiability"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkAutomaticTax","type":"object"},"PaymentLinkAutomaticTaxLiability":{"title":"PaymentLinkAutomaticTaxLiability","properties":{"AccountId":{"type":"string"},"Account":{"$ref":"#/definitions/Account"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkAutomaticTaxLiability","type":"object"},"PaymentLinkConsentCollection":{"title":"PaymentLinkConsentCollection","properties":{"PaymentMethodReuseAgreement":{"$ref":"#/definitions/PaymentLinkConsentCollectionPaymentMethodReuseAgreement"},"Promotions":{"type":"string"},"TermsOfService":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkConsentCollection","type":"object"},"PaymentLinkConsentCollectionPaymentMethodReuseAgreement":{"title":"PaymentLinkConsentCollectionPaymentMethodReuseAgreement","properties":{"Position":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkConsentCollectionPaymentMethodReuseAgreement","type":"object"},"PaymentLinkCustomField":{"title":"PaymentLinkCustomField","properties":{"Dropdown":{"$ref":"#/definitions/PaymentLinkCustomFieldDropdown"},"Key":{"type":"string"},"Label":{"$ref":"#/definitions/PaymentLinkCustomFieldLabel"},"Numeric":{"$ref":"#/definitions/PaymentLinkCustomFieldNumeric"},"Optional":{"type":"boolean","x-nullable":false},"Text":{"$ref":"#/definitions/PaymentLinkCustomFieldText"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkCustomField","type":"object"},"PaymentLinkCustomFieldDropdown":{"title":"PaymentLinkCustomFieldDropdown","properties":{"DefaultValue":{"type":"string"},"Options":{"type":"array","items":{"$ref":"#/definitions/PaymentLinkCustomFieldDropdownOption"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkCustomFieldDropdown","type":"object"},"PaymentLinkCustomFieldDropdownOption":{"title":"PaymentLinkCustomFieldDropdownOption","properties":{"Label":{"type":"string"},"Value":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkCustomFieldDropdownOption","type":"object"},"PaymentLinkCustomFieldLabel":{"title":"PaymentLinkCustomFieldLabel","properties":{"Custom":{"type":"string"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkCustomFieldLabel","type":"object"},"PaymentLinkCustomFieldNumeric":{"title":"PaymentLinkCustomFieldNumeric","properties":{"DefaultValue":{"type":"string"},"MaximumLength":{"type":"integer","format":"int64"},"MinimumLength":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkCustomFieldNumeric","type":"object"},"PaymentLinkCustomFieldText":{"title":"PaymentLinkCustomFieldText","properties":{"DefaultValue":{"type":"string"},"MaximumLength":{"type":"integer","format":"int64"},"MinimumLength":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkCustomFieldText","type":"object"},"PaymentLinkCustomText":{"title":"PaymentLinkCustomText","properties":{"AfterSubmit":{"$ref":"#/definitions/PaymentLinkCustomTextAfterSubmit"},"ShippingAddress":{"$ref":"#/definitions/PaymentLinkCustomTextShippingAddress"},"Submit":{"$ref":"#/definitions/PaymentLinkCustomTextSubmit"},"TermsOfServiceAcceptance":{"$ref":"#/definitions/PaymentLinkCustomTextTermsOfServiceAcceptance"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkCustomText","type":"object"},"PaymentLinkCustomTextAfterSubmit":{"title":"PaymentLinkCustomTextAfterSubmit","properties":{"Message":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkCustomTextAfterSubmit","type":"object"},"PaymentLinkCustomTextShippingAddress":{"title":"PaymentLinkCustomTextShippingAddress","properties":{"Message":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkCustomTextShippingAddress","type":"object"},"PaymentLinkCustomTextSubmit":{"title":"PaymentLinkCustomTextSubmit","properties":{"Message":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkCustomTextSubmit","type":"object"},"PaymentLinkCustomTextTermsOfServiceAcceptance":{"title":"PaymentLinkCustomTextTermsOfServiceAcceptance","properties":{"Message":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkCustomTextTermsOfServiceAcceptance","type":"object"},"PaymentLinkInvoiceCreation":{"title":"PaymentLinkInvoiceCreation","properties":{"Enabled":{"type":"boolean","x-nullable":false},"InvoiceData":{"$ref":"#/definitions/PaymentLinkInvoiceCreationInvoiceData"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkInvoiceCreation","type":"object"},"PaymentLinkInvoiceCreationInvoiceData":{"title":"PaymentLinkInvoiceCreationInvoiceData","properties":{"AccountTaxIdIds":{"type":"array","items":{"type":"string"}},"AccountTaxIds":{"type":"array","items":{"$ref":"#/definitions/TaxId"}},"CustomFields":{"type":"array","items":{"$ref":"#/definitions/PaymentLinkInvoiceCreationInvoiceDataCustomField"}},"Description":{"type":"string"},"Footer":{"type":"string"},"Issuer":{"$ref":"#/definitions/PaymentLinkInvoiceCreationInvoiceDataIssuer"},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"RenderingOptions":{"$ref":"#/definitions/PaymentLinkInvoiceCreationInvoiceDataRenderingOptions"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkInvoiceCreationInvoiceData","type":"object"},"PaymentLinkInvoiceCreationInvoiceDataCustomField":{"title":"PaymentLinkInvoiceCreationInvoiceDataCustomField","properties":{"Name":{"type":"string"},"Value":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkInvoiceCreationInvoiceDataCustomField","type":"object"},"PaymentLinkInvoiceCreationInvoiceDataIssuer":{"title":"PaymentLinkInvoiceCreationInvoiceDataIssuer","properties":{"AccountId":{"type":"string"},"Account":{"$ref":"#/definitions/Account"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkInvoiceCreationInvoiceDataIssuer","type":"object"},"PaymentLinkInvoiceCreationInvoiceDataRenderingOptions":{"title":"PaymentLinkInvoiceCreationInvoiceDataRenderingOptions","properties":{"AmountTaxDisplay":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkInvoiceCreationInvoiceDataRenderingOptions","type":"object"},"PaymentLinkOptionalItem":{"title":"PaymentLinkOptionalItem","properties":{"AdjustableQuantity":{"$ref":"#/definitions/PaymentLinkOptionalItemAdjustableQuantity"},"Price":{"type":"string"},"Quantity":{"type":"integer","format":"int64","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkOptionalItem","type":"object"},"PaymentLinkOptionalItemAdjustableQuantity":{"title":"PaymentLinkOptionalItemAdjustableQuantity","properties":{"Enabled":{"type":"boolean","x-nullable":false},"Maximum":{"type":"integer","format":"int64"},"Minimum":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkOptionalItemAdjustableQuantity","type":"object"},"PaymentLinkPaymentIntentData":{"title":"PaymentLinkPaymentIntentData","properties":{"CaptureMethod":{"type":"string"},"Description":{"type":"string"},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"SetupFutureUsage":{"type":"string"},"StatementDescriptor":{"type":"string"},"StatementDescriptorSuffix":{"type":"string"},"TransferGroup":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkPaymentIntentData","type":"object"},"PaymentLinkPhoneNumberCollection":{"title":"PaymentLinkPhoneNumberCollection","properties":{"Enabled":{"type":"boolean","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkPhoneNumberCollection","type":"object"},"PaymentLinkRestrictions":{"title":"PaymentLinkRestrictions","properties":{"CompletedSessions":{"$ref":"#/definitions/PaymentLinkRestrictionsCompletedSessions"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkRestrictions","type":"object"},"PaymentLinkRestrictionsCompletedSessions":{"title":"PaymentLinkRestrictionsCompletedSessions","properties":{"Count":{"type":"integer","format":"int64","x-nullable":false},"Limit":{"type":"integer","format":"int64","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkRestrictionsCompletedSessions","type":"object"},"PaymentLinkShippingAddressCollection":{"title":"PaymentLinkShippingAddressCollection","properties":{"AllowedCountries":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkShippingAddressCollection","type":"object"},"PaymentLinkShippingOption":{"title":"PaymentLinkShippingOption","properties":{"ShippingAmount":{"type":"integer","format":"int64","x-nullable":false},"ShippingRateId":{"type":"string"},"ShippingRate":{"$ref":"#/definitions/ShippingRate"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkShippingOption","type":"object"},"PaymentLinkSubscriptionData":{"title":"PaymentLinkSubscriptionData","properties":{"Description":{"type":"string"},"InvoiceSettings":{"$ref":"#/definitions/PaymentLinkSubscriptionDataInvoiceSettings"},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"TrialPeriodDays":{"type":"integer","format":"int64"},"TrialSettings":{"$ref":"#/definitions/PaymentLinkSubscriptionDataTrialSettings"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkSubscriptionData","type":"object"},"PaymentLinkSubscriptionDataInvoiceSettings":{"title":"PaymentLinkSubscriptionDataInvoiceSettings","properties":{"Issuer":{"$ref":"#/definitions/PaymentLinkSubscriptionDataInvoiceSettingsIssuer"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkSubscriptionDataInvoiceSettings","type":"object"},"PaymentLinkSubscriptionDataInvoiceSettingsIssuer":{"title":"PaymentLinkSubscriptionDataInvoiceSettingsIssuer","properties":{"AccountId":{"type":"string"},"Account":{"$ref":"#/definitions/Account"},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkSubscriptionDataInvoiceSettingsIssuer","type":"object"},"PaymentLinkSubscriptionDataTrialSettings":{"title":"PaymentLinkSubscriptionDataTrialSettings","properties":{"EndBehavior":{"$ref":"#/definitions/PaymentLinkSubscriptionDataTrialSettingsEndBehavior"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkSubscriptionDataTrialSettings","type":"object"},"PaymentLinkSubscriptionDataTrialSettingsEndBehavior":{"title":"PaymentLinkSubscriptionDataTrialSettingsEndBehavior","properties":{"MissingPaymentMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkSubscriptionDataTrialSettingsEndBehavior","type":"object"},"PaymentLinkTaxIdCollection":{"title":"PaymentLinkTaxIdCollection","properties":{"Enabled":{"type":"boolean","x-nullable":false},"Required":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkTaxIdCollection","type":"object"},"PaymentLinkTransferData":{"title":"PaymentLinkTransferData","properties":{"Amount":{"type":"integer","format":"int64"},"DestinationId":{"type":"string"},"Destination":{"$ref":"#/definitions/Account"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"PaymentLinkTransferData","type":"object"},"SessionPaymentMethodConfigurationDetails":{"title":"SessionPaymentMethodConfigurationDetails","properties":{"Id":{"type":"string"},"Parent":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodConfigurationDetails","type":"object"},"SessionPaymentMethodOptions":{"title":"SessionPaymentMethodOptions","properties":{"AcssDebit":{"$ref":"#/definitions/SessionPaymentMethodOptionsAcssDebit"},"Affirm":{"$ref":"#/definitions/SessionPaymentMethodOptionsAffirm"},"AfterpayClearpay":{"$ref":"#/definitions/SessionPaymentMethodOptionsAfterpayClearpay"},"Alipay":{"$ref":"#/definitions/SessionPaymentMethodOptionsAlipay"},"AmazonPay":{"$ref":"#/definitions/SessionPaymentMethodOptionsAmazonPay"},"AuBecsDebit":{"$ref":"#/definitions/SessionPaymentMethodOptionsAuBecsDebit"},"BacsDebit":{"$ref":"#/definitions/SessionPaymentMethodOptionsBacsDebit"},"Bancontact":{"$ref":"#/definitions/SessionPaymentMethodOptionsBancontact"},"Boleto":{"$ref":"#/definitions/SessionPaymentMethodOptionsBoleto"},"Card":{"$ref":"#/definitions/SessionPaymentMethodOptionsCard"},"Cashapp":{"$ref":"#/definitions/SessionPaymentMethodOptionsCashapp"},"CustomerBalance":{"$ref":"#/definitions/SessionPaymentMethodOptionsCustomerBalance"},"Eps":{"$ref":"#/definitions/SessionPaymentMethodOptionsEps"},"Fpx":{"$ref":"#/definitions/SessionPaymentMethodOptionsFpx"},"Giropay":{"$ref":"#/definitions/SessionPaymentMethodOptionsGiropay"},"Grabpay":{"$ref":"#/definitions/SessionPaymentMethodOptionsGrabpay"},"Ideal":{"$ref":"#/definitions/SessionPaymentMethodOptionsIdeal"},"KakaoPay":{"$ref":"#/definitions/SessionPaymentMethodOptionsKakaoPay"},"Klarna":{"$ref":"#/definitions/SessionPaymentMethodOptionsKlarna"},"Konbini":{"$ref":"#/definitions/SessionPaymentMethodOptionsKonbini"},"KrCard":{"$ref":"#/definitions/SessionPaymentMethodOptionsKrCard"},"Link":{"$ref":"#/definitions/SessionPaymentMethodOptionsLink"},"Mobilepay":{"$ref":"#/definitions/SessionPaymentMethodOptionsMobilepay"},"Multibanco":{"$ref":"#/definitions/SessionPaymentMethodOptionsMultibanco"},"NaverPay":{"$ref":"#/definitions/SessionPaymentMethodOptionsNaverPay"},"Oxxo":{"$ref":"#/definitions/SessionPaymentMethodOptionsOxxo"},"P24":{"$ref":"#/definitions/SessionPaymentMethodOptionsP24"},"Payco":{"$ref":"#/definitions/SessionPaymentMethodOptionsPayco"},"Paynow":{"$ref":"#/definitions/SessionPaymentMethodOptionsPaynow"},"Paypal":{"$ref":"#/definitions/SessionPaymentMethodOptionsPaypal"},"Pix":{"$ref":"#/definitions/SessionPaymentMethodOptionsPix"},"RevolutPay":{"$ref":"#/definitions/SessionPaymentMethodOptionsRevolutPay"},"SamsungPay":{"$ref":"#/definitions/SessionPaymentMethodOptionsSamsungPay"},"SepaDebit":{"$ref":"#/definitions/SessionPaymentMethodOptionsSepaDebit"},"Sofort":{"$ref":"#/definitions/SessionPaymentMethodOptionsSofort"},"Swish":{"$ref":"#/definitions/SessionPaymentMethodOptionsSwish"},"UsBankAccount":{"$ref":"#/definitions/SessionPaymentMethodOptionsUsBankAccount"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptions","type":"object"},"SessionPaymentMethodOptionsAcssDebit":{"title":"SessionPaymentMethodOptionsAcssDebit","properties":{"Currency":{"type":"string"},"MandateOptions":{"$ref":"#/definitions/SessionPaymentMethodOptionsAcssDebitMandateOptions"},"SetupFutureUsage":{"type":"string"},"TargetDate":{"type":"string"},"VerificationMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsAcssDebit","type":"object"},"SessionPaymentMethodOptionsAcssDebitMandateOptions":{"title":"SessionPaymentMethodOptionsAcssDebitMandateOptions","properties":{"CustomMandateUrl":{"type":"string"},"DefaultFor":{"type":"array","items":{"type":"string"}},"IntervalDescription":{"type":"string"},"PaymentSchedule":{"type":"string"},"TransactionType":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsAcssDebitMandateOptions","type":"object"},"SessionPaymentMethodOptionsAffirm":{"title":"SessionPaymentMethodOptionsAffirm","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsAffirm","type":"object"},"SessionPaymentMethodOptionsAfterpayClearpay":{"title":"SessionPaymentMethodOptionsAfterpayClearpay","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsAfterpayClearpay","type":"object"},"SessionPaymentMethodOptionsAlipay":{"title":"SessionPaymentMethodOptionsAlipay","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsAlipay","type":"object"},"SessionPaymentMethodOptionsAmazonPay":{"title":"SessionPaymentMethodOptionsAmazonPay","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsAmazonPay","type":"object"},"SessionPaymentMethodOptionsAuBecsDebit":{"title":"SessionPaymentMethodOptionsAuBecsDebit","properties":{"SetupFutureUsage":{"type":"string"},"TargetDate":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsAuBecsDebit","type":"object"},"SessionPaymentMethodOptionsBacsDebit":{"title":"SessionPaymentMethodOptionsBacsDebit","properties":{"MandateOptions":{"$ref":"#/definitions/SessionPaymentMethodOptionsBacsDebitMandateOptions"},"SetupFutureUsage":{"type":"string"},"TargetDate":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsBacsDebit","type":"object"},"SessionPaymentMethodOptionsBacsDebitMandateOptions":{"title":"SessionPaymentMethodOptionsBacsDebitMandateOptions","properties":{"ReferencePrefix":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsBacsDebitMandateOptions","type":"object"},"SessionPaymentMethodOptionsBancontact":{"title":"SessionPaymentMethodOptionsBancontact","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsBancontact","type":"object"},"SessionPaymentMethodOptionsBoleto":{"title":"SessionPaymentMethodOptionsBoleto","properties":{"ExpiresAfterDays":{"type":"integer","format":"int64","x-nullable":false},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsBoleto","type":"object"},"SessionPaymentMethodOptionsCard":{"title":"SessionPaymentMethodOptionsCard","properties":{"Installments":{"$ref":"#/definitions/SessionPaymentMethodOptionsCardInstallments"},"RequestExtendedAuthorization":{"type":"string"},"RequestIncrementalAuthorization":{"type":"string"},"RequestMulticapture":{"type":"string"},"RequestOvercapture":{"type":"string"},"RequestThreeDSecure":{"type":"string"},"Restrictions":{"$ref":"#/definitions/SessionPaymentMethodOptionsCardRestrictions"},"SetupFutureUsage":{"type":"string"},"StatementDescriptorSuffixKana":{"type":"string"},"StatementDescriptorSuffixKanji":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsCard","type":"object"},"SessionPaymentMethodOptionsCardInstallments":{"title":"SessionPaymentMethodOptionsCardInstallments","properties":{"Enabled":{"type":"boolean","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsCardInstallments","type":"object"},"SessionPaymentMethodOptionsCardRestrictions":{"title":"SessionPaymentMethodOptionsCardRestrictions","properties":{"BrandsBlocked":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsCardRestrictions","type":"object"},"SessionPaymentMethodOptionsCashapp":{"title":"SessionPaymentMethodOptionsCashapp","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsCashapp","type":"object"},"SessionPaymentMethodOptionsCustomerBalance":{"title":"SessionPaymentMethodOptionsCustomerBalance","properties":{"BankTransfer":{"$ref":"#/definitions/SessionPaymentMethodOptionsCustomerBalanceBankTransfer"},"FundingType":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsCustomerBalance","type":"object"},"SessionPaymentMethodOptionsCustomerBalanceBankTransfer":{"title":"SessionPaymentMethodOptionsCustomerBalanceBankTransfer","properties":{"EuBankTransfer":{"$ref":"#/definitions/SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer"},"RequestedAddressTypes":{"type":"array","items":{"type":"string"}},"Type":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsCustomerBalanceBankTransfer","type":"object"},"SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer":{"title":"SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer","properties":{"Country":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer","type":"object"},"SessionPaymentMethodOptionsEps":{"title":"SessionPaymentMethodOptionsEps","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsEps","type":"object"},"SessionPaymentMethodOptionsFpx":{"title":"SessionPaymentMethodOptionsFpx","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsFpx","type":"object"},"SessionPaymentMethodOptionsGiropay":{"title":"SessionPaymentMethodOptionsGiropay","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsGiropay","type":"object"},"SessionPaymentMethodOptionsGrabpay":{"title":"SessionPaymentMethodOptionsGrabpay","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsGrabpay","type":"object"},"SessionPaymentMethodOptionsIdeal":{"title":"SessionPaymentMethodOptionsIdeal","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsIdeal","type":"object"},"SessionPaymentMethodOptionsKakaoPay":{"title":"SessionPaymentMethodOptionsKakaoPay","properties":{"CaptureMethod":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsKakaoPay","type":"object"},"SessionPaymentMethodOptionsKlarna":{"title":"SessionPaymentMethodOptionsKlarna","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsKlarna","type":"object"},"SessionPaymentMethodOptionsKonbini":{"title":"SessionPaymentMethodOptionsKonbini","properties":{"ExpiresAfterDays":{"type":"integer","format":"int64"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsKonbini","type":"object"},"SessionPaymentMethodOptionsKrCard":{"title":"SessionPaymentMethodOptionsKrCard","properties":{"CaptureMethod":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsKrCard","type":"object"},"SessionPaymentMethodOptionsLink":{"title":"SessionPaymentMethodOptionsLink","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsLink","type":"object"},"SessionPaymentMethodOptionsMobilepay":{"title":"SessionPaymentMethodOptionsMobilepay","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsMobilepay","type":"object"},"SessionPaymentMethodOptionsMultibanco":{"title":"SessionPaymentMethodOptionsMultibanco","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsMultibanco","type":"object"},"SessionPaymentMethodOptionsNaverPay":{"title":"SessionPaymentMethodOptionsNaverPay","properties":{"CaptureMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsNaverPay","type":"object"},"SessionPaymentMethodOptionsOxxo":{"title":"SessionPaymentMethodOptionsOxxo","properties":{"ExpiresAfterDays":{"type":"integer","format":"int64","x-nullable":false},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsOxxo","type":"object"},"SessionPaymentMethodOptionsP24":{"title":"SessionPaymentMethodOptionsP24","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsP24","type":"object"},"SessionPaymentMethodOptionsPayco":{"title":"SessionPaymentMethodOptionsPayco","properties":{"CaptureMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsPayco","type":"object"},"SessionPaymentMethodOptionsPaynow":{"title":"SessionPaymentMethodOptionsPaynow","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsPaynow","type":"object"},"SessionPaymentMethodOptionsPaypal":{"title":"SessionPaymentMethodOptionsPaypal","properties":{"CaptureMethod":{"type":"string"},"PreferredLocale":{"type":"string"},"Reference":{"type":"string"},"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsPaypal","type":"object"},"SessionPaymentMethodOptionsPix":{"title":"SessionPaymentMethodOptionsPix","properties":{"ExpiresAfterSeconds":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsPix","type":"object"},"SessionPaymentMethodOptionsRevolutPay":{"title":"SessionPaymentMethodOptionsRevolutPay","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsRevolutPay","type":"object"},"SessionPaymentMethodOptionsSamsungPay":{"title":"SessionPaymentMethodOptionsSamsungPay","properties":{"CaptureMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsSamsungPay","type":"object"},"SessionPaymentMethodOptionsSepaDebit":{"title":"SessionPaymentMethodOptionsSepaDebit","properties":{"MandateOptions":{"$ref":"#/definitions/SessionPaymentMethodOptionsSepaDebitMandateOptions"},"SetupFutureUsage":{"type":"string"},"TargetDate":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsSepaDebit","type":"object"},"SessionPaymentMethodOptionsSepaDebitMandateOptions":{"title":"SessionPaymentMethodOptionsSepaDebitMandateOptions","properties":{"ReferencePrefix":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsSepaDebitMandateOptions","type":"object"},"SessionPaymentMethodOptionsSofort":{"title":"SessionPaymentMethodOptionsSofort","properties":{"SetupFutureUsage":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsSofort","type":"object"},"SessionPaymentMethodOptionsSwish":{"title":"SessionPaymentMethodOptionsSwish","properties":{"Reference":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsSwish","type":"object"},"SessionPaymentMethodOptionsUsBankAccount":{"title":"SessionPaymentMethodOptionsUsBankAccount","properties":{"FinancialConnections":{"$ref":"#/definitions/SessionPaymentMethodOptionsUsBankAccountFinancialConnections"},"SetupFutureUsage":{"type":"string"},"TargetDate":{"type":"string"},"VerificationMethod":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsUsBankAccount","type":"object"},"SessionPaymentMethodOptionsUsBankAccountFinancialConnections":{"title":"SessionPaymentMethodOptionsUsBankAccountFinancialConnections","properties":{"Filters":{"$ref":"#/definitions/SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters"},"Permissions":{"type":"array","items":{"type":"string"}},"Prefetch":{"type":"array","items":{"type":"string"}},"ReturnUrl":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsUsBankAccountFinancialConnections","type":"object"},"SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters":{"title":"SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters","properties":{"AccountSubcategories":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters","type":"object"},"SessionPermissions":{"title":"SessionPermissions","properties":{"UpdateShippingDetails":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPermissions","type":"object"},"SessionPhoneNumberCollection":{"title":"SessionPhoneNumberCollection","properties":{"Enabled":{"type":"boolean","x-nullable":false},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPhoneNumberCollection","type":"object"},"SessionPresentmentDetails":{"title":"SessionPresentmentDetails","properties":{"PresentmentAmount":{"type":"integer","format":"int64","x-nullable":false},"PresentmentCurrency":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionPresentmentDetails","type":"object"},"SessionSavedPaymentMethodOptions":{"title":"SessionSavedPaymentMethodOptions","properties":{"AllowRedisplayFilters":{"type":"array","items":{"type":"string"}},"PaymentMethodRemove":{"type":"string"},"PaymentMethodSave":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionSavedPaymentMethodOptions","type":"object"},"SessionShippingAddressCollection":{"title":"SessionShippingAddressCollection","properties":{"AllowedCountries":{"type":"array","items":{"type":"string"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionShippingAddressCollection","type":"object"},"SessionShippingCost":{"title":"SessionShippingCost","properties":{"AmountSubtotal":{"type":"integer","format":"int64","x-nullable":false},"AmountTax":{"type":"integer","format":"int64","x-nullable":false},"AmountTotal":{"type":"integer","format":"int64","x-nullable":false},"ShippingRateId":{"type":"string"},"ShippingRate":{"$ref":"#/definitions/ShippingRate"},"Taxes":{"type":"array","items":{"$ref":"#/definitions/SessionShippingCostTax"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionShippingCost","type":"object"},"SessionShippingCostTax":{"title":"SessionShippingCostTax","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"Rate":{"$ref":"#/definitions/TaxRate"},"TaxabilityReason":{"type":"string"},"TaxableAmount":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionShippingCostTax","type":"object"},"SessionShippingOption":{"title":"SessionShippingOption","properties":{"ShippingAmount":{"type":"integer","format":"int64","x-nullable":false},"ShippingRateId":{"type":"string"},"ShippingRate":{"$ref":"#/definitions/ShippingRate"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionShippingOption","type":"object"},"SessionTaxIdCollection":{"title":"SessionTaxIdCollection","properties":{"Enabled":{"type":"boolean","x-nullable":false},"Required":{"type":"string"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionTaxIdCollection","type":"object"},"SessionTotalDetails":{"title":"SessionTotalDetails","properties":{"AmountDiscount":{"type":"integer","format":"int64","x-nullable":false},"AmountShipping":{"type":"integer","format":"int64"},"AmountTax":{"type":"integer","format":"int64","x-nullable":false},"Breakdown":{"$ref":"#/definitions/SessionTotalDetailsBreakdown"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionTotalDetails","type":"object"},"SessionTotalDetailsBreakdown":{"title":"SessionTotalDetailsBreakdown","properties":{"Discounts":{"type":"array","items":{"$ref":"#/definitions/SessionTotalDetailsBreakdownDiscount"}},"Taxes":{"type":"array","items":{"$ref":"#/definitions/SessionTotalDetailsBreakdownTax"}},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionTotalDetailsBreakdown","type":"object"},"SessionTotalDetailsBreakdownDiscount":{"title":"SessionTotalDetailsBreakdownDiscount","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"Discount":{"$ref":"#/definitions/Discount"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionTotalDetailsBreakdownDiscount","type":"object"},"SessionTotalDetailsBreakdownTax":{"title":"SessionTotalDetailsBreakdownTax","properties":{"Amount":{"type":"integer","format":"int64","x-nullable":false},"Rate":{"$ref":"#/definitions/TaxRate"},"TaxabilityReason":{"type":"string"},"TaxableAmount":{"type":"integer","format":"int64"},"RawJObject":{"$ref":"#/definitions/JObject"},"StripeResponse":{"$ref":"#/definitions/StripeResponse"}},"description":"SessionTotalDetailsBreakdownTax","type":"object"},"CustomPaymentIntentData":{"title":"CustomPaymentIntentData","properties":{"PaymentIntent":{"$ref":"#/definitions/PaymentIntent"}},"description":"CustomPaymentIntentData","type":"object"},"BookingPrice":{"title":"BookingPrice","properties":{"CurrencyId":{"type":"string"},"ServicePrice":{"$ref":"#/definitions/ServicePrice"},"CurrencyInfo":{"$ref":"#/definitions/Currency"},"PriceText":{"type":"string"},"AppliedCodes":{"type":"array","items":{"$ref":"#/definitions/AppliedRebateCodes"}},"IsRebate":{"type":"boolean","x-nullable":false},"CompanyId":{"type":"string","x-nullable":false},"BookingId":{"type":"integer","format":"int32","x-nullable":false},"ArticleId":{"type":"integer","format":"int32"},"Quantity":{"type":"integer","format":"int32","x-nullable":false},"Price":{"type":"number","format":"double"},"VAT":{"type":"number","format":"double"},"Category":{"type":"string"},"Updated":{"type":"string","format":"date-time","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false},"Invoiced":{"type":"boolean","x-nullable":false},"OccupiesSpot":{"type":"boolean","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"ServicePriceId":{"type":"integer","format":"int32"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"BookingPrice","type":"object"},"BookingStatus":{"title":"BookingStatus","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"Color":{"type":"string"},"Icon":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"BookingStatus","type":"object"},"ExternalReference":{"title":"ExternalReference","properties":{"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"string","x-nullable":false},"OwnerId":{"type":"string","x-nullable":false},"ReferenceType":{"type":"string"},"ReferenceTypeId":{"type":"integer","format":"int32","x-nullable":false},"ExternalData":{"type":"string"},"InternalData":{"type":"string"},"CreatedBy":{"type":"string"},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"}},"description":"ExternalReference","type":"object"},"BookedResourceType":{"title":"BookedResourceType","properties":{"Id":{"description":"The resource type id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The resource type name","type":"string"},"Resources":{"description":"The resources inside resource type","type":"array","items":{"$ref":"#/definitions/BookedResource"}}},"description":"BookedResourceType","type":"object"},"BookedResource":{"title":"BookedResource","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Color":{"type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri"},"Email":{"type":"string"},"MobilePhone":{"type":"string"},"AccessGroup":{"type":"string"},"EmailNotification":{"type":"boolean","x-nullable":false},"SMSNotification":{"type":"boolean","x-nullable":false},"EmailReminder":{"type":"boolean","x-nullable":false},"SMSReminder":{"type":"boolean","x-nullable":false}},"description":"BookedResource","type":"object"},"CustomFieldDataResponse":{"title":"CustomFieldDataResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Column":{"type":"string"},"Name":{"type":"string"},"Description":{"type":"string"},"Value":{"type":"string"},"DataType":{"description":"Data field of custom field. Valid values are: TextBox, ... Example: \u0027TextBox\u0027","type":"string"}},"description":"CustomFieldDataResponse","type":"object"},"Tag":{"title":"Tag","properties":{"TagScope":{"type":"string"},"Id":{"type":"integer","format":"int32","x-nullable":false},"CompanyId":{"type":"string","x-nullable":false},"Name":{"type":"string"},"Scope":{"type":"integer","format":"int32","x-nullable":false},"Color":{"type":"string"},"SortOrder":{"type":"integer","format":"int32","x-nullable":false},"Active":{"type":"boolean","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"UpdatedByUserId":{"type":"string"}},"description":"Tag","type":"object"},"IDbConnectionFactory":{"title":"IDbConnectionFactory","properties":{},"description":"IDbConnectionFactory","type":"object"},"ArticlePaymentSettings":{"title":"ArticlePaymentSettings","properties":{"WeeksBeforeArticleIsCancelled":{"type":"string"},"ToleranceWhenComparingPaymentAmounts":{"type":"string"}},"description":"ArticlePaymentSettings","type":"object"},"IBokameraPaymentManager_InitCheckoutRequestBody_QvicklyCustomCheckoutData_QvicklyCustomCheckoutData_":{"title":"IBokameraPaymentManager\u00603","properties":{},"description":"IBokameraPaymentManager\u003CInitCheckoutRequestBody,QvicklyCustomCheckoutData,QvicklyCustomCheckoutData\u003E","type":"object"},"IBokameraPaymentManager_StripeCreateCheckoutQuery_StripeCustomCheckoutData_StripeCustomCheckoutData_":{"title":"IBokameraPaymentManager\u00603","properties":{},"description":"IBokameraPaymentManager\u003CStripeCreateCheckoutQuery,StripeCustomCheckoutData,StripeCustomCheckoutData\u003E","type":"object"},"ILogger_PayableEntity_":{"title":"ILogger\u00601","properties":{},"description":"ILogger\u003CPayableEntity\u003E","type":"object"},"CacheDataProvider":{"title":"CacheDataProvider","properties":{"Dist":{"$ref":"#/definitions/DataCacheStore"},"Static":{"$ref":"#/definitions/DataCacheStore"}},"description":"CacheDataProvider","type":"object"},"DataCacheStore":{"title":"DataCacheStore","properties":{},"description":"DataCacheStore","type":"object"},"PaymentLog":{"title":"PaymentLog","properties":{"CurrencyId":{"type":"string"},"CurrencyInfo":{"$ref":"#/definitions/Currency"},"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"InternalReferenceId":{"type":"string"},"ArticleTypeId":{"type":"integer","format":"int32","x-nullable":false},"PaymentReferenceId":{"type":"string"},"PaymentProviderId":{"type":"integer","format":"int32"},"OrderItemReferenceId":{"type":"string"},"Amount":{"type":"number","format":"double"},"VAT":{"type":"number","format":"double"},"AmountCredited":{"type":"number","format":"double"},"Comments":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Updated":{"type":"string","format":"date-time","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"}},"description":"PaymentLog","type":"object"},"ArticleType":{"title":"ArticleType","properties":{"ArticleTypeId":{"type":"integer","format":"int32","x-nullable":false},"ArticleTypeName":{"type":"string"},"ArticleTypeDescription":{"type":"string"}},"description":"ArticleType","type":"object"},"Company":{"title":"Company","properties":{"Status":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"CustomerCustomFieldsConfig":{"type":"array","items":{"$ref":"#/definitions/CustomFieldConfig"}},"BookingAgreements":{"type":"string"},"BookingSettings":{"$ref":"#/definitions/BookingSettings"},"CompanyType":{"$ref":"#/definitions/CompanyType"},"CodeLockSettings":{"$ref":"#/definitions/CodeLockSetting"},"PaymentSettings":{"$ref":"#/definitions/PaymentSettings"},"Settings":{"$ref":"#/definitions/CompanySetting"},"WidgetSettings":{"$ref":"#/definitions/HomepageWidgetSetting"},"HomepageSettings":{"$ref":"#/definitions/HomepageSetting"},"RatingScore":{"$ref":"#/definitions/AverageRatingScore"},"Ratings":{"type":"array","items":{"$ref":"#/definitions/Rating"}},"Distance":{"type":"number","format":"double"},"Licenses":{"type":"array","items":{"$ref":"#/definitions/License"}},"VossCustomers":{"$ref":"#/definitions/CustomApiResult_CustomerResult_"},"BillingInformation":{"$ref":"#/definitions/BillingInformation"},"CompanyUsers":{"type":"array","items":{"$ref":"#/definitions/CompanyUser"}},"CompanyOwner":{"$ref":"#/definitions/CompanyOwner"},"ActiveLicenses":{"type":"array","items":{"$ref":"#/definitions/License"}},"CurrentLicense":{"$ref":"#/definitions/License"},"IsFreeAccount":{"type":"boolean","x-nullable":false},"DefaultLanguage":{"$ref":"#/definitions/CultureInfo"},"Category":{"$ref":"#/definitions/CompanyCategory"},"Lat":{"type":"number","format":"double","x-nullable":false},"Lon":{"type":"number","format":"double","x-nullable":false},"IsFavorite":{"type":"boolean","x-nullable":false},"ExternalReferences":{"type":"array","items":{"$ref":"#/definitions/ExternalReference"}},"SuperAdminSettings":{"$ref":"#/definitions/SuperAdminCompanySetting"},"OrganisationNumber":{"type":"string"},"StatusId":{"type":"integer","format":"int32","x-nullable":false},"CategoryId":{"type":"integer","format":"int32","x-nullable":false},"SitePath":{"type":"string"},"Name":{"type":"string"},"Street1":{"type":"string"},"Street2":{"type":"string"},"ZipCode":{"type":"string"},"City":{"type":"string"},"OpeningHours":{"type":"string"},"FaxNumber":{"type":"string"},"Email":{"type":"string"},"Phone":{"type":"string"},"Details":{"type":"string"},"LogoType":{"type":"string"},"ApprovedByAdmin":{"type":"boolean","x-nullable":false},"Updated":{"type":"string","format":"date-time","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false},"IpAddress":{"type":"string"},"Homepage":{"type":"string"},"DomainName":{"type":"string"},"CountryId":{"type":"string"},"TypeId":{"type":"integer","format":"int32"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"string","x-nullable":false},"CompanyOwnerId":{"type":"integer","format":"int32","x-nullable":false},"DeletionNotificationDate":{"type":"string","format":"date-time"}},"description":"Company","type":"object"},"BookingSettings":{"title":"BookingSettings","properties":{"FreeSpotTextsId":{"type":"integer","format":"int32","x-nullable":false},"SendEmailConfirmation":{"type":"boolean","x-nullable":false},"ScheduleViewOptions":{"type":"array","items":{"$ref":"#/definitions/ScheduleView"}},"WeekNumberSettingOptions":{"type":"array","items":{"$ref":"#/definitions/WeekNumberSetting"}},"BookingTemplateOptions":{"type":"array","items":{"$ref":"#/definitions/BookingTemplate"}},"CalendarTypeOptions":{"type":"array","items":{"$ref":"#/definitions/CalendarType"}},"FreeSpotTextOptions":{"type":"array","items":{"$ref":"#/definitions/FreeSpotTexts"}},"BookingStatusOptions":{"type":"array","items":{"$ref":"#/definitions/BookingStatusOptions"}},"FreeSpotTextsInfo":{"$ref":"#/definitions/FreeSpotTexts"},"FreeSpotsTextSingular":{"type":"string"},"FreeSpotsTextPlural":{"type":"string"},"BookingStatusId":{"type":"integer","format":"int32","x-nullable":false},"ScheduleViewId":{"type":"integer","format":"int32","x-nullable":false},"BookingTemplateId":{"type":"integer","format":"int32","x-nullable":false},"CalendarTypeId":{"type":"integer","format":"int32","x-nullable":false},"AllowBookingOnUnbookedTimes":{"type":"boolean","x-nullable":false},"SendEmailReminder":{"type":"boolean","x-nullable":false},"SendSmsReminder":{"type":"boolean","x-nullable":false},"SendSmsConfirmation":{"type":"boolean","x-nullable":false},"EmailReminderTime":{"type":"integer","format":"int32","x-nullable":false},"SmsReminderTime":{"type":"integer","format":"int32","x-nullable":false},"SendPushNotification":{"type":"boolean","x-nullable":false},"SendPushNotificationReminder":{"type":"boolean","x-nullable":false},"PushNotificationReminderTime":{"type":"integer","format":"int32","x-nullable":false},"MaxActiveBookings":{"type":"integer","format":"int32","x-nullable":false},"SendNotifications":{"type":"boolean","x-nullable":false},"SendNotificationsEmail":{"type":"string"},"EnableMobileApp":{"type":"boolean","x-nullable":false},"ScheduleStartTime":{"type":"string"},"ScheduleEndTime":{"type":"string"},"ReceiptTemplate":{"type":"string"},"ScheduleTimeSlotMinutes":{"type":"integer","format":"int32","x-nullable":false},"ShowFreeTimesLeft":{"type":"boolean","x-nullable":false},"EnableICalGroupBookings":{"type":"boolean","x-nullable":false},"AgreementTemplate":{"type":"string"},"ScheduleShowTimeExeptions":{"type":"boolean","x-nullable":false},"EnableBookingsOnSameTime":{"type":"boolean","x-nullable":false},"ShowWeekNumberSettingId":{"type":"integer","format":"int32","x-nullable":false},"EnableShowBookedTimes":{"type":"boolean","x-nullable":false},"EnableSendFollowUpMessage":{"type":"boolean","x-nullable":false},"FollowUpMessageTime":{"type":"integer","format":"int32","x-nullable":false},"MessageText":{"type":"string"},"ScheduleGroupResources":{"type":"boolean","x-nullable":false},"BookSpotUserResponseMinutes":{"type":"integer","format":"int32","x-nullable":false},"IsBookSpotDirectly":{"type":"boolean","x-nullable":false},"BookSpotDirectlyTimeLeftMinutes":{"type":"integer","format":"int32","x-nullable":false},"SendEmailNotificationQueue":{"type":"boolean","x-nullable":false},"SendSMSNotificationQueue":{"type":"boolean","x-nullable":false},"SchedulerDisableHorizontalScrolling":{"type":"boolean","x-nullable":false},"BookOnlyOnExistingCustomers":{"type":"boolean","x-nullable":false},"AutoGenerateUniquePinCode":{"type":"boolean","x-nullable":false},"RequireCustomerPinCode":{"type":"boolean","x-nullable":false},"WeightedPrices":{"type":"boolean","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"AutoCreateUserProfile":{"type":"boolean","x-nullable":false},"ShowMultipleResourcesAsOne":{"type":"boolean","x-nullable":false},"ShowPersonalIdentityNumber":{"type":"boolean","x-nullable":false},"PersonalIdentityNumberRequired":{"type":"boolean","x-nullable":false},"ShowMultiDayAsTime":{"type":"boolean","x-nullable":false},"BookingPinCodeRestriction":{"type":"string"},"CustomerInvoiceAdressRequired":{"type":"boolean","x-nullable":false},"Id":{"type":"string","x-nullable":false}},"description":"BookingSettings","type":"object"},"ScheduleView":{"title":"ScheduleView","properties":{"Name":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"ScheduleView","type":"object"},"WeekNumberSetting":{"title":"WeekNumberSetting","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"WeekNumberSetting","type":"object"},"BookingTemplate":{"title":"BookingTemplate","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"UsedByApplication":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"BookingTemplate","type":"object"},"CalendarType":{"title":"CalendarType","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"CalendarType","type":"object"},"FreeSpotTexts":{"title":"FreeSpotTexts","properties":{"TextSingular":{"type":"string"},"TextPlural":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"FreeSpotTexts","type":"object"},"BookingStatusOptions":{"title":"BookingStatusOptions","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"}},"description":"BookingStatusOptions","type":"object"},"CompanyType":{"title":"CompanyType","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"CompanyType","type":"object"},"CodeLockSetting":{"title":"CodeLockSetting","properties":{"CodeLockSystemOptions":{"type":"array","items":{"$ref":"#/definitions/CodeLockSystem"}},"Active":{"type":"boolean","x-nullable":false},"CodeLockSystemsId":{"type":"integer","format":"int32","x-nullable":false},"ValidBeforeMinutes":{"type":"integer","format":"int32","x-nullable":false},"ValidAfterMinutes":{"type":"integer","format":"int32","x-nullable":false},"DeleteOldBySchedule":{"type":"boolean","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false},"Updated":{"type":"string","format":"date-time","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"SendEmailNotification":{"type":"boolean","x-nullable":false},"SendSMSNotification":{"type":"boolean","x-nullable":false},"EmailNotificationTime":{"type":"integer","format":"int32","x-nullable":false},"SMSNotificationTime":{"type":"integer","format":"int32","x-nullable":false},"Id":{"type":"string","x-nullable":false}},"description":"CodeLockSetting","type":"object"},"CodeLockSystem":{"title":"CodeLockSystem","properties":{"Name":{"type":"string"},"Supplier":{"type":"string"},"LogoType":{"type":"string"},"Description":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"CodeLockSystem","type":"object"},"PaymentSettings":{"title":"PaymentSettings","properties":{"AdminPaymentOption":{"$ref":"#/definitions/AdminPaymentOptions"},"AdminPaymentOptions":{"type":"array","items":{"$ref":"#/definitions/AdminPaymentOptions"}},"PaymentProviderOptions":{"type":"array","items":{"$ref":"#/definitions/PaymentProviders"}},"Id":{"type":"string","x-nullable":false},"Enabled":{"type":"boolean","x-nullable":false},"RefundOnCancelBooking":{"type":"boolean","x-nullable":false},"DefaultPaymentOptionId":{"type":"integer","format":"int32"},"PaymentProviderId":{"type":"integer","format":"int32","x-nullable":false},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false}},"description":"PaymentSettings","type":"object"},"AdminPaymentOptions":{"title":"AdminPaymentOptions","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"AdminPaymentOptions","type":"object"},"PaymentProviders":{"title":"PaymentProviders","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"Category":{"type":"string"},"Url":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"PaymentProviders","type":"object"},"CompanySetting":{"title":"CompanySetting","properties":{"Languages":{"type":"array","items":{"$ref":"#/definitions/LanguageResponse"}},"Active":{"type":"boolean","x-nullable":false},"InactiveMessage":{"type":"string"},"Searchable":{"type":"boolean","x-nullable":false},"GATrackingId":{"type":"string"},"FacebookPixelId":{"type":"string"},"MultiLanguage":{"type":"boolean","x-nullable":false},"EnableAPITranslation":{"type":"boolean","x-nullable":false},"DefaultLanguage":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"GTMTrackingId":{"type":"string"},"ShowOnMarketPlace":{"type":"boolean","x-nullable":false},"GoogleAdsConversionId":{"type":"string"},"LinkedinTagId":{"type":"string"},"GoogleAdsConversionLabel":{"type":"string"},"SendCustomerInformationToExternalProviders":{"type":"boolean","x-nullable":false},"Id":{"type":"string","x-nullable":false},"IsWebhookFeatureEnabled":{"type":"boolean","x-nullable":false},"SmsMessageSendLimit":{"type":"integer","format":"int32"},"EmailMessageSendLimit":{"type":"integer","format":"int32"}},"description":"CompanySetting","type":"object"},"LanguageResponse":{"title":"LanguageResponse","properties":{"Id":{"type":"string"},"Name":{"type":"string"}},"description":"LanguageResponse","type":"object"},"HomepageWidgetSetting":{"title":"HomepageWidgetSetting","properties":{"WidgetServiceLayoutOptions":{"type":"array","items":{"$ref":"#/definitions/WidgetServiceLayouts"}},"WidgetTimeLayoutOptions":{"type":"array","items":{"$ref":"#/definitions/WidgetTimeLayouts"}},"WidgetBookingLayoutOptions":{"type":"array","items":{"$ref":"#/definitions/WidgetBookingLayouts"}},"WidgetBookingMethodOptions":{"type":"array","items":{"$ref":"#/definitions/WidgetBookingMethods"}},"ServiceLayoutId":{"type":"integer","format":"int32","x-nullable":false},"TimeLayoutId":{"type":"integer","format":"int32","x-nullable":false},"BookingLayoutId":{"type":"integer","format":"int32","x-nullable":false},"PrimaryColor":{"type":"string"},"ShowServiceImage":{"type":"boolean","x-nullable":false},"ShowNextAvailableTime":{"type":"boolean","x-nullable":false},"ShowEndTime":{"type":"boolean","x-nullable":false},"BookedTimeSlotText":{"type":"string"},"DarkTheme":{"type":"boolean","x-nullable":false},"ShowRebateCodeField":{"type":"boolean","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"EnableCreateAccount":{"type":"boolean","x-nullable":false},"EnableLogin":{"type":"boolean","x-nullable":false},"EnableDirectBooking":{"type":"boolean","x-nullable":false},"EnableFacebookLogin":{"type":"boolean","x-nullable":false},"ShowSubscribeToNewsletter":{"type":"boolean","x-nullable":false},"Id":{"type":"string","x-nullable":false}},"description":"HomepageWidgetSetting","type":"object"},"WidgetServiceLayouts":{"title":"WidgetServiceLayouts","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"Code":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"WidgetServiceLayouts","type":"object"},"WidgetTimeLayouts":{"title":"WidgetTimeLayouts","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"Code":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"WidgetTimeLayouts","type":"object"},"WidgetBookingLayouts":{"title":"WidgetBookingLayouts","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"Code":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"WidgetBookingLayouts","type":"object"},"WidgetBookingMethods":{"title":"WidgetBookingMethods","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"Code":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"WidgetBookingMethods","type":"object"},"HomepageSetting":{"title":"HomepageSetting","properties":{"HomepageTemplateOptions":{"type":"array","items":{"$ref":"#/definitions/HomepageTemplate"}},"HomepageHeroSectionStyleOptions":{"type":"array","items":{"$ref":"#/definitions/HeroSectionStyle"}},"CompanyId":{"type":"string"},"WelcomePageHeading":{"type":"string"},"WelcomePageBody":{"type":"string"},"AboutUsPageHeading":{"type":"string"},"AboutUsPageBody":{"type":"string"},"HomePageTemplateId":{"type":"integer","format":"int32","x-nullable":false},"ImageUrl":{"type":"string"},"Updated":{"type":"string","format":"date-time","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false},"HomepageHeading":{"type":"string"},"HeroSectionStyleId":{"type":"integer","format":"int32","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"ShowRating":{"type":"boolean","x-nullable":false},"EnableHomepage":{"type":"boolean","x-nullable":false},"Id":{"type":"string","x-nullable":false}},"description":"HomepageSetting","type":"object"},"HomepageTemplate":{"title":"HomepageTemplate","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri"},"Premium":{"type":"boolean","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"HomepageTemplate","type":"object"},"HeroSectionStyle":{"title":"HeroSectionStyle","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"HeroSectionStyle","type":"object"},"AverageRatingScore":{"title":"AverageRatingScore","properties":{"AverageScore":{"type":"number","format":"double","x-nullable":false},"Score1Count":{"type":"integer","format":"int32","x-nullable":false},"Score2Count":{"type":"integer","format":"int32","x-nullable":false},"Score3Count":{"type":"integer","format":"int32","x-nullable":false},"Score4Count":{"type":"integer","format":"int32","x-nullable":false},"Score5Count":{"type":"integer","format":"int32","x-nullable":false},"Count":{"type":"integer","format":"int32","x-nullable":false}},"description":"AverageRatingScore","type":"object"},"Rating":{"title":"Rating","properties":{"ReviewId":{"type":"string"},"Review":{"$ref":"#/definitions/Review"},"CompanyId":{"type":"string","x-nullable":false},"BookingId":{"type":"integer","format":"int32","x-nullable":false},"RatingScore":{"type":"integer","format":"int32","x-nullable":false},"Status":{"type":"integer","format":"int32","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false},"Updated":{"type":"string","format":"date-time","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"}},"description":"Rating","type":"object"},"License":{"title":"License","properties":{"VossSubscription":{"$ref":"#/definitions/VossSubscriptionResponse"},"Company":{"$ref":"#/definitions/Company"},"Type":{"$ref":"#/definitions/LicenseTypes"},"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"TypeId":{"type":"integer","format":"int32","x-nullable":false},"VossSubscriptionId":{"type":"string","x-nullable":false},"ValidFrom":{"type":"string","format":"date-time","x-nullable":false},"ValidTo":{"type":"string","format":"date-time","x-nullable":false},"LicenseStatus":{"type":"integer","format":"int32","x-nullable":false},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"MetaData":{"type":"string"}},"description":"License","type":"object"},"VossSubscriptionResponse":{"title":"VossSubscriptionResponse","properties":{"SubscriptionBillingPeriodStartDate":{"type":"string","format":"date-time","x-nullable":false},"SubscriptionBillingPeriodEndDate":{"type":"string","format":"date-time","x-nullable":false},"Tier":{"$ref":"#/definitions/TierResponse"}},"description":"VossSubscriptionResponse","type":"object"},"TierResponse":{"title":"TierResponse","properties":{"Id":{"type":"string","x-nullable":false},"Name":{"type":"string"},"ProductGroups":{"type":"array","items":{"$ref":"#/definitions/ProductGroupResponse"}}},"description":"TierResponse","type":"object"},"ProductGroupResponse":{"title":"ProductGroupResponse","properties":{"Id":{"type":"string","x-nullable":false},"Name":{"type":"string"},"TierId":{"type":"string","x-nullable":false}},"description":"ProductGroupResponse","type":"object"},"LicenseTypes":{"title":"LicenseTypes","properties":{"LicenseItems":{"type":"array","items":{"$ref":"#/definitions/LicenseTypeItem"}},"Prices":{"type":"array","items":{"$ref":"#/definitions/LicensePrice"}},"IsFree":{"type":"boolean","x-nullable":false},"PeriodOfNoticeDays":{"type":"integer","format":"int32","x-nullable":false},"NextLicenseOption":{"$ref":"#/definitions/LicenseTypes"},"Name":{"type":"string"},"Description":{"type":"string"},"ExtraLicenseOption":{"type":"boolean","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"Active":{"type":"boolean","x-nullable":false},"VossTierId":{"type":"string","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"LicenseTypes","type":"object"},"LicenseTypeItem":{"title":"LicenseTypeItem","properties":{"Name":{"type":"string"},"LicenseType":{"$ref":"#/definitions/LicenseTypes"},"LicenseTypesId":{"type":"integer","format":"int32","x-nullable":false},"LicenseItemsId":{"type":"integer","format":"int32","x-nullable":false},"NumberOfItems":{"type":"integer","format":"int32","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"}},"description":"LicenseTypeItem","type":"object"},"LicensePrice":{"title":"LicensePrice","properties":{"Country":{"$ref":"#/definitions/Country"},"LicenseTypeId":{"type":"integer","format":"int32","x-nullable":false},"CountryId":{"type":"string"},"Price":{"type":"integer","format":"int32","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"LicensePlanId":{"type":"integer","format":"int32","x-nullable":false}},"description":"LicensePrice","type":"object"},"Country":{"title":"Country","properties":{"CurrencyId":{"type":"string"},"CurrencyInfo":{"$ref":"#/definitions/Currency"},"Name":{"type":"string"},"Culture":{"type":"string"},"TimeZone":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"string"}},"description":"Country","type":"object"},"CustomApiResult_CustomerResult_":{"title":"CustomApiResult\u00601","properties":{"Data":{"$ref":"#/definitions/CustomerResult"},"Success":{"type":"boolean","x-nullable":false},"ErrorMessage":{"type":"string"},"StatusCode":{"type":"string"},"RawResponse":{"type":"string"}},"description":"CustomApiResult\u003CCustomerResult\u003E","type":"object"},"CustomerResult":{"title":"CustomerResult","properties":{"address":{"type":"string"},"careOf":{"type":"string"},"city":{"type":"string"},"contactPerson":{"$ref":"#/definitions/CustomerContactPersonDto"},"countryCode":{"type":"string"},"created":{"type":"string","format":"date-time","x-nullable":false},"customerGroup":{"type":"integer","format":"int32"},"customerNumber":{"type":"integer","format":"int32"},"electronicInvoiceAddress":{"type":"string"},"electronicInvoiceOperatorCode":{"type":"string"},"email":{"type":"string"},"expiryDate":{"type":"string","format":"date-time"},"externalId":{"type":"string"},"id":{"type":"string","x-nullable":false},"name":{"type":"string"},"organizationNumber":{"type":"string"},"postalCode":{"type":"string"},"targetGroups":{"type":"array","items":{"$ref":"#/definitions/CustomerTargetGroupDto"}}},"description":"CustomerResult","type":"object"},"CustomerContactPersonDto":{"title":"CustomerContactPersonDto","properties":{"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phoneNumber":{"type":"string"}},"description":"CustomerContactPersonDto","type":"object"},"CustomerTargetGroupDto":{"title":"CustomerTargetGroupDto","properties":{"externalId":{"type":"string"},"id":{"type":"string","x-nullable":false},"isDefault":{"type":"boolean","x-nullable":false},"name":{"type":"string"}},"description":"CustomerTargetGroupDto","type":"object"},"BillingInformation":{"title":"BillingInformation","properties":{"BillingMethod":{"$ref":"#/definitions/BillingMethod"},"BillingMethodId":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"PhoneNumber":{"type":"string"},"Attention":{"type":"string"},"Street1":{"type":"string"},"Street2":{"type":"string"},"ZipCode":{"type":"string"},"City":{"type":"string"},"Email":{"type":"string"},"CreditCard":{"type":"string"},"CreditCardHolder":{"type":"string"},"CreditCardNumber":{"type":"string"},"ValidToYear":{"type":"integer","format":"int32"},"ValidToMonth":{"type":"integer","format":"int32"},"CSV":{"type":"string"},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"CountryId":{"type":"string"},"PaymentTermsDays":{"type":"integer","format":"int32","x-nullable":false},"VatRegistrationNumber":{"type":"string"},"LicensePlanId":{"type":"integer","format":"int32","x-nullable":false},"GLN":{"type":"string"},"ReferenceLine1":{"type":"string"},"ReferenceLine2":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"string","x-nullable":false}},"description":"BillingInformation","type":"object"},"CompanyUser":{"title":"CompanyUser","properties":{"Resource":{"$ref":"#/definitions/Resource"},"Roles":{"type":"array","items":{"$ref":"#/definitions/KeyCloakRole"}},"Company":{"$ref":"#/definitions/Company"},"Email":{"type":"string"},"FullName":{"type":"string"},"ResourceId":{"type":"integer","format":"int32"},"WorkerId":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"IsSuperAdmin":{"type":"boolean","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"string","x-nullable":false},"UserId":{"type":"string","x-nullable":false},"Firstname":{"type":"string"},"Lastname":{"type":"string"},"SendPushNotification":{"type":"boolean","x-nullable":false},"SendPushNotificationReminder":{"type":"boolean","x-nullable":false},"Phone":{"type":"string"}},"description":"CompanyUser","type":"object"},"KeyCloakRole":{"title":"KeyCloakRole","properties":{"Id":{"type":"string","x-nullable":false},"Name":{"type":"string"}},"description":"KeyCloakRole","type":"object"},"CompanyOwner":{"title":"CompanyOwner","properties":{"Company":{"$ref":"#/definitions/Company"},"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"},"LogoTypeUrl":{"type":"string"},"BillingCompanyId":{"type":"string","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"}},"description":"CompanyOwner","type":"object"},"CultureInfo":{"title":"CultureInfo","properties":{},"description":"CultureInfo","type":"object"},"CompanyCategory":{"title":"CompanyCategory","properties":{"Name":{"type":"string"},"NormalizedName":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"CompanyCategory","type":"object"},"SuperAdminCompanySetting":{"title":"SuperAdminCompanySetting","properties":{"Id":{"type":"string","x-nullable":false},"DemoMeeting":{"type":"boolean","x-nullable":false},"StartupMeeting":{"type":"boolean","x-nullable":false},"Comment":{"type":"string"},"ModifiedDate":{"type":"string","format":"date-time"}},"description":"SuperAdminCompanySetting","type":"object"},"Article":{"title":"Article","properties":{"Company":{"$ref":"#/definitions/Company"},"CurrencyInfo":{"$ref":"#/definitions/Currency"},"ArticleServiceRelations":{"type":"array","items":{"$ref":"#/definitions/ArticleServiceRelation"}},"ServiceIds":{"type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"Services":{"type":"array","items":{"$ref":"#/definitions/Service"}},"ArticleType":{"type":"string"},"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"ArticleTypeId":{"type":"integer","format":"int32","x-nullable":false},"Description":{"type":"string"},"ImageUrl":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"Amount":{"type":"integer","format":"int32","x-nullable":false},"Price":{"type":"number","format":"double","x-nullable":false},"VAT":{"type":"number","format":"double"},"SortOrder":{"type":"integer","format":"int32","x-nullable":false},"CurrencyId":{"type":"string"},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"},"Duration":{"type":"integer","format":"int32","x-nullable":false},"ValidDays":{"type":"integer","format":"int32","x-nullable":false},"SendNotification":{"type":"boolean","x-nullable":false},"NotificationEmail":{"type":"string"}},"description":"Article","type":"object"},"ArticleServiceRelation":{"title":"ArticleServiceRelation","properties":{"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"ServiceId":{"type":"integer","format":"int32","x-nullable":false},"ArticleId":{"type":"integer","format":"int32","x-nullable":false}},"description":"ArticleServiceRelation","type":"object"},"ArticleInvoiceAddress":{"title":"ArticleInvoiceAddress","properties":{"ArticleInvoiceAddressId":{"type":"string","x-nullable":false},"CompanyId":{"type":"string","x-nullable":false},"InternalReferenceId":{"type":"string"},"ArticleTypeId":{"type":"integer","format":"int32","x-nullable":false},"CorporateIdentityNumber":{"type":"string"},"InvoiceAddress1":{"type":"string"},"InvoiceAddress2":{"type":"string"},"InvoiceCity":{"type":"string"},"InvoicePostalCode":{"type":"string"},"InvoiceCountryCode":{"type":"string"},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false}},"description":"ArticleInvoiceAddress","type":"object"},"CustomFieldServiceRelation":{"title":"CustomFieldServiceRelation","properties":{"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"CustomFieldConfigId":{"type":"integer","format":"int32","x-nullable":false},"ServiceId":{"type":"integer","format":"int32","x-nullable":false},"ModifiedDate":{"type":"string","format":"date-time"}},"description":"CustomFieldServiceRelation","type":"object"},"TestDateSchedule":{"title":"TestDateSchedule","required":["ScheduleDates","From","To"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ScheduleDates":{"description":"The dates for the schedule. This is the actual timeslots.","type":"array","items":{"$ref":"#/definitions/AddDateScheduleDate"}},"From":{"description":"From what datetime to show available times","type":"dateTime","format":"date-time","x-nullable":false},"To":{"description":"To what datetime to show available times","type":"dateTime","format":"date-time","x-nullable":false},"ServiceId":{"description":"The Service Duration","type":"integer","format":"int32"}},"description":"TestDateSchedule","type":"object"},"UpdateRecurringSchedule":{"title":"UpdateRecurringSchedule","required":["Id","TimeInterval","EnableBookingUntilClosingTime","ValidFrom","ValidTo","StartTime","EndTime","NumberOfScheduleDays"],"properties":{"Id":{"description":"Id of the schedule to update","type":"integer","format":"int32","x-nullable":false},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Name":{"description":"The schedule name","type":"string"},"Description":{"description":"The schedule description","type":"string"},"Active":{"description":"If schedule is active or not","type":"boolean"},"TimeInterval":{"description":"Time interval for available times Here you set the interval at which times should appear. For example, if you select the range 15minutes, and your service has an duration of 1 hour and opening hours are 9AM to 6PM you will see the following suggested times: 09AM-10PM 09:15AM-10:15PM, 09:30AM-10:30PM ,  ..... 04:45PM-05:45, 05:00PM-06:00PM","type":"integer","format":"int32"},"EnableBookingUntilClosingTime":{"description":"Allow bookings end time exceeds the opening hours Here you can choose whether it should be possible to make a reservation exceeding the opening hours. This should be ticked when a service duration is longer than 24 hours (possible to book over midnight).","type":"boolean"},"ValidFrom":{"description":"The timestamp to which the schedule is valid from","type":"string","format":"date-time"},"ValidTo":{"description":"The timestamp to which the schedule is valid to","type":"string","format":"date-time"},"StartTime":{"description":"The time for the schedule opening hours (starttime)","type":"string"},"EndTime":{"description":"The time for the schedule opening hours (endtime)","type":"string"},"NumberOfScheduleDays":{"description":"The number of days the schedule is valid from todays date","type":"integer","format":"int32"},"DaysOfWeek":{"description":"A comma separated list of which days this day exception belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"ScheduleDates":{"description":"If not recuring, an array indicating which dates that are open for the schedule.","type":"array","items":{"$ref":"#/definitions/AddRecurringScheduleDate"}},"Exceptions":{"description":"Schedule exceptions. For example closed on lunch time between 12AM and 1PM. These times will be removed from the recurring schedule.","type":"array","items":{"$ref":"#/definitions/ScheduleException"}},"Resources":{"description":"If the schedule is only connected to some resources, add them here. If empty, it will be used by all resources.","type":"array","items":{"$ref":"#/definitions/AddScheduleResource"}},"Services":{"description":"Set what services the schedule should be connected to.","type":"array","items":{"$ref":"#/definitions/AddScheduleService"}}},"description":"UpdateRecurringSchedule","type":"object"},"DeleteRecurringSchedule":{"title":"DeleteRecurringSchedule","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The schedule id","type":"integer","format":"int32","x-nullable":false}},"description":"DeleteRecurringSchedule","type":"object"},"DeleteDateSchedule":{"title":"DeleteDateSchedule","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The schedule id","type":"integer","format":"int32","x-nullable":false}},"description":"DeleteDateSchedule","type":"object"},"UpdateDateSchedule":{"title":"UpdateDateSchedule","required":["Id","NumberOfScheduleDays"],"properties":{"Id":{"description":"Id of the schedule to update","type":"integer","format":"int32","x-nullable":false},"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Name":{"description":"The schedule name","type":"string"},"Description":{"description":"The schedule description","type":"string"},"Active":{"description":"If schedule is active or not","type":"boolean"},"NumberOfScheduleDays":{"description":"The number of days the schedule is valid from todays date","type":"integer","format":"int32","x-nullable":false},"ScheduleDates":{"description":"The dates for the schedule. This is the actual timeslots.","type":"array","items":{"$ref":"#/definitions/AddDateScheduleDate"}},"Resources":{"description":"If the schedule is only connected to some resources, add them here. If empty, it will be used by all resources.","type":"array","items":{"$ref":"#/definitions/AddScheduleResource"}},"Services":{"description":"Set what services the schedule should be connected to.","type":"array","items":{"$ref":"#/definitions/AddScheduleService"}}},"description":"UpdateDateSchedule","type":"object"},"ServicePricesQuery":{"title":"ServicePricesQuery","properties":{"CompanyId":{"description":"Company to show services for","type":"string"},"ServiceId":{"description":"Service id","type":"integer","format":"int32"},"Active":{"description":"Only get prices for active services","type":"boolean"},"MaxLimit":{"description":"The max limit of records you want to retrieve, default is 100","type":"int","format":"int32"},"IncludeServiceInformation":{"description":"If you want to include the service information for the booking","type":"boolean","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"ServicePricesQuery","type":"object"},"CreateServicePrice":{"title":"CreateServicePrice","required":["ServiceId","Price","CurrencyId","CalculationTypeId","VAT"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"ServiceId":{"description":"The service id","type":"integer","format":"int32","x-nullable":false},"Price":{"description":"The price","type":"number","format":"double","x-nullable":false},"CurrencyId":{"description":"The price currency","type":"string"},"CalculationTypeId":{"description":"The price calculation type id, 1 = Normal, price is for the service total duration, 2 = Price is per minute, 3 = Price is per hour, 4= Price is per day","type":"integer","format":"int32","x-nullable":false},"VAT":{"description":"The price VAT in percent","type":"number","format":"double","x-nullable":false},"Category":{"description":"The price category if price has a category","type":"string"},"From":{"description":"The valid from date for the price.","type":"string","format":"date-time","x-nullable":false},"To":{"description":"The valid to date for the price.","type":"string","format":"date-time","x-nullable":false},"DaysOfWeek":{"description":"If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"FromTime":{"description":"If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"string"},"ToTime":{"description":"If the price is only valid for a specific time span during a time of day enter the FromTime and ToTime parameters.","type":"string"}},"description":"CreateServicePrice","type":"object"},"ScheduleTypeQuery":{"title":"ScheduleTypeQuery","properties":{},"description":"ScheduleTypeQuery","type":"object"},"DurationTypeQuery":{"title":"DurationTypeQuery","properties":{},"description":"DurationTypeQuery","type":"object"},"ServiceGroupsQuery":{"title":"ServiceGroupsQuery","properties":{"CompanyId":{"description":"Company to show service groups for","type":"string"}},"description":"ServiceGroupsQuery","type":"object"},"UpdateService":{"title":"UpdateService","required":["Id","EnableCustomerManualPayment"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the service","type":"integer","format":"int32"},"Name":{"description":"The service name","type":"string"},"Description":{"description":"The service description","type":"string"},"Group":{"description":"The service group","type":"string"},"Active":{"description":"If service is active or not","type":"boolean"},"DurationTypeId":{"description":"What type of duration should be used for the service.  Normal = 1, Flexible = 2. Flexible means user can select duration.","type":"integer","format":"int32"},"BookingStatusId":{"description":"If the booking should be either 1 = Booked) or 3 = Reserved. Default is 1 = Booked.","type":"integer","format":"int32"},"PauseAfterBooking":{"description":"Pause after each booking on this service in minutes","type":"integer","format":"int32"},"UnbookBeforeDays":{"description":"Last time to unbook service in days","type":"integer","format":"int32"},"UnbookBeforeHours":{"description":"Last time to unbook service in hours","type":"integer","format":"int32"},"UnbookBeforeMinutes":{"description":"Last time to unbook service in minutes","type":"integer","format":"int32"},"BookBeforeDays":{"description":"Last time to book service in days","type":"integer","format":"int32"},"EnableBookingQueue":{"description":"If you want to allow customers to add themself into a queue if fullybooked. Settings for this is handled in BookingSettings.","type":"boolean"},"EnableCodeLockSync":{"description":"If you want to enable sync to code lock for this service. Settings is handled in CodeLockSettings.","type":"boolean"},"EnableGoogleMeetBooking":{"description":"If you want to enable automatic Google Meet creation for bookings on this service.","type":"boolean"},"EnableCustomerManualPayment":{"description":"If you want to allow customer pay manually at the spot etc.","type":"boolean"},"BookBeforeHours":{"description":"Last time to book service in hours","type":"integer","format":"int32"},"BookBeforeMinutes":{"description":"Last time to book service in minutes","type":"integer","format":"int32"},"Duration":{"description":"The duration of the service in minutes","type":"integer","format":"int32"},"MinDuration":{"description":"When using Duration Intervals then set the Min Duration a customer can book","type":"integer","format":"int32"},"MaxDuration":{"description":"When using Duration Intervals then set the Max Duration a customer can book","type":"integer","format":"int32"},"DurationInterval":{"description":"The duration interval of the service when allowing customers to book in intervals","type":"integer","format":"int32"},"ShouldPayReservationCost":{"description":"If the service must be payed with reservation cost","type":"boolean"},"ShouldPayFullCost":{"description":"Setting if the service must be payed with full cost","type":"boolean"},"TotalSpots":{"description":"The number of spots on the service","type":"integer","format":"int32"},"LockSpotsToBooking":{"description":"If this setting is turned on the remaining spots (if Totalspots \u003E 1) is locked from be booked by another customer.","type":"boolean"},"PriceViewTypeId":{"description":"Price view type","type":"integer","format":"int32"},"GroupBooking":{"$ref":"#/definitions/GroupBookingSettings","description":"Group booking settings"},"MultipleResource":{"$ref":"#/definitions/MultipleResourceSettings","description":"Multiple resource booking settings"},"SortOrder":{"description":"SortOrder","type":"integer","format":"int32"},"OnlyVisibleByAdmin":{"description":"If the service only is bookable by admins","type":"boolean"},"IsPaymentEnabled":{"description":"If payment should be enabled on the service","type":"boolean"},"MaxPaymentTime":{"description":"Maximum numbers of minutes the booking payment must be completed before automatically umbooked","type":"integer","format":"int32"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The service image"},"ResourceTypes":{"description":"The resourcetypes to be added","type":"array","items":{"$ref":"#/definitions/AddResourceTypeService"}},"Schedules":{"$ref":"#/definitions/AddSchedulesToService","description":"The schedules to be added"},"CustomFields":{"description":"If Custom Fields are added to the service, here you will send the id and the value for each custom field to be updated","type":"array","items":{"$ref":"#/definitions/AddCustomField"}}},"description":"UpdateService","type":"object"},"GroupBookingSettings":{"title":"GroupBookingSettings","properties":{"Active":{"type":"boolean","x-nullable":false},"Min":{"type":"integer","format":"int32","x-nullable":false},"Max":{"type":"integer","format":"int32","x-nullable":false}},"description":"GroupBookingSettings","type":"object"},"MultipleResourceSettings":{"title":"MultipleResourceSettings","properties":{"Active":{"type":"boolean","x-nullable":false},"Min":{"type":"integer","format":"int32","x-nullable":false},"Max":{"type":"integer","format":"int32","x-nullable":false}},"description":"MultipleResourceSettings","type":"object"},"AddResourceTypeService":{"title":"AddResourceTypeService","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The resourcetype id","type":"integer","format":"int32","x-nullable":false},"SelectableByUser":{"description":"If the resources within the resourcetype should be selectable by customer when creating a booking","type":"boolean","x-nullable":false}},"description":"AddResourceTypeService","type":"object"},"AddSchedulesToService":{"title":"AddSchedulesToService","properties":{"RecurringSchedules":{"description":"The schedule id","type":"array","items":{"$ref":"#/definitions/ServiceSchedule"}},"DateSchedules":{"type":"array","items":{"$ref":"#/definitions/ServiceSchedule"}}},"description":"AddSchedulesToService","type":"object"},"ServiceSchedule":{"title":"ServiceSchedule","properties":{"Id":{"description":"The schedule id","type":"integer","format":"int32","x-nullable":false}},"description":"ServiceSchedule","type":"object"},"GroupedServiceQuery":{"title":"GroupedServiceQuery","properties":{"CompanyId":{"description":"Company to show services for","type":"string"},"Active":{"description":"Service status","type":"boolean"},"IncludeResources":{"description":"If you want to include the connected resource types and resources","type":"boolean","x-nullable":false},"IncludeSchedules":{"description":"If you want to include the connected schedules","type":"boolean","x-nullable":false},"IncludeCustomFields":{"description":"If you want to include the connected custom fields","type":"boolean","x-nullable":false},"IncludeCustomFieldValues":{"description":"If you want to include the connected resource types and resources","type":"boolean","x-nullable":false},"IncludeBookingCustomFields":{"description":"If you want to include the connected custom fields needs to be entered when booking a new time on the service","type":"boolean","x-nullable":false},"IncludeCustomerCustomFields":{"description":"If you want to include the connected custom fields for the customers","type":"boolean","x-nullable":false},"IncludePrices":{"description":"If you want to include the service prices","type":"boolean","x-nullable":false},"PriceDate":{"description":"If you have selected to include the prices, here you can set the date to show the prices for","type":"dateTime","format":"date-time"},"PriceTime":{"description":"If you have selected to include the prices, here you can set the datetime to show the exact price","type":"timeSpan"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"GroupedServiceQuery","type":"object"},"DeleteService":{"title":"DeleteService","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the service","type":"integer","format":"int32","x-nullable":false}},"description":"DeleteService","type":"object"},"PriceViewTypeQuery":{"title":"PriceViewTypeQuery","properties":{"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"PriceViewTypeQuery","type":"object"},"PriceCalculationTypeQuery":{"title":"PriceCalculationTypeQuery","properties":{},"description":"PriceCalculationTypeQuery","type":"object"},"ServicePricesMappingQuery":{"title":"ServicePricesMappingQuery","properties":{"CompanyId":{"description":"Company to show services for","type":"string"},"ReferenceType":{"description":"ReferenceType","type":"string"}},"description":"ServicePricesMappingQuery","type":"object"},"UpdateServicePricesMapping":{"title":"UpdateServicePricesMapping","properties":{"CompanyId":{"description":"Company to show services for","type":"string"},"ServicePriceMappings":{"type":"array","items":{"$ref":"#/definitions/ServicePriceMapping"}}},"description":"UpdateServicePricesMapping","type":"object"},"UpdateServicePrice":{"title":"UpdateServicePrice","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the price","type":"integer","format":"int32","x-nullable":false},"Price":{"description":"The price","type":"number","format":"double","x-nullable":false},"CurrencyId":{"description":"The price currency","type":"string"},"CalculationTypeId":{"description":"The price calculation type id, 1 = Normal, price is for the service total duration, 2 = Price is per minute, 3 = Price is per hour, 4= Price is per day","type":"integer","format":"int32","x-nullable":false},"VAT":{"description":"The price VAT in percent","type":"number","format":"double","x-nullable":false},"Category":{"description":"The price category if price has a category","type":"string"},"From":{"description":"The valid from date for the price.","type":"string","format":"date-time","x-nullable":false},"To":{"description":"The valid to date for the price.","type":"string","format":"date-time","x-nullable":false},"DaysOfWeek":{"description":"If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"FromTime":{"description":"If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"string"},"ToTime":{"description":"If the price is only valid for a specific time span during a time of day enter the FromTime and ToTime parameters.","type":"string"}},"description":"UpdateServicePrice","type":"object"},"DeleteServicePrice":{"title":"DeleteServicePrice","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The price id","type":"integer","format":"int32","x-nullable":false}},"description":"DeleteServicePrice","type":"object"},"AvailableTimesQuery":{"title":"AvailableTimesQuery","required":["ServiceId","From","To"],"properties":{"CompanyId":{"description":"Company to show services for","type":"string"},"ServiceId":{"description":"Service id","type":"integer","format":"int32","x-nullable":false},"From":{"description":"From what datetime to show available times","type":"dateTime","format":"date-time","x-nullable":false},"To":{"description":"To what datetime to show available times","type":"dateTime","format":"date-time","x-nullable":false},"Resources":{"description":"Here you can select one of the resource in each resourcetype connected to the service, if none is selected it will show available times for all","type":"array","items":{"$ref":"#/definitions/AvailableTimesResourceTypeResource"}},"NumberOfResources":{"description":"Here you select number of resources to book (in each resourcetype). Default is 1.","type":"integer","format":"int32","x-nullable":false},"ShowPerResource":{"description":"If you want to include the connected resource types and resources","type":"boolean","x-nullable":false},"InsideSearchInterval":{"description":"Both start and time time should be inside test interval. Default is false which means only start time needs to be inside.","type":"bool","x-nullable":false},"Duration":{"description":"The duration you want to book. Needs to withing the service Min and Max. If not set it will use the service duration","type":"bool","format":"int32"},"ArticleIds":{"description":"Article ids that should be booked with the service. The articles must be of type ServiceAddonArticle and connected to the service.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"AvailableTimesQuery","type":"object"},"AvailableTimesResourceTypeResource":{"title":"AvailableTimesResourceTypeResource","properties":{"ResourceTypeId":{"description":"The resourcetype id","type":"integer","format":"int32","x-nullable":false},"ResourceId":{"description":"The resource id","type":"integer","format":"int32","x-nullable":false}},"description":"AvailableTimesResourceTypeResource","type":"object"},"NextFreeTimeQuery":{"title":"NextFreeTimeQuery","required":["ServiceId","From","To"],"properties":{"CompanyId":{"description":"Company to show available time for","type":"string"},"ServiceId":{"description":"Service id","type":"integer","format":"int32","x-nullable":false},"From":{"description":"From what datetime to search available times","type":"dateTime","format":"date-time","x-nullable":false},"To":{"description":"To what datetime to show available times. Optional, if no datetime is set it will search one year","type":"dateTime","format":"date-time","x-nullable":false},"Resources":{"description":"Here you can select one of the resource in each resource type connected to the service, if none is selected it will show available times for all","type":"array","items":{"$ref":"#/definitions/AvailableTimesResourceTypeResource"}},"NumberOfResources":{"description":"Here you select number of resources to book (in each resource type). Default is 1.","type":"integer","format":"int32","x-nullable":false},"Duration":{"description":"The duration you want to book. Needs to withing the service Min and Max. If not set it will use the service duration","type":"bool","format":"int32"},"ArticleIds":{"description":"Article ids that should be booked with the service. The articles must be of type ServiceAddonArticle and connected to the service.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"ShowPerResource":{"description":"If you want to include the connected resource types and resources","type":"boolean","x-nullable":false}},"description":"NextFreeTimeQuery","type":"object"},"CalculateTotalPriceOnService":{"title":"CalculateTotalPriceOnService","required":["Id","Interval"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the service","type":"integer","format":"int32","x-nullable":false},"BookingId":{"description":"Optional booking id. If provided, the response will also contain the price difference compared to the existing booking price.","type":"integer","format":"int32"},"Interval":{"$ref":"#/definitions/PriceInterval","description":"The price interval to be used for calculations"},"RebateCodeIds":{"description":"Rebate codes applied to booking","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"ArticleIds":{"description":"Article ids that should be included in the price calculation. The articles must be of type ServiceAddonArticle and connected to the service.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"Quantities":{"description":"If you have selected to include the prices, here you can include the quantities to book to get the correct total price.","type":"array","items":{"$ref":"#/definitions/QuantityToBook"}},"CustomerEmail":{"description":"","type":"string"}},"description":"CalculateTotalPriceOnService","type":"object"},"PriceInterval":{"title":"PriceInterval","required":["From"],"properties":{"From":{"description":"The start date and time for the price to be calculated. Normally the booking start datetime.","type":"string","format":"date-time","x-nullable":false},"To":{"description":"The end date and time for the price to be calculated.Normally the booking end datetime. If nothing entered it will use the service length.","type":"string","format":"date-time"}},"description":"PriceInterval","type":"object"},"AddResourceTypeToService":{"title":"AddResourceTypeToService","required":["CompanyId","Id"],"properties":{"CompanyId":{"description":"The company id","type":"string","x-nullable":false},"Id":{"description":"The service id","type":"integer","format":"int32","x-nullable":false},"ResourceTypes":{"description":"The ResourceType(s) to be added","type":"array","items":{"$ref":"#/definitions/AddResourceTypeService"}}},"description":"AddResourceTypeToService","type":"object"},"DeleteServicePricesMapping":{"title":"DeleteServicePricesMapping","required":["Id"],"properties":{"CompanyId":{"description":"Company to delete price for","type":"string"},"Id":{"description":"Id of the service","type":"string","x-nullable":false}},"description":"DeleteServicePricesMapping","type":"object"},"AvailableTimesGroupedQuery":{"title":"AvailableTimesGroupedQuery","required":["ServiceId","From","To"],"properties":{"CompanyId":{"description":"Company to show services for","type":"string"},"ServiceId":{"description":"Service id","type":"integer","format":"int32","x-nullable":false},"From":{"description":"From what datetime to show available times","type":"dateTime","format":"date-time","x-nullable":false},"To":{"description":"To what datetime to show available times","type":"dateTime","format":"date-time","x-nullable":false},"Resources":{"description":"Here you can select one of the resource in each resourcetype connected to the service, if none is selected it will show available times for all","type":"array","items":{"$ref":"#/definitions/AvailableTimesResourceTypeResource"}},"NumberOfResources":{"description":"Here you select number of resources to book (in each resourcetype). Default is 1.","type":"integer","format":"int32","x-nullable":false},"ShowPerResource":{"description":"If you want to include the connected resourcetypes and resources","type":"boolean","x-nullable":false},"InsideSearchInterval":{"description":"Both start and time time should be inside test interval. Default is false which means only start time needs to be inside.","type":"bool","x-nullable":false},"Duration":{"description":"The duration you want to book. Needs to withing the service Min and Max. If not set it will use the service duration","type":"bool","format":"int32"},"ArticleIds":{"description":"Article ids that should be booked with the service. The articles must be of type ServiceAddonArticle and connected to the service.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"AvailableTimesGroupedQuery","type":"object"},"DeleteServiceRecurringSchedule":{"title":"DeleteServiceRecurringSchedule","required":["Id","RecurringScheduleId"],"properties":{"CompanyId":{"description":"Delete a schedules connected to service.","type":"string"},"Id":{"description":"Id of the service","type":"integer","format":"int32","x-nullable":false},"RecurringScheduleId":{"description":"Ids of Recurring schedules of the service to remove","type":"integer","format":"int32","x-nullable":false}},"description":"DeleteServiceRecurringSchedule","type":"object"},"DeleteServiceResourceTypes":{"title":"DeleteServiceResourceTypes","required":["Id","ResourceTypeId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Id of the service","type":"integer","format":"int32","x-nullable":false},"ResourceTypeId":{"description":"Ids of Resource Type of the service to remove","type":"integer","format":"int32","x-nullable":false}},"description":"DeleteServiceResourceTypes","type":"object"},"DeleteServiceDateSchedule":{"title":"DeleteServiceDateSchedule","required":["Id","DateScheduleId"],"properties":{"CompanyId":{"description":"Delete a schedules connected to service.","type":"string"},"Id":{"description":"Id of the service","type":"integer","format":"int32","x-nullable":false},"DateScheduleId":{"description":"Ids of Date schedules of the service to remove","type":"integer","format":"int32","x-nullable":false}},"description":"DeleteServiceDateSchedule","type":"object"},"CreateService":{"title":"CreateService","required":["EnableBookingQueue","EnableCodeLockSync"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Name":{"description":"The service name","type":"string"},"Description":{"description":"The service description","type":"string"},"Group":{"description":"The service group","type":"string"},"Active":{"description":"If service is active or not","type":"boolean","x-nullable":false},"BookingStatusId":{"description":"If the booking should be either 1 = Booked) or 3 = Reserved. Default is 1 = Booked.","type":"integer","format":"int32","x-nullable":false},"PauseAfterBooking":{"description":"Pause after each booking on this service in minutes","type":"integer","format":"int32","x-nullable":false},"UnbookBeforeDays":{"description":"Last time to unbook service in days","type":"integer","format":"int32","x-nullable":false},"UnbookBeforeHours":{"description":"Last time to unbook service in hours","type":"integer","format":"int32","x-nullable":false},"UnbookBeforeMinutes":{"description":"Last time to unbook service in minutes","type":"integer","format":"int32","x-nullable":false},"BookBeforeDays":{"description":"Last time to book service in days","type":"integer","format":"int32","x-nullable":false},"BookBeforeHours":{"description":"Last time to book service in hours","type":"integer","format":"int32","x-nullable":false},"BookBeforeMinutes":{"description":"Last time to book service in minutes","type":"integer","format":"int32","x-nullable":false},"DurationTypeId":{"description":"What type of duration should be used for the service.  Normal = 1, Flexible = 2. Flexible means user can select duration.","type":"integer","format":"int32","x-nullable":false},"Duration":{"description":"The duration of the service in minutes","type":"integer","format":"int32"},"MinDuration":{"description":"When using Duration Intervals then set the Min Duration a customer can book in Minutes","type":"integer","format":"int32"},"MaxDuration":{"description":"When using Duration Intervals then set the Max Duration a customer can book in Minutes","type":"integer","format":"int32"},"DurationInterval":{"description":"The duration interval of the service when allowing customers to book in intervals in Minutes","type":"integer","format":"int32"},"ShouldPayReservationCost":{"description":"If the service must be payed with reservation cost","type":"boolean","x-nullable":false},"ShouldPayFullCost":{"description":"Setting if the service must be payed with full cost","type":"boolean","x-nullable":false},"TotalSpots":{"description":"The number of spots on the service","type":"integer","format":"int32","x-nullable":false},"LockSpotsToBooking":{"description":"If this setting is turned on the remaining spots (if Totalspots \u003E 1) is locked from be booked by another customer.","type":"boolean","x-nullable":false},"GroupBooking":{"$ref":"#/definitions/GroupBookingSettings","description":"Group booking settings"},"MultipleResource":{"$ref":"#/definitions/MultipleResourceSettings","description":"Multiple resource booking settings"},"SortOrder":{"description":"SortOrder","type":"integer","format":"int32"},"OnlyVisibleByAdmin":{"description":"If the service only is bookable by admins","type":"boolean","x-nullable":false},"IsPaymentEnabled":{"description":"If payment should be enabled on the service","type":"boolean","x-nullable":false},"MaxPaymentTime":{"description":"Maximum numbers of minutes the booking payment must be completed before automatically umbooked","type":"integer","format":"int32","x-nullable":false},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The service image"},"EnableBookingQueue":{"description":"If you want to allow customers to add them self into a queue if fully booked. Settings for this is handled in BookingSettings.","type":"boolean","x-nullable":false},"EnableCodeLockSync":{"description":"If you want to enable sync to code lock for this service.","type":"boolean","x-nullable":false},"EnableGoogleMeetBooking":{"description":"If you want to enable automatic Google Meet creation for bookings on this service.","type":"boolean","x-nullable":false},"EnableCustomerManualPayment":{"description":"If you want to allow customer pay manually at the spot etc.","type":"boolean","x-nullable":false},"ResourceTypes":{"description":"The resource types to be added","type":"array","items":{"$ref":"#/definitions/AddResourceTypeService"}},"Schedules":{"$ref":"#/definitions/AddSchedulesToService","description":"The schedules to be added"},"CustomFields":{"description":"If Custom Fields are added to the service, here you will send the id and the value for each custom field to be added","type":"array","items":{"$ref":"#/definitions/AddCustomField"}},"PriceViewTypeId":{"description":"By default sets to 1, which should be \u0027default\u0027 in database","type":"integer","format":"int32","x-nullable":false}},"description":"CreateService","type":"object"},"ServiceQuery":{"title":"ServiceQuery","properties":{"CompanyId":{"description":"Company to show services for","type":"string"},"Id":{"description":"If you only want to get a specific service","type":"integer","format":"int32"},"Active":{"description":"Service status","type":"boolean"},"IncludeResources":{"description":"If you want to include the connected resource types and resources","type":"boolean","x-nullable":false},"IncludeSchedules":{"description":"If you want to include the connected schedules","type":"boolean","x-nullable":false},"IncludeCustomFields":{"description":"If you want to include the connected custom fields","type":"boolean","x-nullable":false},"IncludeCustomFieldValues":{"description":"If you want to include the connected custom fields selectable values","type":"boolean","x-nullable":false},"IncludeBookingCustomFields":{"description":"If you want to include the connected custom fields needs to be entered when booking a new time on the service","type":"boolean","x-nullable":false},"IncludeCustomerCustomFields":{"description":"If you want to include the connected custom fields for the customers","type":"boolean","x-nullable":false},"IncludePrices":{"description":"If you want to include the service prices","type":"boolean","x-nullable":false},"PriceDate":{"description":"If you have selected to include the prices, here you can set the date to show the prices for","type":"dateTime","format":"date-time"},"PriceTime":{"description":"If you have selected to include the prices, here you can set the datetime to show the exact price","type":"timeSpan"},"RebateCodeIds":{"description":"If you have selected to include the prices, here you can include the rebate codes","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"Quantities":{"description":"If you have selected to include the prices, here you can include the quantities to book to get the correct total price.","type":"array","items":{"$ref":"#/definitions/QuantityToBook"}},"IncludeBookingStatusOptions":{"description":"If you want to include the booking status options to select from","type":"boolean","x-nullable":false},"IncludeRatingReviews":{"description":"If you want to include the rating reviews","type":"boolean","x-nullable":false},"IncludeRatingSummary":{"description":"If you want to include the rating summary","type":"boolean","x-nullable":false},"IncludePricesFromOtherDays":{"description":"If you want to filter out prices which or not active for the day","type":"boolean","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"ServiceQuery","type":"object"},"SettingsChangeLogQuery":{"title":"SettingsChangeLogQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"SettingsType":{"description":"Filter by settings type, e.g. BookingSettings, PaymentSettings, CompanySetting, EAccountingSettings","type":"string"},"PropertyName":{"description":"Filter by property name, e.g. SendEmailReminder","type":"string"},"ModifiedBy":{"description":"Filter by who made the change","type":"string"},"CreatedDateGreaterThanOrEqualTo":{"description":"Filter changes created on or after this date","type":"string","format":"date-time"},"CreatedDateLessThanOrEqualTo":{"description":"Filter changes created on or before this date","type":"string","format":"date-time"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"SettingsChangeLogQuery","type":"object"},"SettingsErrorCheck":{"title":"SettingsErrorCheck","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"SettingsErrorCheck","type":"object"},"SystemSettingQuery":{"title":"SystemSettingQuery","properties":{"IncludeLanguageOptions":{"description":"If you want to include the language options to select from","type":"boolean","x-nullable":false}},"description":"SystemSettingQuery","type":"object"},"UpdateSystemSetting":{"title":"UpdateSystemSetting","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Active":{"description":"If the booking is active or not","type":"bool"},"InactiveMessage":{"description":"If the booking is not active, what message to show to the customers","type":"string"},"Searchable":{"description":"If the company should be visible in search results on homepage","type":"bool"},"GATrackingId":{"description":"If you have a Google Analytics account and want to track your customers behaviors.","type":"string"},"GoogleAdsConversionId":{"description":"If you have a Google Ads Conversion Id account and want to track your customers behaviors.","type":"string"},"LinkedinTagId":{"description":"If you have a LinkedIn account and want to track your customers behaviors.","type":"string"},"GoogleAdsConversionLabel":{"description":"If you have a Google Ads Conversion Label and want to track your customers behaviors.","type":"string"},"GTMTrackingId":{"description":"If you have a Google Tag Manager account and want to track your customers behaviors.","type":"string"},"FacebookPixelId":{"description":"If you have a Facebook account and want to track your customers behaviors.","type":"string"},"ShowOnMarketplace":{"description":"If the company should be visible on the marketplace","type":"bool"},"MultiLanguage":{"description":"If you want your customers to be able to change language on your homepage","type":"bool"},"EnableAPITranslation":{"description":"If you want your own written text on your homepage to be translated using Google Translate when a user changes language","type":"bool"},"DefaultLanguage":{"description":"What is the standard language your homepage information is written in. Select from the different countries, i.e. SE,NO,EN","type":"string"},"SendCustomerInformationToExternalProviders":{"description":"If you want to allow to send customer information in the tracking events to the external providers. Note you as a company are responsible for informing your customers and handling the data in terms of GDPR. ","type":"boolean"},"SMSMessageDailySendLimit":{"description":"The maximum number of SMS messages that can be sent per day.","type":"integer","format":"int32"},"EmailMessageDailySendLimit":{"description":"The maximum number of email messages that can be sent per day.","type":"integer","format":"int32"}},"description":"UpdateSystemSetting","type":"object"},"SettingsChangeLogTypesQuery":{"title":"SettingsChangeLogTypesQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"SettingsChangeLogTypesQuery","type":"object"},"BookingSettingQuery":{"title":"BookingSettingQuery","properties":{"IncludeScheduleViewOptions":{"description":"If you want to include the schedule views to select from","type":"boolean","x-nullable":false},"IncludeWeekNumberOptions":{"description":"If you want to include the week number settings to select from","type":"boolean","x-nullable":false},"IncludeBookingTemplateOptions":{"description":"If you want to include the booking template options to select from","type":"boolean","x-nullable":false},"IncludeCalendarTypeOptions":{"description":"If you want to include the calendar type options to select from","type":"boolean","x-nullable":false},"IncludeBookingStatusOptions":{"description":"If you want to include the booking status options to select from","type":"boolean","x-nullable":false},"IncludeFreeSpotTextOptions":{"description":"If you want to include the Free spot text options to select from","type":"boolean","x-nullable":false}},"description":"BookingSettingQuery","type":"object"},"UpdateBookingSettings":{"title":"UpdateBookingSettings","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"BookingStatusId":{"description":"","type":"int","format":"int32"},"ScheduleViewId":{"description":"","type":"int","format":"int32"},"BookingTemplateId":{"description":"","type":"int","format":"int32"},"CalendarTypeId":{"description":"","type":"int","format":"int32"},"AllowBookingOnUnbookedTimes":{"description":"","type":"bool"},"SendEmailReminder":{"description":"","type":"boolean"},"SendSmsReminder":{"description":"","type":"boolean"},"SendEmailConfirmation":{"description":"","type":"boolean"},"SendSmsConfirmation":{"description":"","type":"boolean"},"SendPushNotification":{"description":"If the customer should receive Push notification when booked","type":"boolean"},"SendPushNotificationReminder":{"description":"If the customer should receive Push notification reminders on bookings","type":"boolean"},"PushNotificationReminderTime":{"description":"How many minutes before booking starts the customer should receive the notification","type":"int","format":"int32","x-nullable":false},"EmailReminderTime":{"description":"","type":"int","format":"int32"},"SmsReminderTime":{"description":"","type":"int","format":"int32"},"MaxActiveBookings":{"description":"","type":"int","format":"int32"},"SendNotifications":{"description":"","type":"bool"},"SendNotificationsEmail":{"description":"","type":"string"},"MessageText":{"description":"Message text field that could be used inside message templates using [MessageText].","type":"string"},"EnableMobileApp":{"description":"","type":"bool"},"ScheduleStartTime":{"description":"The admin scheduler start time to show as default","type":"string"},"ScheduleEndTime":{"description":"The admin scheduler end time to show as default","type":"string"},"ReceiptTemplate":{"description":"Booking receipt text.","type":"string"},"ScheduleTimeSlotMinutes":{"description":"The admin scheduler minutes of each timeslot","type":"integer","format":"int32"},"ScheduleGroupResources":{"description":"The admin scheduler if each resources should be shown in a separate group","type":"boolean"},"SchedulerDisableHorizontalScrolling":{"description":"The admin scheduler if the horizontal scrolling should be turned off","type":"boolean"},"BookOnlyOnExistingCustomers":{"description":"If it\u0027s only allowed for existing customers to book","type":"boolean"},"AutoGenerateUniquePinCode":{"description":"If the system should auto generate a unique pin code for customers","type":"boolean"},"RequireCustomerPinCode":{"description":"If the customer is required to enter a pin code to create a booking","type":"boolean"},"AutoCreateUserProfile":{"description":"If a user profile should be created when customer is booking time. With the property customer can login.","type":"boolean"},"FollowUpMessageTime":{"description":"When follow up message should be sent in hours after the booking.","type":"integer","format":"int32"},"ShowFreeTimesLeft":{"description":"","type":"boolean"},"FreeSpotTextsId":{"description":"","type":"integer","format":"int32"},"EnableICalGroupBookings":{"description":"","type":"boolean"},"AgreementTemplate":{"description":"Booking agreement text. All html needs to entered using markup. Read about markup here https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet. Use this editor to create markup https://stackedit.io/app#","type":"string"},"ScheduleShowTimeExeptions":{"description":"","type":"boolean"},"EnableBookingsOnSameTime":{"description":"","type":"boolean"},"ShowWeekNumberSettingId":{"description":"","type":"integer","format":"int32"},"EnableShowBookedTimes":{"description":"","type":"boolean"},"EnableSendFollowUpMessage":{"description":"","type":"boolean"},"BookSpotUserResponseMinutes":{"description":"","type":"int","format":"int32"},"IsBookSpotDirectly":{"description":"","type":"boolean"},"BookSpotDirectlyTimeLeftMinutes":{"description":"","type":"int","format":"int32"},"SendEmailNotificationQueue":{"description":"","type":"int"},"SendSMSNotificationQueue":{"description":"","type":"boolean"},"WeightedPrices":{"description":"If you have different prices over different times per day and want it to calculate the weighted price for the booked time.","type":"boolean"},"ShowMultiDayAsTime":{"description":"","type":"boolean"},"ShowMultipleResourcesAsOne":{"description":"","type":"boolean"},"BookingPinCodeRestriction":{"description":"If booking should be restricted by a pin code","type":"string"},"CustomerInvoiceAdressRequired":{"description":"Customer Invoice Address will be required when creating booking","type":"boolean"},"ShowPersonalIdentityNumber":{"description":"Show Personal Identity Number in booking form","type":"boolean"},"PersonalIdentityNumberRequired":{"description":"Personal Identity Number is required when creating booking","type":"boolean"}},"description":"UpdateBookingSettings","type":"object"},"StatisticQuery":{"title":"StatisticQuery","required":["CompanyId","From","To"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"From":{"description":"Start of interval to get bookings and customers","type":"string","format":"date-time","x-nullable":false},"To":{"description":"End of interval to get bookings and customers","type":"string","format":"date-time","x-nullable":false},"IncludeOccuringBookingsByDay":{"description":"Set true if you want to include booked events by day","type":"boolean","x-nullable":false},"IncludeBookingsCanceledByDay":{"description":"Set true if you want to include canceled booked events by day","type":"boolean","x-nullable":false},"IncludeCreatedBookingsByDay":{"description":"Set true if you want to include booking created by day","type":"boolean","x-nullable":false},"IncludeCreatedCustomersByDay":{"description":"Set true if you want to include customers created by day","type":"boolean","x-nullable":false}},"description":"StatisticQuery","type":"object"},"SuperAdminSupportCaseQuery":{"title":"SuperAdminSupportCaseQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Active":{"description":"If you want to search on active support cases","type":"boolean"},"Id":{"description":"Support Case Id","type":"int","format":"int32"},"IncludeComments":{"description":"If you want to include the support case comments","type":"boolean","x-nullable":false},"IncludeCaseStatusInformation":{"description":"If you want to include the support case status information","type":"boolean","x-nullable":false},"IncludeCaseTypeInformation":{"description":"If you want to include the support case type information","type":"boolean","x-nullable":false},"IncludeCaseAreaInformation":{"description":"If you want to include the support case area information","type":"boolean","x-nullable":false},"IncludeCaseComments":{"description":"If you want to include the support case comments","type":"boolean","x-nullable":false},"IncludeCaseAttachments":{"description":"If you want to include the support case attachments","type":"boolean","x-nullable":false},"IncludeCaseStatusOptions":{"description":"If you want to include the support case status  options to select from","type":"boolean","x-nullable":false},"IncludeCaseTypeOptions":{"description":"If you want to include the support case type  options to select from","type":"boolean","x-nullable":false},"IncludeCaseAreaOptions":{"description":"If you want to include the support case area options to select from","type":"boolean","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"SuperAdminSupportCaseQuery","type":"object"},"SuperAdminCreateSupportCase":{"title":"SuperAdminCreateSupportCase","required":["CompanyId"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"Title":{"description":"The case title.","type":"string"},"Description":{"description":"The case description.","type":"string"},"CaseTypeId":{"description":"If the case type id.","type":"integer","format":"int32","x-nullable":false},"CaseAreaId":{"description":"If the case area id.","type":"integer","format":"int32","x-nullable":false}},"description":"SuperAdminCreateSupportCase","type":"object"},"SuperAdminSupportCaseStatusQuery":{"title":"SuperAdminSupportCaseStatusQuery","properties":{"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"SuperAdminSupportCaseStatusQuery","type":"object"},"SuperAdminSupportCaseTypeQuery":{"title":"SuperAdminSupportCaseTypeQuery","properties":{"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"SuperAdminSupportCaseTypeQuery","type":"object"},"SuperAdminSupportCaseAreaQuery":{"title":"SuperAdminSupportCaseAreaQuery","properties":{"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"SuperAdminSupportCaseAreaQuery","type":"object"},"SuperAdminUpdateSupportCase":{"title":"SuperAdminUpdateSupportCase","required":["CompanyId"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"Id":{"description":"The support case id","type":"integer","format":"int32","x-nullable":false},"Title":{"description":"The case title.","type":"string"},"Description":{"description":"The case description.","type":"string"},"CaseTypeId":{"description":"If the case type id.","type":"integer","format":"int32"},"CaseAreaId":{"description":"If the case area id.","type":"integer","format":"int32"}},"description":"SuperAdminUpdateSupportCase","type":"object"},"SuperAdminSupportCaseCommentQuery":{"title":"SuperAdminSupportCaseCommentQuery","required":["CompanyId","SupportCaseId"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"SupportCaseId":{"description":"The support case id","type":"integer","format":"int32","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"SuperAdminSupportCaseCommentQuery","type":"object"},"SuperAdminSupportCaseAttachmentQuery":{"title":"SuperAdminSupportCaseAttachmentQuery","required":["CompanyId","SupportCaseId"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"SupportCaseId":{"description":"The support case id","type":"integer","format":"int32","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"SuperAdminSupportCaseAttachmentQuery","type":"object"},"SuperAdminAddSupportCaseComment":{"title":"SuperAdminAddSupportCaseComment","required":["Id"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"Id":{"description":"The support case id","type":"integer","format":"int32","x-nullable":false},"Comment":{"description":"The case comment.","type":"string"}},"description":"SuperAdminAddSupportCaseComment","type":"object"},"SuperAdminAddSupportCaseAttachment":{"title":"SuperAdminAddSupportCaseAttachment","required":["CompanyId"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"Id":{"description":"The support case id","type":"integer","format":"int32","x-nullable":false},"FileUrl":{"description":"The case attachment url. Only images are allowed to attach.","type":"string"}},"description":"SuperAdminAddSupportCaseAttachment","type":"object"},"SuperAdminDeleteSupportCaseComment":{"title":"SuperAdminDeleteSupportCaseComment","required":["CompanyId"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"SupportCaseId":{"description":"The support case id","type":"integer","format":"int32","x-nullable":false},"Id":{"description":"The support case comment id","type":"integer","format":"int32","x-nullable":false}},"description":"SuperAdminDeleteSupportCaseComment","type":"object"},"SupportCaseStatusQuery":{"title":"SupportCaseStatusQuery","properties":{"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"SupportCaseStatusQuery","type":"object"},"SupportCaseTypeQuery":{"title":"SupportCaseTypeQuery","properties":{"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"SupportCaseTypeQuery","type":"object"},"SupportCaseAreaQuery":{"title":"SupportCaseAreaQuery","properties":{"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"SupportCaseAreaQuery","type":"object"},"UpdateSupportCase":{"title":"UpdateSupportCase","required":["CompanyId"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"Id":{"description":"The support case id","type":"integer","format":"int32","x-nullable":false},"Title":{"description":"The case title.","type":"string"},"Description":{"description":"The case description.","type":"string"},"CaseTypeId":{"description":"If the case type id.","type":"integer","format":"int32"},"CaseAreaId":{"description":"If the case area id.","type":"integer","format":"int32"}},"description":"UpdateSupportCase","type":"object"},"SupportCaseCommentQuery":{"title":"SupportCaseCommentQuery","required":["CompanyId","SupportCaseId"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"SupportCaseId":{"description":"The support case id","type":"integer","format":"int32","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"SupportCaseCommentQuery","type":"object"},"SupportCaseAttachmentQuery":{"title":"SupportCaseAttachmentQuery","required":["CompanyId","SupportCaseId"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"SupportCaseId":{"description":"The support case id","type":"integer","format":"int32","x-nullable":false},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"SupportCaseAttachmentQuery","type":"object"},"AddSupportCaseComment":{"title":"AddSupportCaseComment","required":["Id"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"Id":{"description":"The support case id","type":"integer","format":"int32","x-nullable":false},"Comment":{"description":"The case comment.","type":"string"}},"description":"AddSupportCaseComment","type":"object"},"AddSupportCaseAttachment":{"title":"AddSupportCaseAttachment","required":["CompanyId"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"Id":{"description":"The support case id","type":"integer","format":"int32","x-nullable":false},"FileUrl":{"description":"The case attachment url. Only images are allowed to attach.","type":"string"}},"description":"AddSupportCaseAttachment","type":"object"},"SupportCaseQuery":{"title":"SupportCaseQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Active":{"description":"If you want to search on active support cases","type":"boolean"},"Id":{"description":"Support Case Id","type":"int","format":"int32"},"IncludeComments":{"description":"If you want to include the support case comments","type":"boolean","x-nullable":false},"IncludeCaseStatusInformation":{"description":"If you want to include the support case status information","type":"boolean","x-nullable":false},"IncludeCaseTypeInformation":{"description":"If you want to include the support case type information","type":"boolean","x-nullable":false},"IncludeCaseAreaInformation":{"description":"If you want to include the support case area information","type":"boolean","x-nullable":false},"IncludeCaseComments":{"description":"If you want to include the support case comments","type":"boolean","x-nullable":false},"IncludeCaseAttachments":{"description":"If you want to include the support case attachments","type":"boolean","x-nullable":false},"IncludeCaseStatusOptions":{"description":"If you want to include the support case status  options to select from","type":"boolean","x-nullable":false},"IncludeCaseTypeOptions":{"description":"If you want to include the support case type  options to select from","type":"boolean","x-nullable":false},"IncludeCaseAreaOptions":{"description":"If you want to include the support case area options to select from","type":"boolean","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"SupportCaseQuery","type":"object"},"CreateSupportCase":{"title":"CreateSupportCase","required":["CompanyId"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"Title":{"description":"The case title.","type":"string"},"Description":{"description":"The case description.","type":"string"},"CaseTypeId":{"description":"If the case type id.","type":"integer","format":"int32","x-nullable":false},"CaseAreaId":{"description":"If the case area id.","type":"integer","format":"int32","x-nullable":false}},"description":"CreateSupportCase","type":"object"},"DeleteSupportCaseComment":{"title":"DeleteSupportCaseComment","required":["CompanyId"],"properties":{"CompanyId":{"description":"Enter the company id, if blank company id and you are an admin, your company id will be used.","type":"string"},"SupportCaseId":{"description":"The support case id","type":"integer","format":"int32","x-nullable":false},"Id":{"description":"The support case comment id","type":"integer","format":"int32","x-nullable":false}},"description":"DeleteSupportCaseComment","type":"object"},"AddTagsToTimeException":{"title":"AddTagsToTimeException","required":["TimeExceptionId","TagIds"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"TimeExceptionId":{"description":"The time exception id.","type":"integer","format":"int32","x-nullable":false},"TagIds":{"description":"The ids of the tags to attach.","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}}},"description":"AddTagsToTimeException","type":"object"},"RemoveTagFromTimeException":{"title":"RemoveTagFromTimeException","required":["TimeExceptionId","TagId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"TimeExceptionId":{"description":"The time exception id.","type":"integer","format":"int32","x-nullable":false},"TagId":{"description":"The tag id to remove.","type":"integer","format":"int32","x-nullable":false}},"description":"RemoveTagFromTimeException","type":"object"},"TagQuery":{"title":"TagQuery","properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Scope":{"description":"Filter by tag scope. 0 = Booking, 1 = Customer, 2 = TimeException.","type":"string"},"Active":{"description":"Filter by active status. If not provided, only active tags are returned.","type":"boolean"},"Skip":{"description":"Number of records to skip","type":"integer","format":"int32"},"Take":{"description":"Number of records to take","type":"integer","format":"int32"},"OrderBy":{"description":"Sort field","type":"string"}},"description":"TagQuery","type":"object"},"CreateTag":{"title":"CreateTag","required":["Name","Scope"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Name":{"description":"The tag name.","type":"string"},"Scope":{"description":"The scope this tag applies to. 0 = Booking, 1 = Customer, 2 = TimeException.","type":"string"},"Color":{"description":"The display color for the tag, e.g. \u0027#FF5733\u0027 or \u0027red\u0027.","type":"string"},"SortOrder":{"description":"The sort order for the tag.","type":"integer","format":"int32","x-nullable":false}},"description":"CreateTag","type":"object"},"DeleteTag":{"title":"DeleteTag","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The tag id.","type":"integer","format":"int32","x-nullable":false}},"description":"DeleteTag","type":"object"},"UpdateTag":{"title":"UpdateTag","required":["Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The tag id.","type":"integer","format":"int32","x-nullable":false}},"description":"UpdateTag","type":"object"},"TrialsQuery":{"title":"TrialsQuery","required":["Id"],"properties":{"Id":{"description":"Trial Id","type":"integer","format":"int32"},"Skip":{"type":"integer","format":"int32"},"Take":{"type":"integer","format":"int32"},"OrderBy":{"type":"string"},"OrderByDesc":{"type":"string"},"Include":{"type":"string"},"Fields":{"type":"string"},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"}},"description":"TrialsQuery","type":"object"},"CheckCompanyTrial":{"title":"CheckCompanyTrial","required":["TrialTypeId"],"properties":{"CompanyId":{"description":"Enter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ","type":"string"},"TrialTypeId":{"description":"The TrialType you want to check","type":"integer","format":"int32","x-nullable":false}},"description":"CheckCompanyTrial","type":"object"},"CompanyTrialsQuery":{"title":"CompanyTrialsQuery","required":["CompanyId","Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"Trial Id","type":"integer","format":"int32","x-nullable":false}},"description":"CompanyTrialsQuery","type":"object"},"AddCompanyTrial":{"title":"AddCompanyTrial","required":["TrialTypeId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"TrialTypeId":{"description":"Id of the trial type","type":"integer","format":"int32","x-nullable":false}},"description":"AddCompanyTrial","type":"object"},"CreateUser":{"title":"CreateUser","required":["Firstname","Lastname","Email"],"properties":{"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Phone":{"type":"string"},"Email":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressToHandle"}},"description":"CreateUser","type":"object"},"CurrentUserQuery":{"title":"CurrentUserQuery","properties":{"IncludeFavorites":{"description":"If you want to include the users favorites","type":"boolean","x-nullable":false},"IncludeCompanyCustomers":{"type":"boolean","x-nullable":false},"IncludeInvoiceAddress":{"type":"boolean","x-nullable":false}},"description":"CurrentUserQuery","type":"object"},"UpdateUser":{"title":"UpdateUser","required":["Realm"],"properties":{"UserId":{"description":"The user id for your profile.","type":"string"},"NewEmail":{"type":"string"},"UserProfile":{"$ref":"#/definitions/UpdateCustomerProfile"},"AdminProfile":{"$ref":"#/definitions/UpdateAdminProfile"},"Realm":{"description":"The user realm for identity server.  BookMore = 1, BookMoreAdmin = 2 ","type":"string"},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressToHandle"}},"description":"UpdateUser","type":"object"},"UpdateCustomerProfile":{"title":"UpdateCustomerProfile","properties":{"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Phone":{"type":"string"},"Email":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressResponse"}},"description":"UpdateCustomerProfile","type":"object"},"InvoiceAddressResponse":{"title":"InvoiceAddressResponse","properties":{"InvoiceAddressId":{"type":"string","x-nullable":false},"UserId":{"type":"string"},"CorporateIdentityNumber":{"type":"string"},"InvoiceAddress1":{"type":"string"},"InvoiceAddress2":{"type":"string"},"InvoiceCity":{"type":"string"},"InvoicePostalCode":{"type":"string"},"InvoiceCountryCode":{"type":"string"}},"description":"InvoiceAddressResponse","type":"object"},"UpdateAdminProfile":{"title":"UpdateAdminProfile","properties":{"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Phone":{"type":"string"},"Email":{"type":"string"}},"description":"UpdateAdminProfile","type":"object"},"DeleteUser":{"title":"DeleteUser","required":["UserName","Realm"],"properties":{"UserName":{"description":"The user name of your profile.","type":"string"},"Realm":{"description":"The user realm for identity server.  BookMore = 1, BookMoreAdmin = 2 ","type":"string"},"DeleteCustomerProfiles":{"description":"If this equals true it will force delete all customer profiles on all company on there you have booked a time.","type":"boolean","x-nullable":false},"ForceDelete":{"description":"If this equals true it will check the request token value and try to delete user, if it is false it will send a delete confirmation email.","type":"boolean","x-nullable":false},"Token":{"description":"The value is only checked when ForceDelete is set to true. Contains the token value what was sent to email.","type":"string"}},"description":"DeleteUser","type":"object"},"ApiVersionQuery":{"title":"ApiVersionQuery","properties":{},"description":"ApiVersionQuery","type":"object"},"ApiVersionCompabilityQuery":{"title":"ApiVersionCompabilityQuery","required":["Identifier","Version"],"properties":{"Identifier":{"description":"The identifier for your application.","type":"string"},"Version":{"description":"The version you are running and you want to check","type":"string"}},"description":"ApiVersionCompabilityQuery","type":"object"},"UpdateWebhookSettingsRequest":{"title":"UpdateWebhookSettingsRequest","required":["CompanyId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Enabled":{"type":"boolean","x-nullable":false}},"description":"UpdateWebhookSettingsRequest","type":"object"},"WebhookSettingsRequest":{"title":"WebhookSettingsRequest","required":["CompanyId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"}},"description":"WebhookSettingsRequest","type":"object"},"CreateWebhookEndpoint":{"title":"CreateWebhookEndpoint","required":["CompanyId","Url","EventTypes"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Url":{"$ref":"#/definitions/Uri","description":"The webhook endpoint URL."},"EventTypes":{"description":"List of event types. At least one event type is required.","type":"array","items":{"type":"string"}},"Description":{"type":"string"},"Disabled":{"type":"boolean","x-nullable":false}},"description":"CreateWebhookEndpoint","type":"object"},"ListWebhookEndpoint":{"title":"ListWebhookEndpoint","required":["CompanyId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"IncludeSecret":{"type":"boolean","x-nullable":false}},"description":"ListWebhookEndpoint","type":"object"},"ListWebhookMessages":{"title":"ListWebhookMessages","required":["CompanyId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Before":{"type":"string","format":"date-time"},"After":{"type":"string","format":"date-time"},"Channel":{"type":"string"},"Iterator":{"type":"string"},"Limit":{"type":"integer","format":"int32"},"Order":{"type":"string"},"EventTypes":{"type":"array","items":{"type":"string"}},"WithContent":{"type":"boolean"},"ClientId":{"type":"string","x-nullable":false}},"description":"ListWebhookMessages","type":"object"},"ListWebhookEventTypesRequest":{"title":"ListWebhookEventTypesRequest","properties":{},"description":"ListWebhookEventTypesRequest","type":"object"},"UpdateWebhookEndpoint":{"title":"UpdateWebhookEndpoint","required":["CompanyId","Url","Id","EventTypes"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Url":{"description":"The webhook endpoint URL.","type":"string"},"Id":{"description":"The ID of the webhook endpoint.","type":"string"},"EventTypes":{"description":"List of event types. At least one event type is required.","type":"array","items":{"type":"string"}},"Description":{"type":"string"},"Disabled":{"type":"boolean","x-nullable":false}},"description":"UpdateWebhookEndpoint","type":"object"},"DeleteWebhookEndpoint":{"title":"DeleteWebhookEndpoint","required":["CompanyId","Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The ID of the webhook endpoint.","type":"string"}},"description":"DeleteWebhookEndpoint","type":"object"},"GetWebhookEndpoint":{"title":"GetWebhookEndpoint","required":["CompanyId","Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The ID of the webhook endpoint.","type":"string"},"IncludeSecret":{"description":"Include Endpoint secret in the response. Default is false.","type":"boolean","x-nullable":false}},"description":"GetWebhookEndpoint","type":"object"},"ListWebhookMessageAttempts":{"title":"ListWebhookMessageAttempts","required":["CompanyId","MessageId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"MessageId":{"description":"The ID of the webhook message.","type":"string"},"Iterator":{"description":"Pagination iterator.","type":"string"},"Limit":{"description":"Maximum number of attempts to return.","type":"integer","format":"int32"},"Status":{"description":"Filter by message status. 0 = Success, 1 = Pending, 2 = Fail, 3 = Sending.","type":"integer","format":"int32"},"EventTypes":{"description":"Filter by event types.","type":"array","items":{"type":"string"}},"EndpointId":{"description":"Filter by endpoint ID.","type":"string"},"Before":{"description":"Filter attempts before this date.","type":"string","format":"date-time"},"After":{"description":"Filter attempts after this date.","type":"string","format":"date-time"}},"description":"ListWebhookMessageAttempts","type":"object"},"ListWebhookEndpointAttempts":{"title":"ListWebhookEndpointAttempts","required":["CompanyId","EndpointId"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"EndpointId":{"description":"The ID of the webhook endpoint.","type":"string"},"Iterator":{"description":"Pagination iterator.","type":"string"},"Limit":{"description":"Maximum number of attempts to return.","type":"integer","format":"int32"},"Status":{"description":"Filter by message status. 0 = Success, 1 = Pending, 2 = Fail, 3 = Sending.","type":"integer","format":"int32"},"EventTypes":{"description":"Filter by event types.","type":"array","items":{"type":"string"}},"Before":{"description":"Filter attempts before this date.","type":"string","format":"date-time"},"After":{"description":"Filter attempts after this date.","type":"string","format":"date-time"}},"description":"ListWebhookEndpointAttempts","type":"object"},"TestWebhookEndpoint":{"title":"TestWebhookEndpoint","required":["CompanyId","Id"],"properties":{"CompanyId":{"description":"The company id, if empty will use the company id for the user you are logged in with.","type":"string"},"Id":{"description":"The ID of the webhook endpoint to test.","type":"string"}},"description":"TestWebhookEndpoint","type":"object"},"QueryResponse_AccessKeyTypeResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/AccessKeyTypeResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CAccessKeyTypeResponse\u003E","type":"object"},"AccessKeyTypeResponse":{"title":"AccessKeyTypeResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"KeyType":{"type":"string"},"Description":{"type":"string"}},"description":"AccessKeyTypeResponse","type":"object"},"CreateUserAgreementResponse":{"title":"CreateUserAgreementResponse","properties":{"UserId":{"type":"string","x-nullable":false},"AgreementId":{"type":"string","x-nullable":false},"UserAgreementCreated":{"type":"string","format":"date-time","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/Object"}},"description":"CreateUserAgreementResponse","type":"object"},"UserAgreementQueryResponse":{"title":"UserAgreementQueryResponse","properties":{"UserId":{"type":"string","x-nullable":false},"AgreementId":{"type":"string","x-nullable":false},"UserAgreementCreated":{"type":"string","format":"date-time"},"AgreedToLatest":{"type":"boolean","x-nullable":false},"Documents":{"type":"array","items":{"type":"string"}},"ResponseStatus":{"$ref":"#/definitions/Object"}},"description":"UserAgreementQueryResponse","type":"object"},"ForgotUserPasswordResponse":{"title":"ForgotUserPasswordResponse","properties":{"Email":{"type":"string"},"ResponseStatus":{"$ref":"#/definitions/Object"}},"description":"ForgotUserPasswordResponse","type":"object"},"UserFavorites":{"title":"UserFavorites","properties":{"CompanyId":{"type":"string","x-nullable":false},"Company":{"$ref":"#/definitions/CompanyQueryResponse"}},"description":"UserFavorites","type":"object"},"CompanyQueryResponse":{"title":"CompanyQueryResponse","properties":{"Id":{"type":"string","x-nullable":false},"Name":{"type":"string"},"OrganisationNumber":{"description":"The organisation number will only be visible if you are the owner of the company.","type":"string"},"TypeId":{"description":"What type of company. If it\u0027s used for personal use or as a company.","type":"int","format":"int32"},"Details":{"type":"string"},"CategoryId":{"type":"integer","format":"int32","x-nullable":false},"Category":{"type":"string"},"LogoType":{"$ref":"#/definitions/Uri"},"CoverImage":{"$ref":"#/definitions/Uri"},"Street1":{"type":"string"},"Street2":{"type":"string"},"ZipCode":{"type":"string"},"City":{"type":"string"},"CountryId":{"type":"string"},"Longitude":{"type":"string"},"Latitude":{"type":"string"},"Distance":{"type":"number","format":"double"},"Phone":{"type":"string"},"Email":{"type":"string"},"Homepage":{"type":"string"},"SitePath":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"CodeLockSystem":{"type":"string"},"IsFreeAccount":{"type":"boolean","x-nullable":false},"Updated":{"description":"Will show when the company was updated, note it will only be shown if your logged in as admin for the company.","type":"datetime","format":"date-time"},"Created":{"description":"Will show when the company was created, note it will only be shown if your logged in as admin for the company.","type":"datetime","format":"date-time"},"StatusId":{"type":"integer","format":"int32","x-nullable":false},"IsFavorite":{"description":"If the company is marked as favourite for the logged in user","type":"boolean","x-nullable":false},"BookingAgreements":{"type":"string"},"CompanyOwnerId":{"type":"integer","format":"int32","x-nullable":false},"BookingSettings":{"$ref":"#/definitions/CompanyBookingSettings"},"SystemSettings":{"$ref":"#/definitions/CompanySystemSettings"},"WidgetSettings":{"$ref":"#/definitions/CompanyWidgetSettings"},"HomepageSettings":{"$ref":"#/definitions/HomepageSettingsResponse"},"RatingSummary":{"$ref":"#/definitions/CompanyRatingSummary"},"CompanyOwner":{"$ref":"#/definitions/CompanyOwnerResponse"},"Reviews":{"type":"array","items":{"$ref":"#/definitions/RatingReviewResponse"}},"CustomerCustomFields":{"type":"array","items":{"$ref":"#/definitions/CustomFieldConfigData"}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"CompanyQueryResponse","type":"object"},"CompanyBookingSettings":{"title":"CompanyBookingSettings","properties":{"EnableMobileApp":{"type":"boolean","x-nullable":false},"BookingReceiptMessage":{"type":"string"},"ShowFreeTimesLeft":{"type":"boolean","x-nullable":false},"EnableShowBookedTimes":{"type":"boolean","x-nullable":false},"BookingAgreement":{"type":"string"},"WeekNumberSetting":{"description":"The settings for how to display week number. 1 = ShowWeekNumberFromDate, 2 = ShowWeekNumberToDate, 3 = ShowWeekNumberFromToDate, 4 = DontShowWeekNumber  ","type":"int","format":"int32","x-nullable":false},"ShowBookedTimes":{"type":"boolean","x-nullable":false},"PaymentProviderId":{"description":"The payment provider id. To get the full payment provider for the company call GET /payment/settings","type":"integer","format":"int32","x-nullable":false},"BookingPinCodeRestriction":{"type":"string"},"CustomerInvoiceAdressRequired":{"type":"boolean","x-nullable":false},"ShowPersonalIdentityNumber":{"description":"Show Personal Identity Number in booking form","type":"boolean","x-nullable":false},"PersonalIdentityNumberRequired":{"description":"Personal Identity Number is required when creating booking","type":"boolean","x-nullable":false},"BookOnlyOnExistingCustomers":{"description":"If it\u0027s only allowed for existing customers to book","type":"boolean","x-nullable":false},"AutoGenerateUniquePinCode":{"description":"If the system should auto generate a unique pin code for customers","type":"boolean","x-nullable":false},"RequireCustomerPinCode":{"description":"If the customer is required to enter a pin code to create a booking","type":"boolean","x-nullable":false},"PaymentEnabled":{"description":"If payment is enabled","type":"boolean","x-nullable":false}},"description":"CompanyBookingSettings","type":"object"},"CompanySystemSettings":{"title":"CompanySystemSettings","properties":{"Active":{"description":"If the booking is active or not","type":"bool","x-nullable":false},"InactiveMessage":{"description":"If the booking is not active, what message to show to the customers","type":"string"},"Searchable":{"description":"If the company should be visible in search results on homepage","type":"bool","x-nullable":false},"GATrackingId":{"description":"If you have a Google Analytics account and want to track your customers behaviors.","type":"string"},"GoogleAdsConversionId":{"description":"If you have a Google Ads Conversion Id account and want to track your customers behaviors.","type":"string"},"LinkedinTagId":{"description":"If you have a LinkedIn account and want to track your customers behaviors.","type":"string"},"GoogleAdsConversionLabel":{"description":"If you have a Google Ads Conversion Label and want to track your customers behaviors.","type":"string"},"GTMTrackingId":{"description":"If you have a Google Tag Manager account and want to track your customers behaviors.","type":"string"},"FacebookPixelId":{"description":"If you have a Facebook account and want to track your customers behaviors.","type":"string"},"MultiLanguage":{"description":"If you want your customers to be able to change language on your homepage","type":"bool","x-nullable":false},"ShowOnMarketplace":{"description":"If the company should be visible on the marketplace","type":"bool","x-nullable":false},"EnableAPITranslation":{"description":"If you want your own written text on your homepage to be translated using Google Translate when a user changes language","type":"bool","x-nullable":false},"DefaultLanguage":{"description":"What is the standard language your homepage information is written in. Select from the different countries, i.e. SE,NO,EN","type":"string"},"SendCustomerInformationToExternalProviders":{"description":"If you want to allow to send customer information in the tracking events to the external providers. Note you as a company are responsible for informing your customers and handling the data in terms of GDPR. ","type":"boolean","x-nullable":false},"SMSMessageDailySendLimit":{"description":"The maximum number of SMS messages that can be sent per day.","type":"integer","format":"int32","x-nullable":false},"EmailMessageDailySendLimit":{"description":"The maximum number of email messages that can be sent per day.","type":"integer","format":"int32","x-nullable":false}},"description":"CompanySystemSettings","type":"object"},"CompanyWidgetSettings":{"title":"CompanyWidgetSettings","properties":{"ServiceLayoutId":{"description":"The service layouts id.","type":"integer","format":"int32","x-nullable":false},"TimeLayoutId":{"description":"The time layouts id.","type":"integer","format":"int32","x-nullable":false},"BookingLayoutId":{"description":"The booking layouts id.","type":"integer","format":"int32","x-nullable":false},"PrimaryColor":{"description":"The primary color of the booking widget.","type":"string"},"ShowServiceImage":{"description":"If you should show the service image in the booking widget.","type":"boolean","x-nullable":false},"ShowRebateCodeField":{"description":"If you should show the rebate code field in the booking widget.","type":"boolean","x-nullable":false},"ShowNextAvailableTime":{"description":"If you should show the next available time in the booking widget.","type":"boolean","x-nullable":false},"ShowEndTime":{"description":"If you should show the end time in the booking widget.","type":"boolean","x-nullable":false},"BookedTimeSlotText":{"description":"What text to show on booked time slots. Default text is Booked","type":"string"},"DarkTheme":{"description":"If the widget should be displayed in dark theme","type":"boolean","x-nullable":false},"ShowSubscribeToNewsletter":{"description":"If you should show the subscribe to newsletter checkbox in the booking widget.","type":"boolean","x-nullable":false}},"description":"CompanyWidgetSettings","type":"object"},"HomepageSettingsResponse":{"title":"HomepageSettingsResponse","properties":{"HomepageHeading":{"description":"The text for homepage heading","type":"string"},"WelcomePageHeading":{"description":"The text for homepage startpage heading","type":"string"},"WelcomePageBody":{"description":"The text for homepage startpage body","type":"string"},"AboutUsPageHeading":{"description":"The text for homepage about us page heading","type":"string"},"AboutUsPageBody":{"description":"The text for homepage about us page body","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The startpage image url"},"CoverImage":{"$ref":"#/definitions/Uri","description":"The cover image url"},"ShowRating":{"description":"Show rating on the page","type":"boolean","x-nullable":false},"HomePageTemplateId":{"description":"The template for the homepage","type":"integer","format":"int32","x-nullable":false},"HeroSectionStyleId":{"description":"The hero section style for the homepage","type":"integer","format":"int32","x-nullable":false},"EnableHomepage":{"description":"Enable the BokaMera Homepage","type":"boolean","x-nullable":false}},"description":"HomepageSettingsResponse","type":"object"},"CompanyRatingSummary":{"title":"CompanyRatingSummary","properties":{"AverageScore":{"description":"The average rating score","type":"number","format":"double","x-nullable":false},"RatingScore1Count":{"description":"The number of ratings of score 1","type":"integer","format":"int32","x-nullable":false},"RatingScore2Count":{"description":"The number of ratings of score 2","type":"integer","format":"int32","x-nullable":false},"RatingScore3Count":{"description":"The number of ratings of score 3","type":"integer","format":"int32","x-nullable":false},"RaingScore4Count":{"description":"The number of ratings of score 4","type":"integer","format":"int32","x-nullable":false},"RatingScore5Count":{"description":"The number of ratings of score 5","type":"integer","format":"int32","x-nullable":false},"Count":{"description":"The number of ratings","type":"integer","format":"int32","x-nullable":false}},"description":"CompanyRatingSummary","type":"object"},"CompanyOwnerResponse":{"title":"CompanyOwnerResponse","properties":{"Id":{"description":"Company owner id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"Company owner name","type":"string"}},"description":"CompanyOwnerResponse","type":"object"},"RatingReviewResponse":{"title":"RatingReviewResponse","properties":{"Title":{"description":"The title for the review","type":"string"},"Description":{"description":"The description for the review","type":"string"},"RatingScore":{"description":"The rating score","type":"integer","format":"int32","x-nullable":false},"Author":{"description":"The review author","type":"string"},"Created":{"description":"The created date","type":"string","format":"date-time","x-nullable":false},"ReviewAnswer":{"description":"The review answer from the company","type":"string"}},"description":"RatingReviewResponse","type":"object"},"CustomFieldConfigData":{"title":"CustomFieldConfigData","properties":{"Id":{"description":"Custom field id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"Configuration name. Example: \u0027Number of persons\u0027.","type":"string"},"Description":{"description":"Custom field description. Example: \u0027For how many persons is this booking?\u0027","type":"string"},"Width":{"description":"Field width. Example: 20 for 20px","type":"integer","format":"int32"},"DataType":{"description":"Data field of custom field. Valid values are: TextBox, ... Example: \u0027TextBox\u0027","type":"string"},"DefaultValue":{"description":"Default value of the field. Example: \u00273\u0027","type":"string"},"IsMandatory":{"description":"Determines if the field is required to have a value or not","type":"boolean","x-nullable":false},"MandatoryErrorMessage":{"description":"Error message shown to the user if the field data is required but not entered","type":"string"},"MaxLength":{"description":"Max lenght of the field","type":"integer","format":"int32","x-nullable":false},"MultipleLineText":{"description":"If the field should have multiple lines","type":"boolean","x-nullable":false},"RegEx":{"description":"Regular expression used for validation of the field","type":"string"},"RegExErrorMessage":{"description":"Error message shown if the regular expression validation failed","type":"string"},"Values":{"description":"The values to select from if Datatype is DropDown for this custom field","type":"array","items":{"$ref":"#/definitions/CustomFieldValueResponse"}}},"description":"CustomFieldConfigData","type":"object"},"CustomFieldValueResponse":{"title":"CustomFieldValueResponse","properties":{"Value":{"type":"string"}},"description":"CustomFieldValueResponse","type":"object"},"UpdateUserEmailResponse":{"title":"UpdateUserEmailResponse","properties":{"ResponseStatus":{"$ref":"#/definitions/Object"},"UserId":{"type":"string"},"Email":{"type":"string"}},"description":"UpdateUserEmailResponse","type":"object"},"AgreementQueryResponse":{"title":"AgreementQueryResponse","properties":{"AgreementId":{"type":"string","x-nullable":false},"AgreementCreated":{"type":"string","format":"date-time"},"Documents":{"type":"array","items":{"type":"string"}},"ResponseStatus":{"$ref":"#/definitions/Object"}},"description":"AgreementQueryResponse","type":"object"},"ArticleResponse":{"title":"ArticleResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"ArticleTypeId":{"type":"integer","format":"int32","x-nullable":false},"Description":{"type":"string"},"ImageUrl":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"Amount":{"type":"integer","format":"int32","x-nullable":false},"Price":{"type":"number","format":"double","x-nullable":false},"CurrencyId":{"type":"string"},"SortOrder":{"type":"integer","format":"int32","x-nullable":false},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"Duration":{"type":"integer","format":"int32","x-nullable":false},"Services":{"type":"array","items":{"$ref":"#/definitions/ArticleServiceRelation"}},"ServiceIds":{"type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"PriceSign":{"type":"string"},"VAT":{"type":"number","format":"double"},"ValidDays":{"type":"integer","format":"int32","x-nullable":false},"SendNotification":{"type":"boolean","x-nullable":false},"NotificationEmail":{"type":"string"}},"description":"ArticleResponse","type":"object"},"QueryResponse_ArticleResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/ArticleResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CArticleResponse\u003E","type":"object"},"ArticleTypesQueryResponse":{"title":"ArticleTypesQueryResponse","properties":{"Id":{"description":"The article type id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The article type name","type":"string"},"Description":{"description":"The article type description","type":"string"}},"description":"ArticleTypesQueryResponse","type":"object"},"QueryResponse_PaymentLogQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/PaymentLogQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CPaymentLogQueryResponse\u003E","type":"object"},"PaymentLogQueryResponse":{"title":"PaymentLogQueryResponse","properties":{"Id":{"description":"The payment log id","type":"integer","format":"int32","x-nullable":false},"InternalReference":{"description":"The internal reference id, could be reference to a booking, rebate code, gift card etc.","type":"integer","format":"int32","x-nullable":false},"PaymentReferenceId":{"description":"The payment reference id","type":"string"},"OrderItemReferenceId":{"description":"The payment order item reference id","type":"string"},"PaymentProviderId":{"description":"The payment reference id","type":"integer","format":"int32"},"Amount":{"description":"The payment amount","type":"number","format":"double","x-nullable":false},"ArticleType":{"$ref":"#/definitions/ArticleType","description":"The article type"},"VAT":{"description":"The payment VAT in percent","type":"number","format":"double","x-nullable":false},"AmountCredited":{"description":"The payment amount that is credited","type":"number","format":"double","x-nullable":false},"CurrencyId":{"description":"The payment currency id","type":"string"},"CurrencyInfo":{"$ref":"#/definitions/CurrencyInfoResponse","description":"The payment currency info"},"Comments":{"description":"Comments that could be added to the event log item","type":"string"},"Created":{"description":"The date when the payment items was created","type":"string","format":"date-time","x-nullable":false},"Updated":{"description":"The date when the payment items were updated.","type":"string","format":"date-time","x-nullable":false}},"description":"PaymentLogQueryResponse","type":"object"},"CurrencyInfoResponse":{"title":"CurrencyInfoResponse","properties":{"Id":{"description":"The currency id","type":"string"},"Name":{"description":"The currency id","type":"string"},"CurrencySign":{"description":"The currency id","type":"string"}},"description":"CurrencyInfoResponse","type":"object"},"QueryResponse_BillingMethodQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/BillingMethodQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CBillingMethodQueryResponse\u003E","type":"object"},"BillingMethodQueryResponse":{"title":"BillingMethodQueryResponse","properties":{"Id":{"description":"The billing method id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The billing method name","type":"string"},"Description":{"description":"The billing method description","type":"string"},"Countries":{"description":"The billing method is valid for the following countries","type":"array","items":{"type":"string"}}},"description":"BillingMethodQueryResponse","type":"object"},"QueryResponse_CompanyInvoiceQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/CompanyInvoiceQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CCompanyInvoiceQueryResponse\u003E","type":"object"},"CompanyInvoiceQueryResponse":{"title":"CompanyInvoiceQueryResponse","properties":{"CompanyId":{"description":"The company id","type":"string","x-nullable":false},"Id":{"description":"The invoice id","type":"integer","format":"int32","x-nullable":false},"StatusId":{"description":"Status of the invoice","type":"integer","format":"int32","x-nullable":false},"InvoiceDate":{"description":"Date of the invoice","type":"string","format":"date-time","x-nullable":false},"DueDate":{"description":"Due date of the invoice","type":"string","format":"date-time"},"PeriodFrom":{"description":"What start date of the invoice period","type":"string","format":"date-time","x-nullable":false},"PeriodTo":{"description":"What end date of the invoice period","type":"string","format":"date-time","x-nullable":false},"TotalAmount":{"description":"The total amount of the invoice","type":"number","format":"double","x-nullable":false},"Rounding":{"description":"The rounding of the total amount","type":"number","format":"double","x-nullable":false},"VAT":{"description":"The VAT","type":"number","format":"double","x-nullable":false},"VATRegistrationNo":{"description":"The VAT registration number","type":"string"},"RegistrationNumber":{"description":"The company registration number","type":"string"},"CompanyName":{"description":"The company name","type":"string"},"CompanyOwner":{"$ref":"#/definitions/CompanyOwnerResponse","description":"The company owner, used for grouping invoices per CompanyOwner"},"CompanyType":{"$ref":"#/definitions/CompanyTypeResponse","description":"The company type"},"ContactPerson":{"description":"The company contact person","type":"string"},"Street1":{"description":"The company street","type":"string"},"Street2":{"description":"The company street","type":"string"},"City":{"description":"The company city","type":"string"},"Zip":{"description":"The company zip","type":"string"},"CountryId":{"description":"The company country","type":"string"},"CurrencyId":{"description":"The invoice currency","type":"string"},"Created":{"description":"The invoice created date","type":"string","format":"date-time"},"Updated":{"description":"The invoice updated date","type":"string","format":"date-time"},"Message":{"description":"Any invoice message","type":"string"},"CurrencyInfo":{"$ref":"#/definitions/CurrencyInfoResponse","description":"The currency information"},"InvoiceStatus":{"$ref":"#/definitions/InvoiceStatusResponse","description":"The currency information"},"InvoiceLines":{"description":"The currency information","type":"array","items":{"$ref":"#/definitions/InvoiceLineResponse"}},"BillingInformation":{"$ref":"#/definitions/BillingInformationResponse","description":"Billing information"},"ExternalReferences":{"type":"array","items":{"$ref":"#/definitions/ExternalReference"}}},"description":"CompanyInvoiceQueryResponse","type":"object"},"CompanyTypeResponse":{"title":"CompanyTypeResponse","properties":{"Id":{"description":"Company type id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"Company type name","type":"string"}},"description":"CompanyTypeResponse","type":"object"},"InvoiceStatusResponse":{"title":"InvoiceStatusResponse","properties":{"Id":{"description":"The status id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The status name","type":"string"},"Description":{"description":"The status description","type":"string"}},"description":"InvoiceStatusResponse","type":"object"},"InvoiceLineResponse":{"title":"InvoiceLineResponse","properties":{"InvoiceId":{"description":"The invoice id","type":"integer","format":"int32","x-nullable":false},"Id":{"description":"The invoice line id","type":"integer","format":"int32","x-nullable":false},"PeriodFrom":{"description":"The invoice line period from date","type":"string","format":"date-time","x-nullable":false},"PeriodTo":{"description":"The invoice line period to date","type":"string","format":"date-time","x-nullable":false},"ArticleNumber":{"description":"The invoice line article number","type":"integer","format":"int32"},"ArticleName":{"description":"The invoice line article name","type":"string"},"ArticleDescription":{"description":"The invoice line article description","type":"string"},"Quantity":{"description":"The invoice line quantity","type":"integer","format":"int32","x-nullable":false},"UnitPrice":{"description":"The invoice line unit price","type":"number","format":"double","x-nullable":false},"SubTotal":{"description":"The invoice line sub total","type":"number","format":"double","x-nullable":false},"Rebate":{"description":"The invoice line rebate in percent","type":"integer","format":"int32","x-nullable":false},"Updated":{"description":"The invoice line updated date","type":"string","format":"date-time"},"Created":{"description":"The invoice line created date","type":"string","format":"date-time"}},"description":"InvoiceLineResponse","type":"object"},"QueryResponse_BookingLogQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/BookingLogQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CBookingLogQueryResponse\u003E","type":"object"},"BookingLogQueryResponse":{"title":"BookingLogQueryResponse","properties":{"Id":{"description":"The booking log id","type":"integer","format":"int32","x-nullable":false},"BookingId":{"description":"The booking id","type":"integer","format":"int32","x-nullable":false},"EventTypeId":{"description":"The type of event","type":"integer","format":"int32","x-nullable":false},"EventType":{"$ref":"#/definitions/BookingLogEventTypeResponse","description":"The type of event"},"Comments":{"description":"Comments that could be added to the event log item","type":"string"},"UserName":{"description":"The user created the event","type":"string"},"Created":{"description":"The date when the event occurred","type":"string","format":"date-time","x-nullable":false}},"description":"BookingLogQueryResponse","type":"object"},"BookingLogEventTypeResponse":{"title":"BookingLogEventTypeResponse","properties":{"Id":{"description":"The event type id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The event type name","type":"string"},"Description":{"description":"The event type description","type":"string"}},"description":"BookingLogEventTypeResponse","type":"object"},"QueryResponse_BookingStatusQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/BookingStatusQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CBookingStatusQueryResponse\u003E","type":"object"},"BookingStatusQueryResponse":{"title":"BookingStatusQueryResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"},"Icon":{"type":"string"},"Color":{"type":"string"}},"description":"BookingStatusQueryResponse","type":"object"},"QueryResponse_GroupedBookingQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/GroupedBookingQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CGroupedBookingQueryResponse\u003E","type":"object"},"GroupedBookingQueryResponse":{"title":"GroupedBookingQueryResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"Date":{"type":"string","format":"date-time","x-nullable":false},"Bookings":{"type":"array","items":{"$ref":"#/definitions/BookingQueryResponse"}}},"description":"GroupedBookingQueryResponse","type":"object"},"BookingQueryResponse":{"title":"BookingQueryResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"CompanyId":{"type":"string","x-nullable":false},"From":{"type":"string","format":"date-time","x-nullable":false},"To":{"type":"string","format":"date-time","x-nullable":false},"Status":{"type":"string"},"StatusId":{"type":"integer","format":"int32","x-nullable":false},"StatusName":{"type":"string"},"StatusInfo":{"$ref":"#/definitions/BookingStatusQueryResponse"},"SendEmailReminder":{"type":"boolean","x-nullable":false},"SendSmsReminder":{"type":"boolean","x-nullable":false},"SendSmsConfirmation":{"type":"boolean","x-nullable":false},"SendEmailConfirmation":{"type":"boolean","x-nullable":false},"LastTimeToUnBook":{"type":"string","format":"date-time"},"CustomFields":{"type":"array","items":{"$ref":"#/definitions/CustomFieldConfigData"}},"CustomFieldValues":{"type":"array","items":{"$ref":"#/definitions/CustomFieldDataResponse"}},"BookedResourceTypes":{"type":"array","items":{"$ref":"#/definitions/BookedResourceType"}},"Company":{"$ref":"#/definitions/BookedCompany"},"Customer":{"$ref":"#/definitions/BookedCustomer"},"Quantities":{"type":"array","items":{"$ref":"#/definitions/BookedQuantity"}},"Service":{"$ref":"#/definitions/ServiceInfoResponse"},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressResponse"},"PaymentExpiration":{"type":"string","format":"date-time"},"Log":{"type":"array","items":{"$ref":"#/definitions/BookingLogQueryResponse"}},"PaymentLog":{"type":"array","items":{"$ref":"#/definitions/BookingPaymentLogQueryResponse"}},"CheckoutLog":{"type":"array","items":{"$ref":"#/definitions/BookingCheckoutQueryResponse"}},"ExternalReference":{"type":"array","items":{"$ref":"#/definitions/ExternalReferenceResponse"}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"},"LengthInMinutes":{"type":"integer","format":"int32"},"BookedBy":{"type":"string"},"BookedComments":{"type":"string"},"UnbookedComments":{"type":"string"},"CommentsToCustomer":{"type":"string"},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"UnbookedOn":{"type":"string","format":"date-time"},"CancellationCode":{"type":"string"},"RatingCode":{"type":"string"},"GoogleMeetUrl":{"description":"The Google Meet URL for this booking, if Google Meet is enabled and a meeting was created.","type":"string"},"Tags":{"description":"Tags attached to this booking.","type":"array","items":{"$ref":"#/definitions/TagResponse"}}},"description":"BookingQueryResponse","type":"object"},"BookedCompany":{"title":"BookedCompany","properties":{"Id":{"type":"string","x-nullable":false},"Name":{"type":"string"},"LogoType":{"$ref":"#/definitions/Uri"},"Category":{"type":"string"},"Street1":{"type":"string"},"Street2":{"type":"string"},"ZipCode":{"type":"string"},"City":{"type":"string"},"CountryId":{"type":"string"},"Longitude":{"type":"string"},"Latitude":{"type":"string"},"Phone":{"type":"string"},"Email":{"type":"string"},"HomePage":{"type":"string"},"SitePath":{"type":"string"},"IsFavorite":{"type":"boolean","x-nullable":false},"PaymentProviderId":{"type":"integer","format":"int32"}},"description":"BookedCompany","type":"object"},"BookedCustomer":{"title":"BookedCustomer","properties":{"Id":{"type":"string","x-nullable":false},"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Email":{"type":"string"},"Phone":{"type":"string"},"FacebookUserName":{"type":"string"},"ImageUrl":{"type":"string"},"PersonalIdentityNumber":{"type":"string"},"CorporateIdentityNumber":{"type":"string"},"InvoiceAddress1":{"type":"string"},"InvoiceAddress2":{"type":"string"},"InvoiceCity":{"type":"string"},"InvoicePostalCode":{"type":"string"},"InvoiceCountryCode":{"type":"string"},"Tags":{"description":"Tags attached to this customer.","type":"array","items":{"$ref":"#/definitions/TagResponse"}}},"description":"BookedCustomer","type":"object"},"TagResponse":{"title":"TagResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"CompanyId":{"type":"string","x-nullable":false},"Name":{"type":"string"},"Scope":{"type":"integer","format":"int32","x-nullable":false},"Color":{"type":"string"},"SortOrder":{"type":"integer","format":"int32","x-nullable":false},"Active":{"type":"boolean","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"TagResponse","type":"object"},"BookedQuantity":{"title":"BookedQuantity","properties":{"Id":{"description":"The quantity Id","type":"integer","format":"int32","x-nullable":false},"Quantity":{"description":"The quantity for booked on this price category","type":"integer","format":"int32","x-nullable":false},"Price":{"description":"The price","type":"number","format":"double"},"PriceBeforeRebate":{"description":"The price bofore rebate codes","type":"number","format":"double"},"CurrencyId":{"description":"The price currency","type":"string"},"PriceSign":{"description":"The price sign","type":"string"},"Category":{"description":"The price category","type":"string"},"VAT":{"description":"The price VAT in percent","type":"number","format":"double"},"PriceText":{"description":"The price text to display","type":"string"},"OccupiesSpot":{"description":"If the quantity you add should occupy a spot. Default is true. If no it will only be a row that includes price information.","type":"boolean","x-nullable":false}},"description":"BookedQuantity","type":"object"},"ServiceInfoResponse":{"title":"ServiceInfoResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri"},"LengthInMinutes":{"type":"integer","format":"int32"},"MaxNumberOfSpotsPerBooking":{"type":"integer","format":"int32","x-nullable":false},"MinNumberOfSpotsPerBooking":{"type":"integer","format":"int32","x-nullable":false},"GroupBooking":{"$ref":"#/definitions/GroupBookingSettings"},"MultipleResource":{"$ref":"#/definitions/MultipleResourceSettings"},"IsGroupBooking":{"type":"boolean","x-nullable":false},"IsPaymentEnabled":{"type":"boolean","x-nullable":false}},"description":"ServiceInfoResponse","type":"object"},"BookingPaymentLogQueryResponse":{"title":"BookingPaymentLogQueryResponse","properties":{"Id":{"description":"The booking payment log id","type":"integer","format":"int32","x-nullable":false},"BookingId":{"description":"The booking id","type":"integer","format":"int32","x-nullable":false},"PaymentReferenceId":{"description":"The payment reference id","type":"string"},"OrderItemReferenceId":{"description":"The payment order item reference id","type":"string"},"PaymentProviderId":{"description":"The payment reference id","type":"integer","format":"int32"},"Amount":{"description":"The payment amount","type":"number","format":"double","x-nullable":false},"VAT":{"description":"The payment VAT in percent","type":"number","format":"double","x-nullable":false},"AmountCredited":{"description":"The payment amount that is credited","type":"number","format":"double","x-nullable":false},"CurrencyId":{"description":"The payment currency id","type":"string"},"CurrencyInfo":{"$ref":"#/definitions/CurrencyInfoResponse","description":"The payment currency info"},"Comments":{"description":"Comments that could be added to the event log item","type":"string"},"Created":{"description":"The date when the payment items was created","type":"string","format":"date-time","x-nullable":false},"Updated":{"description":"The date when the payment items were updated.","type":"string","format":"date-time","x-nullable":false}},"description":"BookingPaymentLogQueryResponse","type":"object"},"BookingCheckoutQueryResponse":{"title":"BookingCheckoutQueryResponse","properties":{"Id":{"description":"The checkout id","type":"string","x-nullable":false},"BookingId":{"description":"The booking id","type":"integer","format":"int32","x-nullable":false},"PurchaseId":{"description":"The purchase id","type":"integer","format":"int32"},"ExpirationTime":{"description":"The payment checkout expiration datetime","type":"string","format":"date-time"},"Snippet":{"description":"The payment snippet code","type":"string"},"Status":{"description":"The payment status","type":"string"},"Message":{"description":"Log message","type":"string"},"Created":{"description":"When the checkout log item was created","type":"string","format":"date-time","x-nullable":false},"Updated":{"description":"When the checkout log item was updated","type":"string","format":"date-time","x-nullable":false}},"description":"BookingCheckoutQueryResponse","type":"object"},"ExternalReferenceResponse":{"title":"ExternalReferenceResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"string","x-nullable":false},"OwnerId":{"type":"string","x-nullable":false},"ReferenceType":{"type":"string"},"ReferenceTypeId":{"type":"integer","format":"int32","x-nullable":false},"ExternalData":{"type":"string"},"CreatedBy":{"type":"string"},"Updated":{"type":"string","format":"date-time","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false}},"description":"ExternalReferenceResponse","type":"object"},"CreateBookingsResponse":{"title":"CreateBookingsResponse","required":["Created","Failed"],"properties":{"Created":{"description":"The datetime you want to end the booking.","type":"array","items":{"$ref":"#/definitions/BookingQueryResponse"}},"Failed":{"description":"The dates that didn\u0027t work to book.","type":"array","items":{"$ref":"#/definitions/FailedBookings"}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"CreateBookingsResponse","type":"object"},"FailedBookings":{"title":"FailedBookings","properties":{"From":{"type":"string","format":"date-time","x-nullable":false},"To":{"type":"string","format":"date-time","x-nullable":false},"Reason":{"type":"string"},"Quantities":{"description":"Set the number of spots you want to book. You add number of spots per price category. Multiple spots require that the service has GroupBooking enabled. Default is one spot.","type":"array","items":{"$ref":"#/definitions/QuantityToBook"}}},"description":"FailedBookings","type":"object"},"QueryResponse_ReportQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/ReportQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CReportQueryResponse\u003E","type":"object"},"ReportQueryResponse":{"title":"ReportQueryResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"CompanyId":{"type":"string","x-nullable":false},"Name":{"type":"string"}},"description":"ReportQueryResponse","type":"object"},"QueryResponse_BookingQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/BookingQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CBookingQueryResponse\u003E","type":"object"},"ResourceTypeAvailableResourcesQueryResponse":{"title":"ResourceTypeAvailableResourcesQueryResponse","properties":{"Id":{"description":"The resourcetype id","type":"integer","format":"int32","x-nullable":false},"Resources":{"description":"The available resources","type":"array","items":{"$ref":"#/definitions/AvailableResourceResponse"}}},"description":"ResourceTypeAvailableResourcesQueryResponse","type":"object"},"AvailableResourceResponse":{"title":"AvailableResourceResponse","properties":{"Id":{"description":"The resource id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The resource name","type":"string"},"Description":{"description":"The resource description","type":"string"},"Color":{"description":"The resource color in scheduler in hexadecimal color code. Example: #00b0f0 for blue.","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The image url of the resource"}},"description":"AvailableResourceResponse","type":"object"},"BookingUserQueueItemResponse":{"title":"BookingUserQueueItemResponse","properties":{"BookingUserQueueId":{"type":"integer","format":"int32","x-nullable":false},"CompanyId":{"type":"string","x-nullable":false},"CustomerId":{"type":"string","x-nullable":false},"ServiceId":{"type":"integer","format":"int32","x-nullable":false},"From":{"type":"string","format":"date-time","x-nullable":false},"To":{"type":"string","format":"date-time","x-nullable":false},"StatusCode":{"type":"integer","format":"int32","x-nullable":false},"StatusName":{"type":"string"},"SendConfirmationTime":{"type":"string","format":"date-time"},"Quantities":{"type":"array","items":{"$ref":"#/definitions/BookingUserQueuePriceResponse"}},"Service":{"$ref":"#/definitions/ServiceInfoResponse"},"Company":{"$ref":"#/definitions/CompanyInfoResponse"},"Customer":{"$ref":"#/definitions/BookedCustomer"}},"description":"BookingUserQueueItemResponse","type":"object"},"BookingUserQueuePriceResponse":{"title":"BookingUserQueuePriceResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"BookingUserQueueId":{"type":"integer","format":"int32","x-nullable":false},"ServicePriceId":{"type":"integer","format":"int32"},"Quantity":{"type":"integer","format":"int32"},"Price":{"type":"number","format":"double"},"PriceText":{"type":"string"}},"description":"BookingUserQueuePriceResponse","type":"object"},"CompanyInfoResponse":{"title":"CompanyInfoResponse","properties":{"Id":{"type":"string","x-nullable":false},"Name":{"type":"string"},"LogoType":{"$ref":"#/definitions/Uri"},"SitePath":{"type":"string"}},"description":"CompanyInfoResponse","type":"object"},"List_BookingUserQueueItemResponse_":{"title":"List\u003CBookingUserQueueItemResponse\u003E","type":"array","items":{"$ref":"#/definitions/BookingUserQueueItemResponse"}},"CodeLockSettingResponse":{"title":"CodeLockSettingResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"CodeLockSystemsId":{"description":"The system type of the code lock","type":"int","format":"int32","x-nullable":false},"Active":{"description":"If code lock sync is active","type":"bool","x-nullable":false},"ValidBeforeMinutes":{"description":"Number of minutes the access should be valid before booking starts.","type":"int","format":"int32","x-nullable":false},"ValidAfterMinutes":{"description":"Number of minutes the access should be valid after booking ends.","type":"int","format":"int32","x-nullable":false},"DeleteOldBySchedule":{"description":"If it should clean up old bookings after they have passed","type":"boolean","x-nullable":false},"SendEmailNotification":{"description":"If a notification should be sent by Email","type":"boolean","x-nullable":false},"SendSMSNotification":{"description":"If a notification should be sent by SMS","type":"boolean","x-nullable":false},"EmailNotificationTime":{"description":"How long before the booking starts in minutes the notification should be sent","type":"int","format":"int32","x-nullable":false},"SMSNotificationTime":{"description":"How long before the booking starts in minutes the notification should be sent","type":"int","format":"int32","x-nullable":false},"Created":{"description":"When settings was created","type":"datetime","format":"date-time","x-nullable":false},"Updated":{"description":"When settings were updated","type":"datetime","format":"date-time","x-nullable":false},"CodeLockSystemOptions":{"description":"The available code lock systems to choose from","type":"array","items":{"$ref":"#/definitions/CodeLockSystemResponse"}}},"description":"CodeLockSettingResponse","type":"object"},"CodeLockSystemResponse":{"title":"CodeLockSystemResponse","properties":{"Id":{"description":"The system type of the code lock","type":"int","format":"int32","x-nullable":false},"Name":{"description":"The name of the code lock system","type":"string"},"Description":{"description":"The description of the code lock system","type":"string"},"LogoType":{"$ref":"#/definitions/Uri","description":"The logotype of the code lock system"},"Supplier":{"description":"The supplier name of the code lock system","type":"string"}},"description":"CodeLockSystemResponse","type":"object"},"CodeLockAxemaSettingResponse":{"title":"CodeLockAxemaSettingResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"ApiEndpoint":{"description":"The api endpoint of the code lock","type":"string"},"ApiPort":{"description":"The api port for the code lock.","type":"string","format":"int32","x-nullable":false},"Username":{"description":"The username to logon to the code lock.","type":"string"},"Password":{"description":"The password to logon to the code lock.","type":"string"},"Created":{"description":"When settings was created","type":"datetime","format":"date-time","x-nullable":false},"Updated":{"description":"When settings was updated","type":"datetime","format":"date-time","x-nullable":false}},"description":"CodeLockAxemaSettingResponse","type":"object"},"CodeLockSiedleSettingResponse":{"title":"CodeLockSiedleSettingResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"ApiEndpoint":{"description":"The api endpoint of the code lock","type":"string"},"ApiPort":{"description":"The api port for the code lock.","type":"string","format":"int32"},"DeviceId":{"description":"The device id to the code lock.","type":"string"},"Username":{"description":"The username to logon to the code lock.","type":"string"},"Password":{"description":"The password to logon to the code lock.","type":"string"},"IntegrationType":{"description":"The integration type to the code lock. 1 = Local Api,  2 = Cloud Based Api","type":"string"},"Created":{"description":"When settings was created","type":"datetime","format":"date-time","x-nullable":false},"Updated":{"description":"When settings was updated","type":"datetime","format":"date-time","x-nullable":false}},"description":"CodeLockSiedleSettingResponse","type":"object"},"CodeLockTelkeySettingResponse":{"title":"CodeLockTelkeySettingResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"Username":{"description":"The username for login to the code lock","type":"string"},"Password":{"description":"The password for login to the code lock","type":"string"},"Created":{"description":"When settings were created","type":"datetime","format":"date-time","x-nullable":false},"Updated":{"description":"When settings were updated","type":"datetime","format":"date-time","x-nullable":false}},"description":"CodeLockTelkeySettingResponse","type":"object"},"CodeLockZesecSettingResponse":{"title":"CodeLockZesecSettingResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"PhoneNumber":{"description":"The username (phone number) for login to the code lock","type":"string"},"Password":{"description":"The password for login to the code lock","type":"string"},"Created":{"description":"When settings were created","type":"datetime","format":"date-time","x-nullable":false},"Updated":{"description":"When settings were updated","type":"datetime","format":"date-time","x-nullable":false}},"description":"CodeLockZesecSettingResponse","type":"object"},"CodeLockZesecUnlockResponse":{"title":"CodeLockZesecUnlockResponse","properties":{"Status":{"description":"The status for unlocking the door","type":"string"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"CodeLockZesecUnlockResponse","type":"object"},"CodeLockVanderbiltSettingResponse":{"title":"CodeLockVanderbiltSettingResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"ApiEndpoint":{"description":"The api endpoint of the code lock","type":"string"},"ApiPort":{"description":"The api port for the code lock.","type":"string","format":"int32","x-nullable":false},"Identifier":{"description":"The default identifier for the code lock.","type":"string"},"DefaultFacilityId":{"description":"The default facility id to be used when no set on the resource.","type":"string","format":"int32"},"Created":{"description":"When settings was created","type":"datetime","format":"date-time","x-nullable":false},"Updated":{"description":"When settings was updated","type":"datetime","format":"date-time","x-nullable":false}},"description":"CodeLockVanderbiltSettingResponse","type":"object"},"CodeLockParakeySettingResponse":{"title":"CodeLockParakeySettingResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"DomainId":{"description":"The domain id of the code lock.","type":"string"},"AccessToken":{"description":"The access token of the code lock.","type":"string"},"Created":{"description":"When settings was created","type":"datetime","format":"date-time","x-nullable":false},"Updated":{"description":"When settings was updated","type":"datetime","format":"date-time","x-nullable":false}},"description":"CodeLockParakeySettingResponse","type":"object"},"CodeLockRcoEnablaSettingResponse":{"title":"CodeLockRcoEnablaSettingResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"SystemId":{"description":"The system id of the code lock.","type":"string"},"ClientId":{"description":"The client id of the code lock.","type":"string"},"ClientSecret":{"description":"The client secret of the code lock.","type":"string"},"Created":{"description":"When settings was created","type":"datetime","format":"date-time","x-nullable":false},"Updated":{"description":"When settings was updated","type":"datetime","format":"date-time","x-nullable":false}},"description":"CodeLockRcoEnablaSettingResponse","type":"object"},"DeleteOldReservationsResponse":{"title":"DeleteOldReservationsResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"From":{"type":"string","format":"date-time","x-nullable":false},"To":{"type":"string","format":"date-time","x-nullable":false},"Status":{"type":"string"},"StatusId":{"type":"integer","format":"int32","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false}},"description":"DeleteOldReservationsResponse","type":"object"},"CodeLockAccessySettingResponse":{"title":"CodeLockAccessySettingResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"ClientId":{"description":"The api clientId","type":"string"},"ClientSecret":{"description":"The api clientSecret","type":"string"},"Created":{"description":"When settings was created","type":"datetime","format":"date-time","x-nullable":false},"Updated":{"description":"When settings was updated","type":"datetime","format":"date-time","x-nullable":false}},"description":"CodeLockAccessySettingResponse","type":"object"},"AxemaUserSyncJobResponse":{"title":"AxemaUserSyncJobResponse","properties":{"Id":{"type":"string","x-nullable":false},"CompanyId":{"type":"string","x-nullable":false},"Status":{"type":"integer","format":"int32","x-nullable":false},"StatusName":{"type":"string"},"UsersFound":{"type":"integer","format":"int32"},"UsersCreated":{"type":"integer","format":"int32"},"UsersUpdated":{"type":"integer","format":"int32"},"ErrorMessage":{"type":"string"},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false}},"description":"AxemaUserSyncJobResponse","type":"object"},"QueryAxemaUserSyncJobsResponse":{"title":"QueryAxemaUserSyncJobsResponse","properties":{"Results":{"type":"array","items":{"$ref":"#/definitions/AxemaUserSyncJobResponse"}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryAxemaUserSyncJobsResponse","type":"object"},"CodeLockAmidoDaxSettingResponse":{"title":"CodeLockAmidoDaxSettingResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"InstanceId":{"description":"The instance id of the code lock","type":"string","x-nullable":false},"PartnerId":{"description":"The partner id of the code lock","type":"string","x-nullable":false},"Created":{"description":"When settings were created","type":"datetime","format":"date-time","x-nullable":false},"Updated":{"description":"When settings were updated","type":"datetime","format":"date-time","x-nullable":false}},"description":"CodeLockAmidoDaxSettingResponse","type":"object"},"QueryResponse_CompanyCategoryQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/CompanyCategoryQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CCompanyCategoryQueryResponse\u003E","type":"object"},"CompanyCategoryQueryResponse":{"title":"CompanyCategoryQueryResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"NormalizedName":{"type":"string"},"Active":{"type":"boolean","x-nullable":false}},"description":"CompanyCategoryQueryResponse","type":"object"},"CompanyCoordinatesQueryResponse":{"title":"CompanyCoordinatesQueryResponse","properties":{"Longitude":{"type":"number","format":"double","x-nullable":false},"Latitude":{"type":"number","format":"double","x-nullable":false}},"description":"CompanyCoordinatesQueryResponse","type":"object"},"QueryResponse_CompanyTypeQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/CompanyTypeQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CCompanyTypeQueryResponse\u003E","type":"object"},"CompanyTypeQueryResponse":{"title":"CompanyTypeQueryResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"}},"description":"CompanyTypeQueryResponse","type":"object"},"QueryResponse_CompanyQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/CompanyQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CCompanyQueryResponse\u003E","type":"object"},"QueryResponse_CompanyUserQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/CompanyUserQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CCompanyUserQueryResponse\u003E","type":"object"},"CompanyUserQueryResponse":{"title":"CompanyUserQueryResponse","properties":{"Id":{"type":"string","x-nullable":false},"CompanyId":{"type":"string","x-nullable":false},"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Email":{"type":"string"},"Phone":{"type":"string"},"WorkerId":{"type":"string"},"ResourceId":{"type":"integer","format":"int32"},"Resource":{"$ref":"#/definitions/CompanyUserResource","description":"The resource information connected to the administrator."},"Roles":{"description":"The roles that are connected to the administrator.","type":"array","items":{"$ref":"#/definitions/CompanyUserRolesQueryResponse"}},"SendPushNotification":{"description":"If the admin should receive Push notification when booked","type":"boolean","x-nullable":false},"SendPushNotificationReminder":{"description":"If the admin should receive Push notification reminders on bookings","type":"boolean","x-nullable":false},"Active":{"type":"boolean","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false},"Updated":{"type":"string","format":"date-time","x-nullable":false}},"description":"CompanyUserQueryResponse","type":"object"},"CompanyUserResource":{"title":"CompanyUserResource","properties":{"Id":{"description":"The resource id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The resource name","type":"string"},"Active":{"description":"The resource status","type":"boolean","x-nullable":false},"Description":{"description":"The resource description","type":"string"},"Email":{"description":"The resource email","type":"string"},"Phone":{"description":"The resource phone","type":"string"},"Color":{"description":"The resource color","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The resource image"},"EmailNotification":{"description":"If the resource want to receive email notifications","type":"boolean","x-nullable":false},"SMSNotification":{"description":"If the resource want to receive sms notifications","type":"boolean","x-nullable":false},"EmailReminder":{"description":"If the resource want to receive email reminders","type":"boolean","x-nullable":false},"SMSReminder":{"description":"If the resource want to receive sms reminders","type":"boolean","x-nullable":false}},"description":"CompanyUserResource","type":"object"},"CompanyUserRolesQueryResponse":{"title":"CompanyUserRolesQueryResponse","properties":{"RoleId":{"type":"string","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"}},"description":"CompanyUserRolesQueryResponse","type":"object"},"QueryResponse_CountryQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/CountryQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CCountryQueryResponse\u003E","type":"object"},"CountryQueryResponse":{"title":"CountryQueryResponse","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"Description":{"type":"string"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"CountryQueryResponse","type":"object"},"QueryResponse_CurrencyQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/CurrencyQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CCurrencyQueryResponse\u003E","type":"object"},"CurrencyQueryResponse":{"title":"CurrencyQueryResponse","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"Description":{"type":"string"},"CurrencySign":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"CurrencyQueryResponse","type":"object"},"CustomerArticleResponse":{"title":"CustomerArticleResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"CompanyId":{"type":"string","x-nullable":false},"ArticleId":{"type":"integer","format":"int32"},"Price":{"type":"number","format":"double"},"VAT":{"type":"number","format":"double"},"CurrencyId":{"type":"string"},"StatusId":{"type":"integer","format":"int32","x-nullable":false},"StatusName":{"type":"string"},"CustomerId":{"type":"string"},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"Article":{"$ref":"#/definitions/ArticleResponse"},"Customer":{"$ref":"#/definitions/CustomerArticleCustomerResponse"},"Company":{"$ref":"#/definitions/CustomerArticleCompanyResponse"},"PaymentLog":{"type":"array","items":{"$ref":"#/definitions/PaymentLogResponse"}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"CustomerArticleResponse","type":"object"},"CustomerArticleCustomerResponse":{"title":"CustomerArticleCustomerResponse","properties":{"Id":{"type":"string","x-nullable":false},"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Email":{"type":"string"},"Phone":{"type":"string"}},"description":"CustomerArticleCustomerResponse","type":"object"},"CustomerArticleCompanyResponse":{"title":"CustomerArticleCompanyResponse","properties":{"Id":{"type":"string","x-nullable":false},"Name":{"type":"string"},"LogoType":{"type":"string"},"Email":{"type":"string"},"Phone":{"type":"string"},"City":{"type":"string"},"Street1":{"type":"string"},"ZipCode":{"type":"string"},"CountryId":{"type":"string"}},"description":"CustomerArticleCompanyResponse","type":"object"},"PaymentLogResponse":{"title":"PaymentLogResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Amount":{"type":"number","format":"double"},"AmountCredited":{"type":"number","format":"double"},"CurrencyId":{"type":"string"},"Comments":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"Updated":{"type":"string","format":"date-time","x-nullable":false}},"description":"PaymentLogResponse","type":"object"},"QueryResponse_CustomerArticleStatusResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/CustomerArticleStatusResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CCustomerArticleStatusResponse\u003E","type":"object"},"CustomerArticleStatusResponse":{"title":"CustomerArticleStatusResponse","properties":{"Id":{"description":"The status id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The status name","type":"string"},"Description":{"description":"The status description","type":"string"}},"description":"CustomerArticleStatusResponse","type":"object"},"QueryResponse_CustomerArticleResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/CustomerArticleResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CCustomerArticleResponse\u003E","type":"object"},"QueryResponse_CustomerQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/CustomerQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CCustomerQueryResponse\u003E","type":"object"},"CustomerQueryResponse":{"title":"CustomerQueryResponse","properties":{"Id":{"type":"string","x-nullable":false},"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Email":{"type":"string"},"Phone":{"type":"string"},"ImageUrl":{"type":"string"},"PersonalIdentityNumber":{"type":"string"},"CustomFields":{"type":"array","items":{"$ref":"#/definitions/CustomFieldConfigData"}},"CustomFieldValues":{"type":"array","items":{"$ref":"#/definitions/CustomFieldDataResponse"}},"Comments":{"type":"array","items":{"$ref":"#/definitions/CustomerCommentsResponse"}},"AccessKeys":{"type":"array","items":{"$ref":"#/definitions/UserAccessKeys"}},"Updated":{"type":"string","format":"date-time","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/Object"},"SubscribedToNewsletter":{"type":"boolean","x-nullable":false},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressResponse"},"Tags":{"type":"array","items":{"$ref":"#/definitions/TagResponse"}}},"description":"CustomerQueryResponse","type":"object"},"CustomerCommentsResponse":{"title":"CustomerCommentsResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"CustomerId":{"type":"string","x-nullable":false},"Comments":{"type":"string"},"Updated":{"type":"string","format":"date-time","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false},"ImageUrl":{"$ref":"#/definitions/Uri"}},"description":"CustomerCommentsResponse","type":"object"},"UserAccessKeys":{"title":"UserAccessKeys","properties":{"CompanyId":{"type":"string","x-nullable":false},"AccessKeyTypeId":{"type":"integer","format":"int32","x-nullable":false},"Value":{"type":"string"},"CustomerId":{"type":"string","x-nullable":false},"Description":{"type":"string"},"Id":{"type":"string","x-nullable":false}},"description":"UserAccessKeys","type":"object"},"UpdateCustomerResponse":{"title":"UpdateCustomerResponse","properties":{"FacebookUserName":{"type":"string"},"UserId":{"type":"string"},"CompanyId":{"type":"string"},"CreatedDate":{"type":"string","format":"date-time"},"DeletedAccessKeys":{"type":"array","items":{"$ref":"#/definitions/UserAccessKeys"}},"CreatedOrUpdatedAccessKeys":{"type":"array","items":{"$ref":"#/definitions/UserAccessKeys"}},"Id":{"type":"string","x-nullable":false},"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Email":{"type":"string"},"Phone":{"type":"string"},"ImageUrl":{"type":"string"},"PersonalIdentityNumber":{"type":"string"},"CustomFields":{"type":"array","items":{"$ref":"#/definitions/CustomFieldConfigData"}},"CustomFieldValues":{"type":"array","items":{"$ref":"#/definitions/CustomFieldDataResponse"}},"Comments":{"type":"array","items":{"$ref":"#/definitions/CustomerCommentsResponse"}},"AccessKeys":{"type":"array","items":{"$ref":"#/definitions/UserAccessKeys"}},"Updated":{"type":"string","format":"date-time","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/Object"},"SubscribedToNewsletter":{"type":"boolean","x-nullable":false},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressResponse"},"Tags":{"type":"array","items":{"$ref":"#/definitions/TagResponse"}}},"description":"UpdateCustomerResponse","type":"object"},"QueryResponse_CustomerCommentsResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/CustomerCommentsResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CCustomerCommentsResponse\u003E","type":"object"},"QueryResponse_CustomFieldQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/CustomFieldQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CCustomFieldQueryResponse\u003E","type":"object"},"CustomFieldQueryResponse":{"title":"CustomFieldQueryResponse","properties":{"Id":{"description":"Custom field id","type":"integer","format":"int32","x-nullable":false},"CompanyId":{"description":"Reference to company that owns the custom field configuration","type":"string","x-nullable":false},"GroupId":{"description":"Group id","type":"integer","format":"int32"},"FieldId":{"description":"Field id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"Configuration name. Example: \u0027Number of persons\u0027.","type":"string"},"Width":{"description":"Field width. Example: 20","type":"integer","format":"int32","x-nullable":false},"Column":{"description":"Column in database where to store the information. Example: \u0027TextField1\u0027","type":"string"},"Description":{"description":"Custom field description. Example: \u0027For how many persons is this booking?\u0027","type":"string"},"DataType":{"description":"Data field of custom field. Valid values are: TextBox, ... Example: \u0027TextBox\u0027","type":"string"},"DefaultValue":{"description":"Default value of the field. Example: \u00273\u0027","type":"string"},"IsMandatory":{"description":"Determines if the field is required to have a value or not","type":"boolean","x-nullable":false},"MandatoryErrorMessage":{"description":"Error message shown to the user if the field data is required but not entered","type":"string"},"MaxLength":{"description":"Max lenght of the field","type":"integer","format":"int32","x-nullable":false},"MultipleLineText":{"description":"If the field should have multiple lines","type":"boolean","x-nullable":false},"RegEx":{"description":"Regular expression used for validation of the field","type":"string"},"RegExId":{"description":"Regular expression id for validation of the field","type":"integer","format":"int32"},"RegExErrorMessage":{"description":"Error message shown if the regular expression validation failed","type":"string"},"IsPublic":{"description":"If the field is visible to the customer","type":"boolean","x-nullable":false},"IsHidden":{"description":"If the field should be hidden in lists","type":"boolean","x-nullable":false},"SortOrder":{"description":"Display order for the field. Lower values appear first. Same as Service SortOrder.","type":"integer","format":"int32","x-nullable":false},"Table":{"description":"Table to which the field belongs","type":"string"},"Values":{"description":"The values to select from if Datatype is DropDown for this custom field","type":"array","items":{"$ref":"#/definitions/CustomFieldLookupResponse"}},"Services":{"description":"The services that is connected to the custom field","type":"array","items":{"$ref":"#/definitions/CustomFieldServices"}}},"description":"CustomFieldQueryResponse","type":"object"},"CustomFieldLookupResponse":{"title":"CustomFieldLookupResponse","properties":{"Id":{"type":"integer","format":"int32"},"Active":{"type":"boolean"},"SortOrder":{"type":"integer","format":"int32"},"Value":{"type":"string"}},"description":"CustomFieldLookupResponse","type":"object"},"CustomFieldSlotsQueryResponse":{"title":"CustomFieldSlotsQueryResponse","properties":{"Table":{"description":"Table to which the field belongs","type":"string"},"Id":{"description":"Custom field id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"Custom field column name","type":"string"},"Datatype":{"description":"The field datatype","type":"string"},"Occupied":{"description":"If the slot is free or occupied","type":"boolean","x-nullable":false}},"description":"CustomFieldSlotsQueryResponse","type":"object"},"CustomFieldValidationsQueryResponse":{"title":"CustomFieldValidationsQueryResponse","properties":{"Id":{"description":"The validation id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The validation name","type":"string"},"Description":{"description":"The validation description","type":"string"},"RegExCode":{"description":"The validation regular expression","type":"string"},"ErrorMessage":{"description":"The validation error message","type":"string"}},"description":"CustomFieldValidationsQueryResponse","type":"object"},"EaccountingToken":{"title":"EaccountingToken","properties":{"AccessToken":{"type":"string"},"RefreshToken":{"type":"string"},"TokenType":{"type":"string"},"ExpiresIn":{"type":"integer","format":"int32","x-nullable":false},"ExpiresAt":{"type":"string","format":"date-time","x-nullable":false}},"description":"EaccountingToken","type":"object"},"QueryResponse_EAccountingArticleQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/EAccountingArticleQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CEAccountingArticleQueryResponse\u003E","type":"object"},"EAccountingArticleQueryResponse":{"title":"EAccountingArticleQueryResponse","properties":{"UnitId":{"type":"string"},"CodingId":{"type":"string"},"VatRate":{"type":"string"},"VatRatePercent":{"type":"string"},"CurrencySign":{"type":"string"},"ArticleId":{"type":"string","x-nullable":false},"ArticlePrice":{"type":"number","format":"double","x-nullable":false},"ArticleName":{"type":"string"},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false}},"description":"EAccountingArticleQueryResponse","type":"object"},"QueryResponse_InvoiceQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/InvoiceQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CInvoiceQueryResponse\u003E","type":"object"},"InvoiceQueryResponse":{"title":"InvoiceQueryResponse","properties":{"InvoiceId":{"type":"string","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"TotalAmount":{"type":"number","format":"double","x-nullable":false},"TotalVatAmount":{"type":"number","format":"double","x-nullable":false},"CustomerId":{"type":"string"},"Rows":{"type":"array","items":{"$ref":"#/definitions/InvoiceLineQueryResponse"}},"VatSpecification":{"type":"array","items":{"$ref":"#/definitions/VatSpecificationQueryResponse"}},"InvoiceDate":{"type":"string"},"DueDate":{"type":"string"},"DeliveryDate":{"type":"string","format":"date-time"},"Persons":{"type":"array","items":{"$ref":"#/definitions/Person"}},"InvoiceCustomerName":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/EAccountingInvoiceAddress"},"CustomerIsPrivatePerson":{"type":"boolean","x-nullable":false},"TermsOfPaymentId":{"type":"string"},"TermsOfPaymentData":{"$ref":"#/definitions/EAccountingTermsOfPaymentQueryResponse"},"CustomerEmail":{"type":"string"},"InvoiceNumber":{"type":"integer","format":"int32","x-nullable":false},"CustomerNumber":{"type":"string"},"Notes":{"type":"array","items":{"$ref":"#/definitions/NoteQueryResponse"}},"NoteIds":{"type":"array","items":{"type":"string"}},"CreatedUtc":{"type":"string","format":"date-time","x-nullable":false},"ModifiedUtc":{"type":"string","format":"date-time","x-nullable":false},"IncludesVat":{"type":"boolean","x-nullable":false},"SendType":{"type":"string"},"IsSold":{"type":"boolean","x-nullable":false},"PaymentDate":{"type":"string","format":"date-time"},"PaymentStatus":{"type":"string"},"PaymentStatusTitle":{"type":"string"},"CreditedBy":{"type":"array","items":{"$ref":"#/definitions/CreditedBy"}},"PriceSign":{"type":"string"},"BookingId":{"type":"string"}},"description":"InvoiceQueryResponse","type":"object"},"InvoiceLineQueryResponse":{"title":"InvoiceLineQueryResponse","properties":{"ArticleNumber":{"type":"string"},"ArticleId":{"type":"string"},"IsServiceArticle":{"type":"boolean","x-nullable":false},"AmountNoVat":{"type":"number","format":"double","x-nullable":false},"PercentVat":{"type":"number","format":"double"},"LineNumber":{"type":"integer","format":"int32","x-nullable":false},"IsTextRow":{"type":"boolean","x-nullable":false},"Text":{"type":"string"},"UnitPrice":{"type":"number","format":"double","x-nullable":false},"UnitAbbreviation":{"type":"string"},"UnitAbbreviationEnglish":{"type":"string"},"DiscountPercentage":{"type":"number","format":"double","x-nullable":false},"Quantity":{"type":"number","format":"float","x-nullable":false},"IsWorkCost":{"type":"boolean","x-nullable":false},"IsVatFree":{"type":"boolean","x-nullable":false},"CostCenterItemId1":{"type":"string"},"CostCenterItemId2":{"type":"string"},"CostCenterItemId3":{"type":"string"},"UnitId":{"type":"string"},"ProjectId":{"type":"string"},"WorkCostType":{"type":"integer","format":"int32"},"WorkHours":{"type":"number","format":"float"},"MaterialCosts":{"type":"number","format":"double"},"GreenTechnologyType":{"type":"string"},"ContributionMargin":{"$ref":"#/definitions/ContributionMargin"}},"description":"InvoiceLineQueryResponse","type":"object"},"ContributionMargin":{"title":"ContributionMargin","properties":{"Amount":{"type":"integer","format":"int32"},"Percentage":{"type":"integer","format":"int32"}},"description":"ContributionMargin","type":"object"},"VatSpecificationQueryResponse":{"title":"VatSpecificationQueryResponse","properties":{"AmountInvoiceCurrency":{"type":"number","format":"double","x-nullable":false},"VatAmountInvoiceCurrency":{"type":"number","format":"double","x-nullable":false},"VatPercent":{"type":"number","format":"double","x-nullable":false}},"description":"VatSpecificationQueryResponse","type":"object"},"EAccountingInvoiceAddress":{"title":"EAccountingInvoiceAddress","properties":{"CorporateIdentityNumber":{"type":"string"},"InvoiceAddress1":{"type":"string"},"InvoiceAddress2":{"type":"string"},"InvoiceCity":{"type":"string"},"InvoicePostalCode":{"type":"string"},"InvoiceCountryCode":{"type":"string"}},"description":"EAccountingInvoiceAddress","type":"object"},"EAccountingTermsOfPaymentQueryResponse":{"title":"EAccountingTermsOfPaymentQueryResponse","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"NameEnglish":{"type":"string"},"NumberOfDays":{"type":"integer","format":"int32","x-nullable":false},"TermsOfPaymentTypeId":{"type":"integer","format":"int32","x-nullable":false},"TermsOfPaymentTypeText":{"type":"string"},"AvailableForSales":{"type":"boolean","x-nullable":false},"AvailableForPurchase":{"type":"boolean","x-nullable":false}},"description":"EAccountingTermsOfPaymentQueryResponse","type":"object"},"NoteQueryResponse":{"title":"NoteQueryResponse","properties":{"Id":{"type":"string"},"Text":{"type":"string"},"CreatedUtc":{"type":"string","format":"date-time","x-nullable":false},"ModifiedUtc":{"type":"string","format":"date-time","x-nullable":false}},"description":"NoteQueryResponse","type":"object"},"CreditedBy":{"title":"CreditedBy","properties":{"CreditInvoiceId":{"type":"string"}},"description":"CreditedBy","type":"object"},"QueryResponse_InvoiceDraftQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/InvoiceDraftQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CInvoiceDraftQueryResponse\u003E","type":"object"},"InvoiceDraftQueryResponse":{"title":"InvoiceDraftQueryResponse","properties":{"InvoiceId":{"type":"string","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time"},"TotalAmount":{"type":"number","format":"double"},"TotalVatAmount":{"type":"number","format":"double"},"CustomerId":{"type":"string"},"Rows":{"type":"array","items":{"$ref":"#/definitions/InvoiceDraftLineQueryResponse"}},"InvoiceDate":{"type":"string"},"DueDate":{"type":"string"},"DeliveryDate":{"type":"string","format":"date-time"},"Persons":{"type":"array","items":{"$ref":"#/definitions/Person"}},"InvoiceCustomerName":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/EAccountingInvoiceAddress"},"CustomerIsPrivatePerson":{"type":"boolean","x-nullable":false},"CustomerNumber":{"type":"string"},"Notes":{"type":"array","items":{"$ref":"#/definitions/NoteQueryResponse"}},"NoteIds":{"type":"array","items":{"type":"string"}},"CreatedUtc":{"type":"string","format":"date-time","x-nullable":false},"IncludesVat":{"type":"boolean","x-nullable":false},"PriceSign":{"type":"string"},"BookingId":{"type":"string"}},"description":"InvoiceDraftQueryResponse","type":"object"},"InvoiceDraftLineQueryResponse":{"title":"InvoiceDraftLineQueryResponse","properties":{"ArticleNumber":{"type":"string"},"ArticleId":{"type":"string"},"IsServiceArticle":{"type":"boolean"},"AmountNoVat":{"type":"number","format":"double","x-nullable":false},"PercentVat":{"type":"number","format":"double","x-nullable":false},"LineNumber":{"type":"integer","format":"int32"},"IsTextRow":{"type":"boolean","x-nullable":false},"Text":{"type":"string"},"UnitPrice":{"type":"number","format":"double"},"UnitAbbreviation":{"type":"string"},"UnitAbbreviationEnglish":{"type":"string"},"DiscountPercentage":{"type":"number","format":"double"},"Quantity":{"type":"number","format":"double"},"IsWorkCost":{"type":"boolean","x-nullable":false},"IsVatFree":{"type":"boolean","x-nullable":false},"CostCenterItemId1":{"type":"string"},"CostCenterItemId2":{"type":"string"},"CostCenterItemId3":{"type":"string"},"UnitId":{"type":"string"},"ProjectId":{"type":"string"},"WorkCostType":{"type":"integer","format":"int32"},"WorkHours":{"type":"number","format":"double"},"MaterialCosts":{"type":"number","format":"double"},"GreenTechnologyType":{"type":"string"},"ContributionMargin":{"$ref":"#/definitions/ContributionMargin"}},"description":"InvoiceDraftLineQueryResponse","type":"object"},"QueryResponse_EAccountingCustomerQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/EAccountingCustomerQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CEAccountingCustomerQueryResponse\u003E","type":"object"},"EAccountingCustomerQueryResponse":{"title":"EAccountingCustomerQueryResponse","properties":{"Id":{"type":"string"},"CustomerNumber":{"type":"string"},"CorporateIdentityNumber":{"type":"string"},"ContactPersonEmail":{"type":"string"},"ContactPersonMobile":{"type":"string"},"ContactPersonName":{"type":"string"},"ContactPersonPhone":{"type":"string"},"CurrencyCode":{"type":"string"},"GLN":{"type":"string"},"InvoiceCity":{"type":"string"},"InvoicePostalCode":{"type":"string"},"EmailAddress":{"type":"string"},"EmailAddressOrder":{"type":"string"},"EmailAddressQuote":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/EAccountingInvoiceAddress"},"DeliveryCustomerName":{"type":"string"},"DeliveryAddress1":{"type":"string"},"DeliveryAddress2":{"type":"string"},"DeliveryCity":{"type":"string"},"DeliveryCountryCode":{"type":"string"},"DeliveryPostalCode":{"type":"string"},"DeliveryMethodId":{"type":"string"},"DeliveryTermId":{"type":"string"},"PayToAccountId":{"type":"string"},"Name":{"type":"string"},"Note":{"type":"string"},"ReverseChargeOnConstructionServices":{"type":"boolean","x-nullable":false},"WebshopCustomerNumber":{"type":"integer","format":"int32"},"MobilePhone":{"type":"string"},"Telephone":{"type":"string"},"TermsOfPaymentId":{"type":"string"},"EAccountingTermsOfPayment":{"$ref":"#/definitions/EAccountingTermsOfPaymentQueryResponse"},"VatNumber":{"type":"string"},"WwwAddress":{"type":"string"},"LastInvoiceDate":{"type":"string"},"IsPrivatePerson":{"type":"boolean","x-nullable":false},"IsNorthernIreland":{"type":"boolean","x-nullable":false},"DiscountPercentage":{"type":"number","format":"double"},"ChangedUtc":{"type":"string","format":"date-time"},"IsActive":{"type":"boolean","x-nullable":false},"ForceBookkeepVat":{"type":"boolean","x-nullable":false},"EdiGlnNumber":{"type":"string"},"SalesDocumentLanguage":{"type":"string"},"ElectronicAddress":{"type":"string"},"ElectronicReference":{"type":"string"},"EdiServiceDelivererId":{"type":"string"},"AutoInvoiceActivationEmailSentDate":{"type":"string","format":"date-time"},"AutoInvoiceRegistrationRequestSentDate":{"type":"string","format":"date-time"},"EmailAddresses":{"type":"array","items":{"type":"string"}},"CustomerLabels":{"type":"array","items":{"$ref":"#/definitions/CustomerLabelQueryResponse"}},"MessageThreads":{"type":"array","items":{"type":"string"}},"Notes":{"type":"array","items":{"type":"string"}},"IsFutureInvoiceDateAllowed":{"type":"boolean","x-nullable":false},"DeliveryBasedVat":{"type":"boolean","x-nullable":false},"SalesPriceListId":{"type":"string"},"Iban":{"type":"string"},"DirectDebitCustomerSettings":{"$ref":"#/definitions/DirectDebitCustomerSettingsQueryResponse"},"DiscountAgreementId":{"type":"string"},"UnpaidInvoicesAmount":{"type":"number","format":"double","x-nullable":false}},"description":"EAccountingCustomerQueryResponse","type":"object"},"CustomerLabelQueryResponse":{"title":"CustomerLabelQueryResponse","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"Description":{"type":"string"}},"description":"CustomerLabelQueryResponse","type":"object"},"DirectDebitCustomerSettingsQueryResponse":{"title":"DirectDebitCustomerSettingsQueryResponse","properties":{"MandateId":{"type":"string"},"MandateType":{"type":"integer","format":"int32","x-nullable":false},"SequenceType":{"type":"integer","format":"int32","x-nullable":false},"SigningDate":{"type":"string","format":"date-time","x-nullable":false},"EndDate":{"type":"string","format":"date-time","x-nullable":false},"LatestDirectDebit":{"type":"string","format":"date-time","x-nullable":false}},"description":"DirectDebitCustomerSettingsQueryResponse","type":"object"},"EAccountingCustomerResponse":{"title":"EAccountingCustomerResponse","properties":{"Id":{"type":"string"},"CustomerNumber":{"type":"string"},"ContactPersonEmail":{"type":"string"},"ContactPersonMobile":{"type":"string"},"ContactPersonName":{"type":"string"},"ContactPersonPhone":{"type":"string"},"CurrencyCode":{"type":"string"},"GLN":{"type":"string"},"EmailAddress":{"type":"string"},"EmailAddressOrder":{"type":"string"},"EmailAddressQuote":{"type":"string"},"DeliveryCustomerName":{"type":"string"},"DeliveryAddress1":{"type":"string"},"DeliveryAddress2":{"type":"string"},"DeliveryCity":{"type":"string"},"DeliveryCountryCode":{"type":"string"},"DeliveryPostalCode":{"type":"string"},"DeliveryMethodId":{"type":"string"},"DeliveryTermId":{"type":"string"},"PayToAccountId":{"type":"string"},"Name":{"type":"string"},"Note":{"type":"string"},"ReverseChargeOnConstructionServices":{"type":"boolean","x-nullable":false},"WebshopCustomerNumber":{"type":"integer","format":"int32"},"MobilePhone":{"type":"string"},"Telephone":{"type":"string"},"TermsOfPaymentId":{"type":"string"},"EAccountingTermsOfPayment":{"$ref":"#/definitions/EAccountingTermsOfPayment"},"VatNumber":{"type":"string"},"WwwAddress":{"type":"string"},"LastInvoiceDate":{"type":"string"},"IsPrivatePerson":{"type":"boolean","x-nullable":false},"IsNorthernIreland":{"type":"boolean","x-nullable":false},"DiscountPercentage":{"type":"number","format":"double","x-nullable":false},"ChangedUtc":{"type":"string","format":"date-time"},"IsActive":{"type":"boolean","x-nullable":false},"ForceBookkeepVat":{"type":"boolean","x-nullable":false},"EdiGlnNumber":{"type":"string"},"SalesDocumentLanguage":{"type":"string"},"ElectronicAddress":{"type":"string"},"ElectronicReference":{"type":"string"},"EdiServiceDelivererId":{"type":"string"},"AutoInvoiceActivationEmailSentDate":{"type":"string","format":"date-time"},"AutoInvoiceRegistrationRequestSentDate":{"type":"string","format":"date-time"},"EmailAddresses":{"type":"array","items":{"type":"string"}},"CustomerLabels":{"type":"array","items":{"$ref":"#/definitions/CustomerLabel"}},"MessageThreads":{"type":"array","items":{"type":"string"}},"Notes":{"type":"array","items":{"type":"string"}},"IsFutureInvoiceDateAllowed":{"type":"boolean","x-nullable":false},"DeliveryBasedVat":{"type":"boolean","x-nullable":false},"SalesPriceListId":{"type":"string"},"Iban":{"type":"string"},"DirectDebitCustomerSettings":{"$ref":"#/definitions/DirectDebitCustomerSettings"},"DiscountAgreementId":{"type":"string"},"UnpaidInvoicesAmount":{"type":"number","format":"double","x-nullable":false},"CorporateIdentityNumber":{"type":"string"},"InvoiceAddress1":{"type":"string"},"InvoiceAddress2":{"type":"string"},"InvoiceCity":{"type":"string"},"InvoicePostalCode":{"type":"string"},"InvoiceCountryCode":{"type":"string"}},"description":"EAccountingCustomerResponse","type":"object"},"EAccountingTermsOfPayment":{"title":"EAccountingTermsOfPayment","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"NameEnglish":{"type":"string"},"NumberOfDays":{"type":"integer","format":"int32","x-nullable":false},"TermsOfPaymentTypeId":{"type":"integer","format":"int32","x-nullable":false},"TermsOfPaymentTypeText":{"type":"string"},"AvailableForSales":{"type":"boolean","x-nullable":false},"AvailableForPurchase":{"type":"boolean","x-nullable":false}},"description":"EAccountingTermsOfPayment","type":"object"},"CustomerLabel":{"title":"CustomerLabel","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"Description":{"type":"string"}},"description":"CustomerLabel","type":"object"},"DirectDebitCustomerSettings":{"title":"DirectDebitCustomerSettings","properties":{"MandateId":{"type":"string"},"MandateType":{"type":"integer","format":"int32","x-nullable":false},"SequenceType":{"type":"integer","format":"int32","x-nullable":false},"SigningDate":{"type":"string","format":"date-time","x-nullable":false},"EndDate":{"type":"string","format":"date-time","x-nullable":false},"LatestDirectDebit":{"type":"string","format":"date-time","x-nullable":false}},"description":"DirectDebitCustomerSettings","type":"object"},"CreateInvoiceDraftQueryResponse":{"title":"CreateInvoiceDraftQueryResponse","properties":{"Invoice":{"$ref":"#/definitions/InvoiceDraftQueryResponse"},"InvoiceUri":{"type":"string"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"CreateInvoiceDraftQueryResponse","type":"object"},"CreateInvoiceQueryResponse":{"title":"CreateInvoiceQueryResponse","properties":{"Invoice":{"$ref":"#/definitions/InvoiceQueryResponse"},"InvoiceUri":{"type":"string"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"CreateInvoiceQueryResponse","type":"object"},"EAccountingSettingsQueryResponse":{"title":"EAccountingSettingsQueryResponse","properties":{"CompanyId":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"DefaultArticle0PercentVat":{"type":"string"},"DefaultArticle6PercentVat":{"type":"string"},"DefaultArticle12PercentVat":{"type":"number","format":"double","x-nullable":false},"DefaultArticle25PercentVat":{"type":"number","format":"double","x-nullable":false},"DefaultCreateType":{"type":"string"},"DefaultTermsOfPaymentId":{"type":"string"},"MaxDaysBookingStatusCheck":{"type":"integer","format":"int32"}},"description":"EAccountingSettingsQueryResponse","type":"object"},"EAccountingDefaultArticleQueryResponse":{"title":"EAccountingDefaultArticleQueryResponse","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"ExternalReference":{"type":"string"},"VatPercent":{"type":"number","format":"double","x-nullable":false},"ArticlePriceNet":{"type":"number","format":"double","x-nullable":false},"CurrencySign":{"type":"string"}},"description":"EAccountingDefaultArticleQueryResponse","type":"object"},"List_EAccountingDefaultArticleQueryResponse_":{"title":"List\u003CEAccountingDefaultArticleQueryResponse\u003E","type":"array","items":{"$ref":"#/definitions/EAccountingDefaultArticleQueryResponse"}},"List_EAccountingTermsOfPaymentQueryResponse_":{"title":"List\u003CEAccountingTermsOfPaymentQueryResponse\u003E","type":"array","items":{"$ref":"#/definitions/EAccountingTermsOfPaymentQueryResponse"}},"CreateSummarizedInvoiceResponse":{"title":"CreateSummarizedInvoiceResponse","properties":{"TotalCustomersQueued":{"type":"integer","format":"int32","x-nullable":false},"Jobs":{"type":"array","items":{"$ref":"#/definitions/SummarizedInvoiceJobResponse"}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"CreateSummarizedInvoiceResponse","type":"object"},"SummarizedInvoiceJobResponse":{"title":"SummarizedInvoiceJobResponse","properties":{"SummarizedInvoiceId":{"type":"string","x-nullable":false},"CustomerId":{"type":"string","x-nullable":false},"CustomerName":{"type":"string"},"BookingCount":{"type":"integer","format":"int32","x-nullable":false}},"description":"SummarizedInvoiceJobResponse","type":"object"},"QuerySummarizedInvoicesResponse":{"title":"QuerySummarizedInvoicesResponse","properties":{"Results":{"type":"array","items":{"$ref":"#/definitions/SummarizedInvoiceDetailResponse"}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QuerySummarizedInvoicesResponse","type":"object"},"SummarizedInvoiceDetailResponse":{"title":"SummarizedInvoiceDetailResponse","properties":{"Id":{"type":"string","x-nullable":false},"CompanyId":{"type":"string","x-nullable":false},"CustomerId":{"type":"string","x-nullable":false},"CustomerName":{"type":"string"},"EAccountingInvoiceId":{"type":"string"},"Draft":{"type":"boolean","x-nullable":false},"DateFrom":{"type":"string","format":"date-time","x-nullable":false},"DateTo":{"type":"string","format":"date-time","x-nullable":false},"ServiceId":{"type":"integer","format":"int32"},"Status":{"type":"integer","format":"int32","x-nullable":false},"StatusName":{"type":"string"},"ErrorMessage":{"type":"string"},"BookingIds":{"type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false}},"description":"SummarizedInvoiceDetailResponse","type":"object"},"ServicePriceMappingResponse":{"title":"ServicePriceMappingResponse","properties":{"CompanyId":{"description":"The company id","type":"string","x-nullable":false},"Id":{"type":"string","x-nullable":false},"PriceId":{"description":"The price id","type":"integer","format":"int32","x-nullable":false},"ExternalReference":{"description":"The external reference","type":"string"},"ReferenceType":{"description":"The Reference Type","type":"string"}},"description":"ServicePriceMappingResponse","type":"object"},"PreviewSummarizedInvoiceResponse":{"title":"PreviewSummarizedInvoiceResponse","properties":{"TotalCustomers":{"type":"integer","format":"int32","x-nullable":false},"TotalBookings":{"type":"integer","format":"int32","x-nullable":false},"Customers":{"type":"array","items":{"$ref":"#/definitions/PreviewCustomerGroup"}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"PreviewSummarizedInvoiceResponse","type":"object"},"PreviewCustomerGroup":{"title":"PreviewCustomerGroup","properties":{"CustomerId":{"type":"string","x-nullable":false},"CustomerName":{"type":"string"},"Email":{"type":"string"},"BookingCount":{"type":"integer","format":"int32","x-nullable":false},"BookingIds":{"type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"MissingInvoiceAddress":{"type":"boolean","x-nullable":false},"MissingEmail":{"type":"boolean","x-nullable":false},"InvoiceAddress1":{"type":"string"},"InvoiceAddress2":{"type":"string"},"InvoiceCity":{"type":"string"},"InvoicePostalCode":{"type":"string"},"InvoiceCountryCode":{"type":"string"},"CorporateIdentityNumber":{"type":"string"}},"description":"PreviewCustomerGroup","type":"object"},"ErrorLogQueryResponse":{"title":"ErrorLogQueryResponse","properties":{"CompanyId":{"type":"string"},"Id":{"type":"integer","format":"int32","x-nullable":false},"MetaData":{"type":"string"},"Comments":{"type":"string"},"UserId":{"type":"string"},"TypeId":{"type":"integer","format":"int32","x-nullable":false},"Resolved":{"type":"boolean","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false}},"description":"ErrorLogQueryResponse","type":"object"},"List_ErrorLogQueryResponse_":{"title":"List\u003CErrorLogQueryResponse\u003E","type":"array","items":{"$ref":"#/definitions/ErrorLogQueryResponse"}},"ErrorQueryResponse":{"title":"ErrorQueryResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false},"ExceptionName":{"type":"string"},"ExceptionMessage":{"type":"string"},"ExceptionSource":{"type":"string"},"InnerExceptionName":{"type":"string"},"StackTrace":{"type":"string"},"URL":{"type":"string"},"LoggedInUser":{"type":"string"},"Visible":{"type":"boolean","x-nullable":false},"IPAddress":{"type":"string"},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"Request":{"type":"string"},"Session":{"type":"string"}},"description":"ErrorQueryResponse","type":"object"},"InactiveCustomerResponse":{"title":"InactiveCustomerResponse","properties":{"Id":{"type":"string","x-nullable":false},"Customer":{"$ref":"#/definitions/InactiveCustomerInfo"}},"description":"InactiveCustomerResponse","type":"object"},"InactiveCustomerInfo":{"title":"InactiveCustomerInfo","properties":{"Id":{"description":"The unique identifier of the customer","type":"string","x-nullable":false},"Firstname":{"description":"The customer\u0027s first name","type":"string"},"Lastname":{"description":"The customer\u0027s last name","type":"string"},"Email":{"description":"The customer\u0027s email address","type":"string"},"Phone":{"description":"The customer\u0027s phone number","type":"string"},"FacebookUserName":{"description":"The customer\u0027s Facebook username","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"URL to the customer\u0027s profile image"}},"description":"InactiveCustomerInfo","type":"object"},"GDPRCustomerQueryResponse":{"title":"GDPRCustomerQueryResponse","properties":{"Bookings":{"description":"List of all bookings associated with the customer","type":"array","items":{"$ref":"#/definitions/GDPRCustomerBookingsResponse"}},"MessageLog":{"description":"List of all message logs associated with the customer","type":"array","items":{"$ref":"#/definitions/GDPRCustomerMessageLogResponse"}},"UserProfile":{"$ref":"#/definitions/UserProfileResponse","description":"The user profile information for the customer"},"Customer":{"$ref":"#/definitions/GDPRCustomerInfoResponse","description":"Detailed customer information"},"CustomerComment":{"description":"List of all comments associated with the customer","type":"array","items":{"$ref":"#/definitions/GDPRCustomerCommentsResponse"}},"NewsletterLog":{"description":"List of all newsletter logs associated with the customer","type":"array","items":{"$ref":"#/definitions/GDPRCustomerNewsletterLogResponse"}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus","description":"Response status information"}},"description":"GDPRCustomerQueryResponse","type":"object"},"GDPRCustomerBookingsResponse":{"title":"GDPRCustomerBookingsResponse","properties":{"CompanyId":{"description":"The company ID associated with this booking","type":"string","x-nullable":false},"Id":{"description":"The unique identifier of the booking","type":"integer","format":"int32","x-nullable":false},"CustomerId":{"description":"The customer ID associated with this booking","type":"string","x-nullable":false},"ServiceId":{"description":"The service ID for this booking","type":"integer","format":"int32","x-nullable":false},"StatusId":{"description":"The current status of the booking","type":"integer","format":"int32","x-nullable":false},"From":{"description":"The start date and time of the booking","type":"string","format":"date-time","x-nullable":false},"To":{"description":"The end date and time of the booking","type":"string","format":"date-time","x-nullable":false},"UnbookedOn":{"description":"The date when the booking was cancelled or unbooked","type":"string","format":"date-time"},"UnbookedComments":{"description":"Comments added when the booking was cancelled","type":"string"},"BookedComments":{"description":"Comments added when the booking was created","type":"string"},"BookedBy":{"description":"The name of the person who made the booking","type":"string"},"Comments":{"description":"General comments about the booking","type":"string"},"TextField1":{"description":"Custom text field 1","type":"string"},"TextField2":{"description":"Custom text field 2","type":"string"},"TextField3":{"description":"Custom text field 3","type":"string"},"TextField4":{"description":"Custom text field 4","type":"string"},"TextField5":{"description":"Custom text field 5","type":"string"},"TextField6":{"description":"Custom text field 6","type":"string"},"TextField7":{"description":"Custom text field 7","type":"string"},"TextField8":{"description":"Custom text field 8","type":"string"},"TextField9":{"description":"Custom text field 9","type":"string"},"TextField10":{"description":"Custom text field 10","type":"string"},"TextField11":{"description":"Custom text field 11","type":"string"},"TextField12":{"description":"Custom text field 12","type":"string"},"TextField13":{"description":"Custom text field 13","type":"string"},"TextField14":{"description":"Custom text field 14","type":"string"},"TextField15":{"description":"Custom text field 15","type":"string"},"TextField16":{"description":"Custom text field 16","type":"string"},"TextField17":{"description":"Custom text field 17","type":"string"},"TextField18":{"description":"Custom text field 18","type":"string"},"TextField19":{"description":"Custom text field 19","type":"string"},"TextField20":{"description":"Custom text field 20","type":"string"},"UpdatedDate":{"description":"The date when the booking was last updated","type":"string","format":"date-time","x-nullable":false},"CreatedDate":{"description":"The date when the booking was created","type":"string","format":"date-time","x-nullable":false},"CommentsToCustomer":{"description":"Comments sent to the customer about this booking","type":"string"}},"description":"GDPRCustomerBookingsResponse","type":"object"},"GDPRCustomerMessageLogResponse":{"title":"GDPRCustomerMessageLogResponse","properties":{"CompanyId":{"description":"The company ID associated with this message","type":"string","x-nullable":false},"Id":{"description":"The unique identifier of the message","type":"integer","format":"int32","x-nullable":false},"BookingId":{"description":"The booking ID this message is related to, if any","type":"integer","format":"int32"},"Receiver":{"description":"The recipient of the message","type":"string"},"Sender":{"description":"The sender of the message","type":"string"},"MessageTitle":{"description":"The title or subject of the message","type":"string"},"MessageBody":{"description":"The body content of the message","type":"string"},"CreatedBy":{"description":"The name of the person who created the message","type":"string"},"Created":{"description":"The date when the message was created","type":"string","format":"date-time","x-nullable":false},"Sent":{"description":"Whether the message was successfully sent","type":"boolean","x-nullable":false},"SentDate":{"description":"The date when the message was sent","type":"string","format":"date-time"},"SendMethodId":{"description":"The method used to send the message (e.g., email, SMS)","type":"integer","format":"int32","x-nullable":false}},"description":"GDPRCustomerMessageLogResponse","type":"object"},"UserProfileResponse":{"title":"UserProfileResponse","properties":{"Id":{"type":"string","x-nullable":false},"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Phone":{"type":"string"},"Email":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressResponse"}},"description":"UserProfileResponse","type":"object"},"GDPRCustomerInfoResponse":{"title":"GDPRCustomerInfoResponse","properties":{"UserId":{"description":"The unique identifier of the user","type":"string","x-nullable":false},"Firstname":{"description":"The user\u0027s first name","type":"string"},"Lastname":{"description":"The user\u0027s last name","type":"string"},"Phone":{"description":"The user\u0027s phone number","type":"string"},"Email":{"description":"The user\u0027s email address","type":"string"},"Active":{"description":"Whether the user account is currently active","type":"boolean","x-nullable":false},"FacebookUsername":{"description":"The user\u0027s Facebook username","type":"string"},"TextField1":{"description":"Custom text field 1","type":"string"},"TextField2":{"description":"Custom text field 2","type":"string"},"TextField3":{"description":"Custom text field 3","type":"string"},"TextField4":{"description":"Custom text field 4","type":"string"},"TextField5":{"description":"Custom text field 5","type":"string"},"TextField6":{"description":"Custom text field 6","type":"string"},"TextField7":{"description":"Custom text field 7","type":"string"},"TextField8":{"description":"Custom text field 8","type":"string"},"TextField9":{"description":"Custom text field 9","type":"string"},"TextField10":{"description":"Custom text field 10","type":"string"},"TextField11":{"description":"Custom text field 11","type":"string"},"TextField12":{"description":"Custom text field 12","type":"string"},"TextField13":{"description":"Custom text field 13","type":"string"},"TextField14":{"description":"Custom text field 14","type":"string"},"TextField15":{"description":"Custom text field 15","type":"string"},"TextField16":{"description":"Custom text field 16","type":"string"},"TextField17":{"description":"Custom text field 17","type":"string"},"TextField18":{"description":"Custom text field 18","type":"string"},"TextField19":{"description":"Custom text field 19","type":"string"},"TextField20":{"description":"Custom text field 20","type":"string"},"Updated":{"description":"The date when the customer information was last updated","type":"string","format":"date-time","x-nullable":false},"Created":{"description":"The date when the customer information was created","type":"string","format":"date-time","x-nullable":false}},"description":"GDPRCustomerInfoResponse","type":"object"},"GDPRCustomerCommentsResponse":{"title":"GDPRCustomerCommentsResponse","properties":{"CompanyId":{"description":"The company ID associated with this comment","type":"string","x-nullable":false},"Id":{"description":"The unique identifier of the comment","type":"integer","format":"int32","x-nullable":false},"CustomerId":{"description":"The customer ID this comment is associated with","type":"string","x-nullable":false},"Comments":{"description":"The content of the comment","type":"string"},"Updated":{"description":"The date when the comment was last updated","type":"string","format":"date-time","x-nullable":false},"Created":{"description":"The date when the comment was created","type":"string","format":"date-time","x-nullable":false},"ImageUrl":{"$ref":"#/definitions/Uri","description":"URL to any image associated with the comment"}},"description":"GDPRCustomerCommentsResponse","type":"object"},"GDPRCustomerNewsletterLogResponse":{"title":"GDPRCustomerNewsletterLogResponse","properties":{"CompanyId":{"description":"The company ID associated with this newsletter","type":"string","x-nullable":false},"Id":{"description":"The unique identifier of the newsletter log entry","type":"integer","format":"int32","x-nullable":false},"NewslettersId":{"description":"The newsletter ID this log entry is related to, if any","type":"integer","format":"int32"},"Receiver":{"description":"The recipient of the newsletter","type":"string"},"Sender":{"description":"The sender of the newsletter","type":"string"},"MessageTitle":{"description":"The title or subject of the newsletter","type":"string"},"MessageBody":{"description":"The body content of the newsletter","type":"string"},"Sent":{"description":"Whether the newsletter was successfully sent","type":"boolean","x-nullable":false},"Created":{"description":"The date when the newsletter was created","type":"string","format":"date-time","x-nullable":false}},"description":"GDPRCustomerNewsletterLogResponse","type":"object"},"QueryResponse_GeoDataCitiesQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/GeoDataCitiesQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CGeoDataCitiesQueryResponse\u003E","type":"object"},"GeoDataCitiesQueryResponse":{"title":"GeoDataCitiesQueryResponse","properties":{"Id":{"type":"string","x-nullable":false},"City":{"type":"string"},"Longitude":{"type":"string"},"Latitude":{"type":"string"},"Country":{"type":"string"},"Iso2":{"type":"string"},"Admin":{"type":"string"},"Capital":{"type":"string"},"Population":{"type":"integer","format":"int32"},"PopulationProper":{"type":"integer","format":"int32"}},"description":"GeoDataCitiesQueryResponse","type":"object"},"QueryResponse_MessageLogQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/MessageLogQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CMessageLogQueryResponse\u003E","type":"object"},"MessageLogQueryResponse":{"title":"MessageLogQueryResponse","properties":{"Id":{"description":"The message log id","type":"integer","format":"int32","x-nullable":false},"BookingId":{"description":"The booking id for the message (if connected to a booking).","type":"integer","format":"int32"},"Receiver":{"description":"The message receiver. Either a email or a mobile phone number.","type":"string"},"MessageTitle":{"description":"Message Title.","type":"string"},"StorageUrl":{"description":"Message Storage Url.","type":"string"},"MessageBody":{"description":"Message Body.","type":"string"},"Created":{"description":"When message was created.","type":"string","format":"date-time","x-nullable":false},"ToSendDate":{"description":"When the message will be sent.","type":"string","format":"date-time","x-nullable":false},"SentDate":{"description":"When the message was sent.","type":"string","format":"date-time"},"Sent":{"description":"If Message is sent","type":"boolean","x-nullable":false},"MessageRetries":{"description":"Number of retries to send the message","type":"integer","format":"int32","x-nullable":false},"SendMethodId":{"description":"Send Method. 1 = Email, 2 = SMS","type":"integer","format":"int32","x-nullable":false}},"description":"MessageLogQueryResponse","type":"object"},"QueryResponse_FieldTranslationResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/FieldTranslationResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CFieldTranslationResponse\u003E","type":"object"},"FieldTranslationResponse":{"title":"FieldTranslationResponse","properties":{"Id":{"description":"The field translation id","type":"integer","format":"int32","x-nullable":false},"Code":{"description":"The field translation code.","type":"string"},"Name":{"description":"The field translation name.","type":"string"},"Description":{"description":"The field translation description.","type":"string"},"Group":{"description":"The field translation group.","type":"string"}},"description":"FieldTranslationResponse","type":"object"},"QueryResponse_MessageTemplatesQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/MessageTemplatesQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CMessageTemplatesQueryResponse\u003E","type":"object"},"MessageTemplatesQueryResponse":{"title":"MessageTemplatesQueryResponse","properties":{"Id":{"description":"The message template id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The message template name.","type":"string"},"Title":{"description":"The message template title.","type":"string"},"Body":{"description":"The message template title.","type":"string"},"Sender":{"description":"The message template sender (an email for message types with sendmethod 1, for SMS this cannot be set).","type":"string"},"Default":{"description":"If the message template is the default message currently in use.","type":"boolean","x-nullable":false},"MessageType":{"$ref":"#/definitions/MessageTypeQueryResponse","description":"If the message type information."},"Language":{"description":"Template language.","type":"string"},"Services":{"description":"The connected services which the template is valid for. If empty then it\u0027s valid for all services.","type":"array","items":{"$ref":"#/definitions/MessageServices"}}},"description":"MessageTemplatesQueryResponse","type":"object"},"MessageTypeQueryResponse":{"title":"MessageTypeQueryResponse","properties":{"Id":{"description":"The message type id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The message type name.","type":"string"},"Description":{"description":"The message type description.","type":"string"},"MaxCharacters":{"description":"The maximum number of characters that can be entered into message body using this type.","type":"integer","format":"int32","x-nullable":false},"DefaultText":{"description":"The default text that is always included when sending messages of this type.","type":"string"},"SendMethodId":{"description":"The send method for this type. 1 = Email, 2 = SMS.","type":"integer","format":"int32","x-nullable":false}},"description":"MessageTypeQueryResponse","type":"object"},"MessageServices":{"title":"MessageServices","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"description":"Name of the service","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The image url of the service"}},"description":"MessageServices","type":"object"},"GoogleMeetAuthUrlResponse":{"title":"GoogleMeetAuthUrlResponse","properties":{"AuthUrl":{"type":"string"}},"description":"GoogleMeetAuthUrlResponse","type":"object"},"GoogleMeetStatusResponse":{"title":"GoogleMeetStatusResponse","properties":{"Connected":{"type":"boolean","x-nullable":false},"GoogleAccountEmail":{"type":"string"},"CalendarId":{"type":"string"},"ConnectedSince":{"type":"string","format":"date-time"},"NeedsReauth":{"type":"boolean","x-nullable":false}},"description":"GoogleMeetStatusResponse","type":"object"},"QueryResponse_HomepageImageQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/HomepageImageQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CHomepageImageQueryResponse\u003E","type":"object"},"HomepageImageQueryResponse":{"title":"HomepageImageQueryResponse","properties":{"CompanyId":{"description":"The company id.","type":"string","x-nullable":false},"Id":{"description":"The homepage image id.","type":"integer","format":"int32","x-nullable":false},"Title":{"description":"The image title.","type":"string"},"Description":{"description":"The image description.","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The image url."}},"description":"HomepageImageQueryResponse","type":"object"},"QueryResponse_HomepageMenuQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/HomepageMenuQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CHomepageMenuQueryResponse\u003E","type":"object"},"HomepageMenuQueryResponse":{"title":"HomepageMenuQueryResponse","properties":{"CompanyId":{"description":"The company id","type":"string","x-nullable":false},"HomeText":{"description":"The text for home menu item","type":"string"},"HomeHidden":{"description":"If the home menu item should be hidden","type":"boolean","x-nullable":false},"ServicesText":{"description":"The text for services menu item","type":"string"},"ServicesHidden":{"description":"If the services menu item should be hidden","type":"boolean","x-nullable":false},"BookTimeText":{"description":"The text for book time menu item","type":"string"},"BookTimeHidden":{"description":"If the book time menu item should be hidden","type":"boolean","x-nullable":false},"AboutUsText":{"description":"The text for about us menu item","type":"string"},"AboutUsHidden":{"description":"If the about us menu item should be hidden","type":"boolean","x-nullable":false},"ContactUsText":{"description":"The text for contact us menu item","type":"string"},"ContactUsHidden":{"description":"If the contact us menu item should be hidden","type":"boolean","x-nullable":false},"MyBookingsText":{"description":"The text for my bookings menu item","type":"string"},"MyBookingsHidden":{"description":"If the my bookings menu item should be hidden","type":"boolean","x-nullable":false},"CalendarText":{"description":"The text for calender menu item","type":"string"},"CalendarHidden":{"description":"If the calendar menu item should be hidden","type":"boolean","x-nullable":false},"NewsText":{"description":"The text for news menu item","type":"string"},"NewsHidden":{"description":"If the news menu item should be hidden","type":"boolean","x-nullable":false},"AddressText":{"description":"The text for address menu item","type":"string"},"AddressHidden":{"description":"If the address menu item should be hidden","type":"boolean"},"GalleryText":{"description":"The text for gallery menu item","type":"string"},"GalleryHidden":{"description":"If the gallery menu item should be hidden","type":"boolean"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"HomepageMenuQueryResponse","type":"object"},"HomepageSettingsQueryResponse":{"title":"HomepageSettingsQueryResponse","properties":{"CompanyId":{"description":"The company id","type":"string","x-nullable":false},"HomepageHeading":{"description":"The text for homepage heading","type":"string"},"WelcomePageHeading":{"description":"The text for homepage startpage heading","type":"string"},"WelcomePageBody":{"description":"The text for homepage startpage body","type":"string"},"AboutUsPageHeading":{"description":"The text for homepage about us page heading","type":"string"},"AboutUsPageBody":{"description":"The text for homepage about us page body","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The startpage image url"},"HomePageTemplateId":{"description":"The template for the homepage","type":"integer","format":"int32","x-nullable":false},"HeroSectionStyleId":{"description":"The hero section style for the homepage","type":"integer","format":"int32","x-nullable":false},"ShowRating":{"description":"Show rating on the page","type":"boolean","x-nullable":false},"EnableHomepage":{"description":"Enable the BokaMera Homepage","type":"boolean","x-nullable":false},"Updated":{"description":"Will show when the homepage settings was created, note it will only be shown if your logged in as admin for the company.","type":"datetime","format":"date-time"},"Created":{"description":"Will show when the homepage settings was updated, note it will only be shown if your logged in as admin for the company.","type":"datetime","format":"date-time"},"HomePageTemplateOptions":{"description":"The homepage templates options to select from","type":"boolean","items":{"$ref":"#/definitions/HomepageTemplateResponse"}},"HomepageHeroSectionStyleOptions":{"description":"The homepage hero section style options to select from","type":"boolean","items":{"$ref":"#/definitions/HomepageHeroSectionStyleResponse"}}},"description":"HomepageSettingsQueryResponse","type":"object"},"HomepageTemplateResponse":{"title":"HomepageTemplateResponse","properties":{"Id":{"description":"The template id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The template name","type":"string"},"Description":{"description":"The template description","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The template image url"}},"description":"HomepageTemplateResponse","type":"object"},"HomepageHeroSectionStyleResponse":{"title":"HomepageHeroSectionStyleResponse","properties":{"Id":{"description":"The hero section style id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The hero section style name","type":"string"},"Description":{"description":"The hero section style description","type":"string"}},"description":"HomepageHeroSectionStyleResponse","type":"object"},"HomepageWidgetSettingsQueryResponse":{"title":"HomepageWidgetSettingsQueryResponse","properties":{"CompanyId":{"description":"The company id.","type":"string","x-nullable":false},"ServiceLayoutId":{"description":"The service layouts id.","type":"integer","format":"int32","x-nullable":false},"TimeLayoutId":{"description":"The time layouts id.","type":"integer","format":"int32","x-nullable":false},"BookingLayoutId":{"description":"The booking layouts id.","type":"integer","format":"int32","x-nullable":false},"PrimaryColor":{"description":"The primary color of the booking widget.","type":"string"},"ShowServiceImage":{"description":"If you should show the service image in the booking widget.","type":"boolean","x-nullable":false},"ShowRebateCodeField":{"description":"If you should show the rebate code field in the booking widget.","type":"boolean","x-nullable":false},"ShowNextAvailableTime":{"description":"If you should show the next available time in the booking widget.","type":"boolean","x-nullable":false},"ShowSubscribeToNewsletter":{"description":"If you should show the subscribe to newsletter checkbox in the booking widget.","type":"boolean","x-nullable":false},"EnableCreateAccount":{"description":"If you should show the create account option.","type":"boolean","x-nullable":false},"EnableLogin":{"description":"If you should show the login to account option.","type":"boolean","x-nullable":false},"EnableFacebookLogin":{"description":"If you should show the facebook login to account option.","type":"boolean","x-nullable":false},"EnableDirectBooking":{"description":"If you should show the direct booking option. This enables customer to book with entering contact information.","type":"boolean","x-nullable":false},"DarkTheme":{"description":"If the site should have dark theme or not.","type":"boolean","x-nullable":false},"ShowEndTime":{"description":"If you should show the end time in the booking widget.","type":"boolean","x-nullable":false},"BookedTimeSlotText":{"description":"What text to show on booked time slots. Default text is Booked","type":"string"},"ServiceLayoutOptions":{"type":"array","items":{"$ref":"#/definitions/HomepageWidgetServiceLayoutsResponse"}},"TimeLayoutOptions":{"type":"array","items":{"$ref":"#/definitions/HomepageWidgetTimeLayoutsResponse"}},"BookingLayoutOptions":{"type":"array","items":{"$ref":"#/definitions/HomepageWidgetBookingLayoutsResponse"}},"BookingMethodOptions":{"type":"array","items":{"$ref":"#/definitions/HomepageWidgetBookingMethodsResponse"}}},"description":"HomepageWidgetSettingsQueryResponse","type":"object"},"HomepageWidgetServiceLayoutsResponse":{"title":"HomepageWidgetServiceLayoutsResponse","properties":{"Id":{"description":"The layout id.","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The layout name.","type":"string"},"Description":{"description":"The layout description.","type":"string"},"Code":{"description":"The layout code.","type":"string"}},"description":"HomepageWidgetServiceLayoutsResponse","type":"object"},"HomepageWidgetTimeLayoutsResponse":{"title":"HomepageWidgetTimeLayoutsResponse","properties":{"Id":{"description":"The layout id.","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The layout name.","type":"string"},"Description":{"description":"The layout description.","type":"string"},"Code":{"description":"The layout code.","type":"string"}},"description":"HomepageWidgetTimeLayoutsResponse","type":"object"},"HomepageWidgetBookingLayoutsResponse":{"title":"HomepageWidgetBookingLayoutsResponse","properties":{"Id":{"description":"The layout id.","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The layout name.","type":"string"},"Description":{"description":"The layout description.","type":"string"},"Code":{"description":"The layout code.","type":"string"}},"description":"HomepageWidgetBookingLayoutsResponse","type":"object"},"HomepageWidgetBookingMethodsResponse":{"title":"HomepageWidgetBookingMethodsResponse","properties":{"Id":{"description":"The layout id.","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The layout name.","type":"string"},"Description":{"description":"The layout description.","type":"string"},"Code":{"description":"The layout code.","type":"string"}},"description":"HomepageWidgetBookingMethodsResponse","type":"object"},"UploadImageResponse":{"title":"UploadImageResponse","properties":{"FilePath":{"type":"string"}},"description":"UploadImageResponse","type":"object"},"QueryResponse_CompanyLicenseQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/CompanyLicenseQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CCompanyLicenseQueryResponse\u003E","type":"object"},"CompanyLicenseQueryResponse":{"title":"CompanyLicenseQueryResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"TypeId":{"type":"integer","format":"int32","x-nullable":false},"Type":{"$ref":"#/definitions/LicenseTypeQueryResponse"},"ValidFrom":{"type":"string","format":"date-time","x-nullable":false},"ValidTo":{"type":"string","format":"date-time","x-nullable":false},"VossSubscriptionId":{"type":"string","x-nullable":false},"VossSubscription":{"$ref":"#/definitions/VossSubscriptionResponse"},"MetaData":{"type":"string"},"Active":{"type":"boolean","x-nullable":false},"LicenseStatus":{"type":"string"},"Canceled":{"type":"boolean","x-nullable":false},"Updated":{"type":"string","format":"date-time","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false}},"description":"CompanyLicenseQueryResponse","type":"object"},"LicenseTypeQueryResponse":{"title":"LicenseTypeQueryResponse","properties":{"Id":{"description":"The license type id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The license type name","type":"string"},"Description":{"description":"The license type description","type":"string"},"IsExtraLicenseOption":{"description":"If the license type is not a standard license but instead an extra license option. An example would be sending newsletter license.","type":"boolean","x-nullable":false},"PeriodOfNoticeDays":{"description":"The period of notice for the license in days.","type":"integer","format":"int32","x-nullable":false},"Items":{"description":"The license items for the license type","type":"array","items":{"$ref":"#/definitions/LicenseItemsResponse"}},"Prices":{"description":"The license prices in each country for the license type","type":"array","items":{"$ref":"#/definitions/LicensePriceResponse"}}},"description":"LicenseTypeQueryResponse","type":"object"},"LicenseItemsResponse":{"title":"LicenseItemsResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"AllowedItems":{"type":"integer","format":"int32","x-nullable":false}},"description":"LicenseItemsResponse","type":"object"},"LicensePriceResponse":{"title":"LicensePriceResponse","properties":{"LicenseTypeId":{"type":"integer","format":"int32","x-nullable":false},"CountryId":{"type":"string"},"Price":{"type":"integer","format":"int32","x-nullable":false},"Country":{"$ref":"#/definitions/Country"},"LicensePlanId":{"type":"integer","format":"int32","x-nullable":false}},"description":"LicensePriceResponse","type":"object"},"QueryResponse_LicenseTypeQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/LicenseTypeQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CLicenseTypeQueryResponse\u003E","type":"object"},"QueryResponse_LicenseInformationQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/LicenseInformationQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CLicenseInformationQueryResponse\u003E","type":"object"},"LicenseInformationQueryResponse":{"title":"LicenseInformationQueryResponse","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"Url":{"$ref":"#/definitions/Uri"},"FreeEdition":{"type":"boolean","x-nullable":false},"StartEdition":{"type":"boolean","x-nullable":false},"ProEdition":{"type":"boolean","x-nullable":false},"SmartEdition":{"type":"boolean","x-nullable":false},"EnterpriseEdition":{"type":"boolean","x-nullable":false},"FreeEditionValue":{"type":"string"},"StartEditionValue":{"type":"string"},"ProEditionValue":{"type":"string"},"SmartEditionValue":{"type":"string"},"EnterpriseEditionValue":{"type":"string"},"LicenseInformationTypeId":{"type":"integer","format":"int32","x-nullable":false}},"description":"LicenseInformationQueryResponse","type":"object"},"QueryResponse_LicensePlanQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/LicensePlanQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CLicensePlanQueryResponse\u003E","type":"object"},"LicensePlanQueryResponse":{"title":"LicensePlanQueryResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"VossPlanId":{"type":"string","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"},"VossPlan":{"$ref":"#/definitions/VossPlanResponse"},"PlanLength":{"type":"integer","format":"int32","x-nullable":false},"PlanLengthUnit":{"type":"string"},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"Active":{"type":"boolean","x-nullable":false}},"description":"LicensePlanQueryResponse","type":"object"},"VossPlanResponse":{"title":"VossPlanResponse","properties":{"Id":{"type":"string","x-nullable":false},"Name":{"type":"string"},"LengthUnit":{"type":"string"},"Length":{"type":"string"}},"description":"VossPlanResponse","type":"object"},"QueryResponse_LicenseInformationTypeQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/LicenseInformationTypeQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CLicenseInformationTypeQueryResponse\u003E","type":"object"},"LicenseInformationTypeQueryResponse":{"title":"LicenseInformationTypeQueryResponse","properties":{"Id":{"description":"The license information type id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The license information type name","type":"string"}},"description":"LicenseInformationTypeQueryResponse","type":"object"},"QueryResponse_CompanyOwnerResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/CompanyOwnerResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CCompanyOwnerResponse\u003E","type":"object"},"DiscountAgreementResult":{"title":"DiscountAgreementResult","properties":{"applicationScope":{"type":"string"},"chargePlanDiscounts":{"type":"array","items":{"$ref":"#/definitions/ChargePlanDiscountResultDto"}},"customerGroups":{"type":"array","items":{"$ref":"#/definitions/DiscountAgreementCustomerGroupResultDto"}},"customers":{"type":"array","items":{"$ref":"#/definitions/DiscountAgreementCustomerResultDto"}},"description":{"type":"string"},"discountPeriod":{"$ref":"#/definitions/DiscountPeriodDto"},"externalId":{"type":"string"},"id":{"type":"string","x-nullable":false},"name":{"type":"string"},"package":{"$ref":"#/definitions/DiscountPackageDto"},"sourceVersionId":{"type":"string"},"status":{"type":"string"},"validFrom":{"type":"string","format":"date-time","x-nullable":false},"validTo":{"type":"string","format":"date-time"},"versionId":{"type":"string","x-nullable":false}},"description":"DiscountAgreementResult","type":"object"},"ChargePlanDiscountResultDto":{"title":"ChargePlanDiscountResultDto","properties":{"chargePlanId":{"type":"string","x-nullable":false},"id":{"type":"string","x-nullable":false},"productGroupDiscounts":{"type":"array","items":{"$ref":"#/definitions/ProductGroupDiscountResultDto"}}},"description":"ChargePlanDiscountResultDto","type":"object"},"ProductGroupDiscountResultDto":{"title":"ProductGroupDiscountResultDto","properties":{"id":{"type":"string","x-nullable":false},"productGroupId":{"type":"string","x-nullable":false},"productPricingDiscounts":{"type":"array","items":{"$ref":"#/definitions/ProductPricingDiscountResultDto"}}},"description":"ProductGroupDiscountResultDto","type":"object"},"ProductPricingDiscountResultDto":{"title":"ProductPricingDiscountResultDto","properties":{"discountType":{"type":"string"},"id":{"type":"string","x-nullable":false},"productId":{"type":"string","x-nullable":false},"tierPricingDiscounts":{"type":"array","items":{"$ref":"#/definitions/PricingTierDiscountResultDto"}},"unitPriceDiscount":{"type":"number","format":"double","x-nullable":false}},"description":"ProductPricingDiscountResultDto","type":"object"},"PricingTierDiscountResultDto":{"title":"PricingTierDiscountResultDto","properties":{"discountType":{"type":"string"},"flatPriceDiscount":{"type":"number","format":"double","x-nullable":false},"id":{"type":"string","x-nullable":false},"index":{"type":"integer","format":"int32","x-nullable":false},"unitPriceDiscount":{"type":"number","format":"double","x-nullable":false}},"description":"PricingTierDiscountResultDto","type":"object"},"DiscountAgreementCustomerGroupResultDto":{"title":"DiscountAgreementCustomerGroupResultDto","properties":{"intervalEnd":{"type":"integer","format":"int32","x-nullable":false},"intervalStart":{"type":"integer","format":"int32","x-nullable":false}},"description":"DiscountAgreementCustomerGroupResultDto","type":"object"},"DiscountAgreementCustomerResultDto":{"title":"DiscountAgreementCustomerResultDto","properties":{"customerId":{"type":"string","x-nullable":false}},"description":"DiscountAgreementCustomerResultDto","type":"object"},"DiscountPeriodDto":{"title":"DiscountPeriodDto","properties":{"length":{"$ref":"#/definitions/TimeLengthDto"},"periodIterationCount":{"type":"integer","format":"int32"},"periodKind":{"type":"string"}},"description":"DiscountPeriodDto","type":"object"},"TimeLengthDto":{"title":"TimeLengthDto","properties":{"unit":{"type":"string"},"value":{"type":"integer","format":"int32","x-nullable":false}},"description":"TimeLengthDto","type":"object"},"DiscountPackageDto":{"title":"DiscountPackageDto","properties":{"id":{"type":"string","x-nullable":false},"name":{"type":"string"}},"description":"DiscountPackageDto","type":"object"},"CreateSubscriptionProductGroupResult":{"title":"CreateSubscriptionProductGroupResult","properties":{"created":{"type":"string","format":"date-time","x-nullable":false},"customerBalanceChange":{"$ref":"#/definitions/CustomerBalanceChangeDto"},"id":{"type":"string","x-nullable":false},"name":{"type":"string"},"productGroupType":{"type":"string"},"products":{"type":"array","items":{"$ref":"#/definitions/SubscriptionProductGroupProductResultDto"}},"status":{"type":"string"},"termination":{"$ref":"#/definitions/SubscriptionItemTerminationDto"}},"description":"CreateSubscriptionProductGroupResult","type":"object"},"CustomerBalanceChangeDto":{"title":"CustomerBalanceChangeDto","properties":{"items":{"type":"array","items":{"$ref":"#/definitions/CustomerBalanceChangeItemDto"}},"totalAmount":{"type":"number","format":"double","x-nullable":false},"totalDiscountAmount":{"type":"number","format":"double","x-nullable":false}},"description":"CustomerBalanceChangeDto","type":"object"},"CustomerBalanceChangeItemDto":{"title":"CustomerBalanceChangeItemDto","properties":{"amount":{"type":"number","format":"double","x-nullable":false},"discountAmount":{"type":"number","format":"double","x-nullable":false},"id":{"type":"string","x-nullable":false},"invoiceRecipientCustomerId":{"type":"string","x-nullable":false},"name":{"type":"string"},"productGroupId":{"type":"string","x-nullable":false},"productGroupName":{"type":"string"},"quantity":{"type":"number","format":"double","x-nullable":false},"totalAmount":{"type":"number","format":"double","x-nullable":false},"type":{"type":"string"}},"description":"CustomerBalanceChangeItemDto","type":"object"},"SubscriptionProductGroupProductResultDto":{"title":"SubscriptionProductGroupProductResultDto","properties":{"articleNumber":{"type":"string"},"externalId":{"type":"string"},"id":{"type":"string","x-nullable":false},"name":{"type":"string"}},"description":"SubscriptionProductGroupProductResultDto","type":"object"},"SubscriptionItemTerminationDto":{"title":"SubscriptionItemTerminationDto","properties":{"creditOptions":{"$ref":"#/definitions/CreditOptionsDto"},"reason":{"$ref":"#/definitions/SubscriptionItemTerminationReasonDto"},"scheduledDate":{"type":"string","format":"date-time","x-nullable":false},"source":{"type":"string"},"type":{"type":"string"}},"description":"SubscriptionItemTerminationDto","type":"object"},"CreditOptionsDto":{"title":"CreditOptionsDto","properties":{"behaviour":{"type":"string"},"creditKind":{"type":"string"},"prorateTimeAnchor":{"type":"string","format":"date-time"}},"description":"CreditOptionsDto","type":"object"},"SubscriptionItemTerminationReasonDto":{"title":"SubscriptionItemTerminationReasonDto","properties":{"comment":{"type":"string"},"reasonExternalId":{"type":"string"},"reasonId":{"type":"string","x-nullable":false},"reasonName":{"type":"string"},"subReasonExternalId":{"type":"string"},"subReasonId":{"type":"string"},"subReasonName":{"type":"string"}},"description":"SubscriptionItemTerminationReasonDto","type":"object"},"ProductResponse":{"title":"ProductResponse","properties":{"Id":{"type":"string","x-nullable":false},"Name":{"type":"string"},"ArticleNumber":{"type":"string"}},"description":"ProductResponse","type":"object"},"List_ProductResponse_":{"title":"List\u003CProductResponse\u003E","type":"array","items":{"$ref":"#/definitions/ProductResponse"}},"List_VossPlanResponse_":{"title":"List\u003CVossPlanResponse\u003E","type":"array","items":{"$ref":"#/definitions/VossPlanResponse"}},"TierResult":{"title":"TierResult","properties":{"externalId":{"type":"string"},"id":{"type":"string","x-nullable":false},"name":{"type":"string"},"productGroups":{"type":"array","items":{"$ref":"#/definitions/TierProductGroupDto"}},"rank":{"type":"integer","format":"int32","x-nullable":false},"versionId":{"type":"string","x-nullable":false}},"description":"TierResult","type":"object"},"TierProductGroupDto":{"title":"TierProductGroupDto","properties":{"externalId":{"type":"string"},"id":{"type":"string","x-nullable":false},"name":{"type":"string"},"productGroupType":{"type":"string"},"products":{"type":"array","items":{"$ref":"#/definitions/TierProductDto"}},"tags":{"type":"array","items":{"$ref":"#/definitions/ProductGroupTagDto"}}},"description":"TierProductGroupDto","type":"object"},"TierProductDto":{"title":"TierProductDto","properties":{"articleNumber":{"type":"string"},"externalId":{"type":"string"},"id":{"type":"string","x-nullable":false},"name":{"type":"string"},"status":{"type":"string"},"type":{"type":"string"}},"description":"TierProductDto","type":"object"},"ProductGroupTagDto":{"title":"ProductGroupTagDto","properties":{"tag":{"type":"string"},"type":{"type":"string"}},"description":"ProductGroupTagDto","type":"object"},"List_TierResult_":{"title":"List\u003CTierResult\u003E","type":"array","items":{"$ref":"#/definitions/TierResult"}},"ProductGroupResult":{"title":"ProductGroupResult","properties":{"externalId":{"type":"string"},"id":{"type":"string","x-nullable":false},"name":{"type":"string"},"productGroupType":{"type":"string"},"products":{"type":"array","items":{"$ref":"#/definitions/ProductGroupProductDto"}},"tags":{"type":"array","items":{"$ref":"#/definitions/ProductGroupTagDto"}},"versionId":{"type":"string","x-nullable":false}},"description":"ProductGroupResult","type":"object"},"ProductGroupProductDto":{"title":"ProductGroupProductDto","properties":{"articleNumber":{"type":"string"},"externalId":{"type":"string"},"id":{"type":"string","x-nullable":false},"name":{"type":"string"},"status":{"type":"string"},"type":{"type":"string"}},"description":"ProductGroupProductDto","type":"object"},"List_ProductGroupResult_":{"title":"List\u003CProductGroupResult\u003E","type":"array","items":{"$ref":"#/definitions/ProductGroupResult"}},"CreateUsageTerminationResult":{"title":"CreateUsageTerminationResult","properties":{"creditOptions":{"$ref":"#/definitions/UsageCreditOptionsDto"},"customerBalanceChange":{"$ref":"#/definitions/CustomerBalanceChangeDto"},"reason":{"$ref":"#/definitions/SubscriptionItemTerminationReasonDto"},"scheduledDate":{"type":"string","format":"date-time","x-nullable":false}},"description":"CreateUsageTerminationResult","type":"object"},"UsageCreditOptionsDto":{"title":"UsageCreditOptionsDto","properties":{"behaviour":{"type":"string"},"creditKind":{"type":"string"}},"description":"UsageCreditOptionsDto","type":"object"},"CompanyInvoiceArticleQueryResponse":{"title":"CompanyInvoiceArticleQueryResponse","properties":{"Name":{"type":"string"},"LicenseTypeId":{"type":"integer","format":"int32"},"LicenseProductTypeId":{"type":"integer","format":"int32","x-nullable":false},"Id":{"type":"integer","format":"int32","x-nullable":false}},"description":"CompanyInvoiceArticleQueryResponse","type":"object"},"QueryResponse_CompanyInvoiceArticleQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/CompanyInvoiceArticleQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CCompanyInvoiceArticleQueryResponse\u003E","type":"object"},"QueryResponse_MailchimpCompanySyncExecutionQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/MailchimpCompanySyncExecutionQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CMailchimpCompanySyncExecutionQueryResponse\u003E","type":"object"},"MailchimpCompanySyncExecutionQueryResponse":{"title":"MailchimpCompanySyncExecutionQueryResponse","properties":{"MailchimpSyncExecutionId":{"type":"integer","format":"int32","x-nullable":false},"SuccessCount":{"type":"integer","format":"int32","x-nullable":false},"FailedCompanyIds":{"type":"string"},"Status":{"type":"string"},"Manual":{"type":"boolean","x-nullable":false},"Errors":{"type":"string"},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false}},"description":"MailchimpCompanySyncExecutionQueryResponse","type":"object"},"QueryResponse_LicenseChangesLogQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/LicenseChangesLogQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CLicenseChangesLogQueryResponse\u003E","type":"object"},"LicenseChangesLogQueryResponse":{"title":"LicenseChangesLogQueryResponse","properties":{"MetaData":{"type":"string"},"Id":{"type":"integer","format":"int32","x-nullable":false},"VossSubscriptionId":{"type":"string","x-nullable":false},"CheckedAt":{"type":"string","format":"date-time"},"CheckStatus":{"type":"string"},"CheckNote":{"type":"string"},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"CompanyId":{"type":"string"}},"description":"LicenseChangesLogQueryResponse","type":"object"},"MailchimpConfig":{"title":"MailchimpConfig","properties":{"MailChimpApiKey":{"type":"string"},"MailChimpAudienceId":{"type":"string"}},"description":"MailchimpConfig","type":"object"},"QueryResponse_MailchimpSyncExecutionQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/MailchimpSyncExecutionQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CMailchimpSyncExecutionQueryResponse\u003E","type":"object"},"MailchimpSyncExecutionQueryResponse":{"title":"MailchimpSyncExecutionQueryResponse","properties":{"CompanyId":{"type":"string"},"MailchimpSyncExecutionId":{"type":"integer","format":"int32","x-nullable":false},"SuccessCount":{"type":"integer","format":"int32","x-nullable":false},"FailedCompanyIds":{"type":"string"},"Status":{"type":"string"},"Manual":{"type":"boolean","x-nullable":false},"Errors":{"type":"string"},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false}},"description":"MailchimpSyncExecutionQueryResponse","type":"object"},"AudienceData":{"title":"AudienceData","properties":{"Id":{"type":"string"},"Name":{"type":"string"}},"description":"AudienceData","type":"object"},"List_AudienceData_":{"title":"List\u003CAudienceData\u003E","type":"array","items":{"$ref":"#/definitions/AudienceData"}},"QueryResponse_MessageTypeQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/MessageTypeQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CMessageTypeQueryResponse\u003E","type":"object"},"QueryResponse_MessageSendMethodQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/MessageSendMethodQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CMessageSendMethodQueryResponse\u003E","type":"object"},"MessageSendMethodQueryResponse":{"title":"MessageSendMethodQueryResponse","properties":{"Id":{"description":"The send method id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The send method name.","type":"string"},"Description":{"description":"The send method description.","type":"string"}},"description":"MessageSendMethodQueryResponse","type":"object"},"UnsubscribeEmailTopicResponse":{"title":"UnsubscribeEmailTopicResponse","properties":{"Email":{"type":"string"},"ConfigurationSet":{"type":"string"},"Topic":{"type":"string"},"Unsubscribed":{"type":"boolean","x-nullable":false}},"description":"UnsubscribeEmailTopicResponse","type":"object"},"QueryResponse_NewsItemQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/NewsItemQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CNewsItemQueryResponse\u003E","type":"object"},"NewsItemQueryResponse":{"title":"NewsItemQueryResponse","required":["From","To","Created"],"properties":{"Id":{"description":"The news item id","type":"integer","format":"int32","x-nullable":false},"Heading":{"description":"Heading of the news item","type":"string"},"Body":{"description":"Body of the news item","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"Url to a image associated with the news"},"From":{"description":"The timestamp from which the newsitem should be visible from","type":"string","format":"date-time","x-nullable":false},"To":{"description":"The timestamp to which the newsitem should be visible to","type":"string","format":"date-time","x-nullable":false},"Created":{"description":"The timestamp when news was created","type":"string","format":"date-time","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"NewsItemQueryResponse","type":"object"},"NewsletterCustomerQueryResponse":{"title":"NewsletterCustomerQueryResponse","properties":{"Id":{"type":"string","x-nullable":false},"Customer":{"$ref":"#/definitions/NewsletterCustomerInfo"}},"description":"NewsletterCustomerQueryResponse","type":"object"},"NewsletterCustomerInfo":{"title":"NewsletterCustomerInfo","properties":{"Id":{"type":"string","x-nullable":false},"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Email":{"type":"string"},"Phone":{"type":"string"},"FacebookUserName":{"type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri"}},"description":"NewsletterCustomerInfo","type":"object"},"QueryResponse_NewsletterLogQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/NewsletterLogQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CNewsletterLogQueryResponse\u003E","type":"object"},"NewsletterLogQueryResponse":{"title":"NewsletterLogQueryResponse","properties":{"Id":{"description":"The message log id","type":"integer","format":"int32","x-nullable":false},"Receiver":{"description":"The message receiver. Either a email or a mobile phone number.","type":"string"},"MessageTitle":{"description":"Nessage Title.","type":"string"},"MessageBody":{"description":"Nessage Body.","type":"string"},"Created":{"description":"When message was created.","type":"string","format":"date-time","x-nullable":false},"ToSendDate":{"description":"When the message will be sent.","type":"string","format":"date-time","x-nullable":false},"SentDate":{"description":"When the message was sent.","type":"string","format":"date-time"},"Sent":{"description":"If Message is sent","type":"boolean","x-nullable":false},"MessageRetries":{"description":"Number of retries to send the message","type":"integer","format":"int32","x-nullable":false},"SendMethodId":{"description":"Send Method. 1 = Email, 2 = SMS","type":"integer","format":"int32","x-nullable":false}},"description":"NewsletterLogQueryResponse","type":"object"},"QueryResponse_NewsletterSendMethodQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/NewsletterSendMethodQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CNewsletterSendMethodQueryResponse\u003E","type":"object"},"NewsletterSendMethodQueryResponse":{"title":"NewsletterSendMethodQueryResponse","properties":{"Id":{"description":"The send method id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The send method name.","type":"string"},"Description":{"description":"The send method description.","type":"string"}},"description":"NewsletterSendMethodQueryResponse","type":"object"},"QueryResponse_NewsletterFieldTranslationResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/NewsletterFieldTranslationResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CNewsletterFieldTranslationResponse\u003E","type":"object"},"NewsletterFieldTranslationResponse":{"title":"NewsletterFieldTranslationResponse","properties":{"Id":{"description":"The field translation id","type":"integer","format":"int32","x-nullable":false},"Code":{"description":"The field translation code.","type":"string"},"Name":{"description":"The field translation name.","type":"string"},"Description":{"description":"The field translation description.","type":"string"},"Group":{"description":"The field translation group.","type":"string"}},"description":"NewsletterFieldTranslationResponse","type":"object"},"QueryResponse_NewsletterEmailTemplatesQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/NewsletterEmailTemplatesQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CNewsletterEmailTemplatesQueryResponse\u003E","type":"object"},"NewsletterEmailTemplatesQueryResponse":{"title":"NewsletterEmailTemplatesQueryResponse","properties":{"Id":{"description":"The email template id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The email template name.","type":"string"},"Description":{"description":"The email template description.","type":"string"},"Body":{"description":"The email template html content.","type":"string"}},"description":"NewsletterEmailTemplatesQueryResponse","type":"object"},"QueryResponse_NewsletterTemplatesQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/NewsletterTemplatesQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CNewsletterTemplatesQueryResponse\u003E","type":"object"},"NewsletterTemplatesQueryResponse":{"title":"NewsletterTemplatesQueryResponse","properties":{"Id":{"description":"The newsletter template id","type":"integer","format":"int32","x-nullable":false},"Heading":{"description":"The newsletter template heading.","type":"string"},"Body":{"description":"The newsletter template body.","type":"string"},"EmailTemplateId":{"description":"The email template the newsletter uses.","type":"integer","format":"int32"},"SendMethodId":{"description":"Send Method. 1 = Email, 2 = SMS","type":"integer","format":"int32","x-nullable":false},"ImageUrl":{"description":"The newsletter template image url.","type":"string"},"Created":{"description":"The newsletter created date.","type":"string","format":"date-time","x-nullable":false},"SendMethodInformation":{"$ref":"#/definitions/NewsletterSendMethodQueryResponse","description":"Send method information."},"EmailTemplateInformation":{"$ref":"#/definitions/NewsletterEmailTemplatesQueryResponse","description":"Email template information."}},"description":"NewsletterTemplatesQueryResponse","type":"object"},"SendNewslettersResponse":{"title":"SendNewslettersResponse","properties":{"Total":{"description":"The number of messages that are added into queue.","type":"integer","format":"int32","x-nullable":false},"SendMethodId":{"description":"Send Method. 1 = Email, 2 = SMS","type":"integer","format":"int32","x-nullable":false},"MessageExample":{"description":"Message example sent (in HTML format)","type":"string"}},"description":"SendNewslettersResponse","type":"object"},"List_SubscribedUserResponse_":{"title":"List\u003CSubscribedUserResponse\u003E","type":"array","items":{"$ref":"#/definitions/SubscribedUserResponse"}},"UnsubscribeNewsletterResponse":{"title":"UnsubscribeNewsletterResponse","properties":{"Message":{"type":"string"},"Subscribed":{"type":"boolean","x-nullable":false}},"description":"UnsubscribeNewsletterResponse","type":"object"},"List_UnsubscribeNewsletterResponse_":{"title":"List\u003CUnsubscribeNewsletterResponse\u003E","type":"array","items":{"$ref":"#/definitions/UnsubscribeNewsletterResponse"}},"QvicklyApiSettingsQueryResponse":{"title":"QvicklyApiSettingsQueryResponse","properties":{"CompanyId":{"description":"The company id","type":"string","x-nullable":false},"Id":{"description":"The Qvickly id","type":"integer","format":"int32","x-nullable":false},"Secret":{"description":"The Qvickly secret","type":"string"},"ReceiverEmail":{"description":"The Qvickly receiver email","type":"string"},"ReceiverFirstname":{"description":"The Qvickly receiver firstname","type":"string"},"ReceiverLastname":{"description":"The Qvickly receiver lastname","type":"string"}},"description":"QvicklyApiSettingsQueryResponse","type":"object"},"IpnCallBackResponse":{"title":"IpnCallBackResponse","properties":{"Message":{"type":"string"},"Success":{"type":"boolean","x-nullable":false}},"description":"IpnCallBackResponse","type":"object"},"QvicklyApiSettingsTestResponse":{"title":"QvicklyApiSettingsTestResponse","properties":{"Success":{"description":"If the settings works or not","type":"boolean","x-nullable":false}},"description":"QvicklyApiSettingsTestResponse","type":"object"},"StripeWebhookResponse":{"title":"StripeWebhookResponse","properties":{"Id":{"type":"string"},"Events":{"type":"array","items":{"type":"string"}},"Url":{"type":"string"}},"description":"StripeWebhookResponse","type":"object"},"StripeWebhooksResponse":{"title":"StripeWebhooksResponse","properties":{"StripeWebhooks":{"type":"array","items":{"$ref":"#/definitions/StripeWebhookResponse"}}},"description":"StripeWebhooksResponse","type":"object"},"QvicklyCheckoutQueryResponse":{"title":"QvicklyCheckoutQueryResponse","properties":{"Number":{"description":"The checkout id","type":"integer","format":"int32","x-nullable":false},"Url":{"description":"The url for checkout module to be placed in a iframe","type":"string"},"Status":{"description":"The checkout status","type":"string"}},"description":"QvicklyCheckoutQueryResponse","type":"object"},"StripeAccountQueryResponse":{"title":"StripeAccountQueryResponse","properties":{"StripeAccount":{"type":"string"},"EnableKlarna":{"type":"boolean","x-nullable":false}},"description":"StripeAccountQueryResponse","type":"object"},"StripeDeletedAccountResponse":{"title":"StripeDeletedAccountResponse","properties":{"Success":{"type":"boolean","x-nullable":false}},"description":"StripeDeletedAccountResponse","type":"object"},"StripeAccountResponse":{"title":"StripeAccountResponse","properties":{"Message":{"type":"string"},"Success":{"type":"boolean","x-nullable":false}},"description":"StripeAccountResponse","type":"object"},"StripeCheckoutQueryResponse":{"title":"StripeCheckoutQueryResponse","properties":{"SessionId":{"description":"The checkout session id","type":"string"},"Url":{"description":"The url for checkout module to be placed in a iframe","type":"string"},"Status":{"description":"The checkout status","type":"string"},"ClientSecret":{"description":"Client secret to be used when initializing Stripe.js embedded checkout.","type":"string"},"CustomerId":{"description":"(ID of the Customer) The ID of the customer for this Session. For Checkout Sessions in subscription mode or Checkout Sessions with customer_creation set as always in payment mode, Checkout will create a new customer object based on information provided during the payment flow unless an existing customer was provided when the Session was created.","type":"string"},"PaymentIntentClientSecret":{"description":"The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret. Refer to our docs to accept a payment   and learn about how client_secret should be handled.","type":"string"},"PaymentIntentId":{"type":"string"},"StripeAccount":{"type":"string"}},"description":"StripeCheckoutQueryResponse","type":"object"},"PaymentSettingsQueryResponse":{"title":"PaymentSettingsQueryResponse","properties":{"CompanyId":{"description":"The company id","type":"string","x-nullable":false},"Enabled":{"description":"The payment is enabled","type":"boolean","x-nullable":false},"RefundOnCancelBooking":{"description":"Automatically refund customer on canceled booking","type":"boolean","x-nullable":false},"DefaultPaymentOptionId":{"description":"The default option when admin creates a new booking","type":"integer","format":"int32"},"PaymentProviderId":{"description":"What payment provider to use","type":"integer","format":"int32","x-nullable":false},"AdminPaymentOptions":{"description":"If you want to include the admin payment options to select from","type":"boolean","items":{"$ref":"#/definitions/AdminPaymentOptionsResponse"}},"PaymentProviderOptions":{"description":"If you want to include the payment provider options to select from","type":"boolean","items":{"$ref":"#/definitions/PaymentProviderOptionsResponse"}}},"description":"PaymentSettingsQueryResponse","type":"object"},"AdminPaymentOptionsResponse":{"title":"AdminPaymentOptionsResponse","properties":{"Id":{"description":"The payment options id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The payment options name","type":"string"},"Description":{"description":"The payment options description","type":"string"}},"description":"AdminPaymentOptionsResponse","type":"object"},"PaymentProviderOptionsResponse":{"title":"PaymentProviderOptionsResponse","properties":{"Id":{"description":"The payment provider id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The payment provider name","type":"string"},"Description":{"description":"The payment provider description","type":"string"}},"description":"PaymentProviderOptionsResponse","type":"object"},"StripeConnectAccountRes":{"title":"StripeConnectAccountRes","properties":{"Url":{"type":"string"}},"description":"StripeConnectAccountRes","type":"object"},"StripeCheckoutStatusQueryResponse":{"title":"StripeCheckoutStatusQueryResponse","properties":{"CustomerEmail":{"description":"The customer email for checkout","type":"string"},"Status":{"description":"The checkout status","type":"string"}},"description":"StripeCheckoutStatusQueryResponse","type":"object"},"QueryResponse_CompanyRatingResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/CompanyRatingResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CCompanyRatingResponse\u003E","type":"object"},"CompanyRatingResponse":{"title":"CompanyRatingResponse","properties":{"CompanyId":{"description":"","type":"string","x-nullable":false},"BookingId":{"description":"Id of the booking","type":"integer","format":"int32","x-nullable":false},"Status":{"description":"The status of the rating, 1 = Active","type":"integer","format":"int32","x-nullable":false},"RatingScore":{"description":"The rating score","type":"integer","format":"int32","x-nullable":false},"Review":{"$ref":"#/definitions/RatingReviewResponse","description":"The review if any exists to the rating"},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false}},"description":"CompanyRatingResponse","type":"object"},"QueryResponse_RatingReviewResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/RatingReviewResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CRatingReviewResponse\u003E","type":"object"},"RebateCodeResponse":{"title":"RebateCodeResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"CompanyId":{"type":"string"},"ValidFrom":{"type":"string","format":"date-time","x-nullable":false},"ValidTo":{"type":"string","format":"date-time","x-nullable":false},"FromTime":{"description":"If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"string","x-nullable":false},"ToTime":{"description":"If the price is only valid for a specific time span during a time of day enter the FromTime and ToTime parameters.","type":"string","x-nullable":false},"CreatedBy":{"type":"string"},"Created":{"type":"string","format":"date-time","x-nullable":false},"UpdatedBy":{"type":"string"},"Updated":{"type":"string","format":"date-time","x-nullable":false},"PersonalNote":{"type":"string"},"RebateCodeSign":{"type":"string"},"RebateCodeValue":{"type":"integer","format":"int32","x-nullable":false},"RebateCodeTypeId":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"RebateCodeStatusId":{"type":"integer","format":"int32","x-nullable":false},"StatusName":{"type":"string"},"MaxNumberOfUses":{"type":"integer","format":"int32","x-nullable":false},"MaxNumberOfUsesPerCustomer":{"type":"integer","format":"int32","x-nullable":false},"NumberOfUsesUsed":{"type":"integer","format":"int32","x-nullable":false},"DaysOfWeek":{"type":"array","items":{"$ref":"#/definitions/DaysOfWeekResponse"}},"Services":{"type":"array","items":{"$ref":"#/definitions/RebateCodeServiceResponse"}},"Article":{"$ref":"#/definitions/ArticleResponse"},"Transactions":{"type":"array","items":{"$ref":"#/definitions/RebateCodeTransactionQueryResponse"}},"RemainingAmount":{"type":"number","format":"double"},"RemainingUsage":{"type":"integer","format":"int32"},"Customers":{"type":"array","items":{"$ref":"#/definitions/RebateCodeCustomerResponse"}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"},"PaymentReceived":{"type":"boolean","x-nullable":false},"RebateCodeCurrencySign":{"type":"string"},"ActiveByStatus":{"type":"boolean","x-nullable":false},"PriceSign":{"type":"string"},"RebateCodeTypeName":{"type":"string"},"Company":{"$ref":"#/definitions/RebateCodeCompanyResponse"},"PaymentLog":{"type":"array","items":{"$ref":"#/definitions/PaymentLogResponse"}}},"description":"RebateCodeResponse","type":"object"},"DaysOfWeekResponse":{"title":"DaysOfWeekResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"DayOfWeek":{"type":"string"},"DayOfWeekTranslation":{"type":"string"},"DayOfWeekActive":{"type":"boolean"},"DayOfWeekSortOrder":{"type":"integer","format":"int32"}},"description":"DaysOfWeekResponse","type":"object"},"RebateCodeServiceResponse":{"title":"RebateCodeServiceResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"},"Active":{"type":"boolean","x-nullable":false}},"description":"RebateCodeServiceResponse","type":"object"},"RebateCodeTransactionQueryResponse":{"title":"RebateCodeTransactionQueryResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"CompanyId":{"type":"string","x-nullable":false},"Note":{"type":"string"},"RebateCodeId":{"type":"integer","format":"int32","x-nullable":false},"RebateCodeSign":{"type":"string"},"RebateCodeTypeId":{"type":"integer","format":"int32"},"RebateCodeTypeName":{"type":"string"},"Amount":{"type":"number","format":"double","x-nullable":false},"Usage":{"type":"string"},"BookingId":{"type":"integer","format":"int32"},"UpdatedDate":{"type":"string","format":"date-time","x-nullable":false},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false},"Service":{"$ref":"#/definitions/RebateCodeServiceResponse"},"Customer":{"$ref":"#/definitions/RebateCodeCustomerResponse"},"PriceSign":{"type":"string"}},"description":"RebateCodeTransactionQueryResponse","type":"object"},"RebateCodeCustomerResponse":{"title":"RebateCodeCustomerResponse","properties":{"Id":{"type":"string","x-nullable":false},"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Email":{"type":"string"},"Phone":{"type":"string"},"ImageUrl":{"type":"string"}},"description":"RebateCodeCustomerResponse","type":"object"},"RebateCodeCompanyResponse":{"title":"RebateCodeCompanyResponse","properties":{"SitePath":{"type":"string"},"PaymentProviderId":{"type":"integer","format":"int32"}},"description":"RebateCodeCompanyResponse","type":"object"},"QueryResponse_RebateCodeResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/RebateCodeResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CRebateCodeResponse\u003E","type":"object"},"RebateCodeTypeQueryResponse":{"title":"RebateCodeTypeQueryResponse","properties":{"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"},"RebateCodeTypeItems":{"type":"array","items":{"$ref":"#/definitions/RebateCodeTypeResponse"}}},"description":"RebateCodeTypeQueryResponse","type":"object"},"RebateCodeTypeResponse":{"title":"RebateCodeTypeResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"}},"description":"RebateCodeTypeResponse","type":"object"},"RebateCodeStatusResponse":{"title":"RebateCodeStatusResponse","properties":{"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"},"RebateCodeStatusItems":{"type":"array","items":{"$ref":"#/definitions/RebateCodeStatusItem"}}},"description":"RebateCodeStatusResponse","type":"object"},"RebateCodeStatusItem":{"title":"RebateCodeStatusItem","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"RebateCodeStatusName":{"type":"string"},"RebateCodeStatusDescription":{"type":"string"}},"description":"RebateCodeStatusItem","type":"object"},"RebateCodeValuesResponse":{"title":"RebateCodeValuesResponse","properties":{"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"},"RebateCodeValueItems":{"type":"array","items":{"$ref":"#/definitions/RebateCodeValueQueryResponse"}}},"description":"RebateCodeValuesResponse","type":"object"},"RebateCodeValueQueryResponse":{"title":"RebateCodeValueQueryResponse","properties":{"Transactions":{"type":"array","items":{"$ref":"#/definitions/RebateCodeTransaction"}},"RemainingAmount":{"type":"number","format":"double"},"RebateCode":{"$ref":"#/definitions/RebateCode"},"RebateCodeSign":{"type":"string"},"RemainingUsage":{"type":"integer","format":"int32"},"CurrentNumberOfUsesPerCustomer":{"type":"integer","format":"int32","x-nullable":false},"Booking":{"$ref":"#/definitions/Booking"},"RebateCodeTypeId":{"type":"integer","format":"int32","x-nullable":false}},"description":"RebateCodeValueQueryResponse","type":"object"},"QueryResponse_RebateCodeTransactionQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/RebateCodeTransactionQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CRebateCodeTransactionQueryResponse\u003E","type":"object"},"RebateCodeTransactionResponse":{"title":"RebateCodeTransactionResponse","properties":{"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"},"RebateCodeTransactionItem":{"$ref":"#/definitions/RebateCodeTransactionQueryResponse"}},"description":"RebateCodeTransactionResponse","type":"object"},"RebateCodePriceResponse":{"title":"RebateCodePriceResponse","properties":{"RebateCodePrices":{"type":"array","items":{"$ref":"#/definitions/RebateCodePrice"}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"RebateCodePriceResponse","type":"object"},"RebateCodePrice":{"title":"RebateCodePrice","properties":{"PriceId":{"description":"Price Id","type":"integer","format":"int32"},"PriceText":{"type":"string"},"PriceBeforeRebate":{"type":"number","format":"double"},"Price":{"type":"number","format":"double"},"VAT":{"type":"number","format":"double"},"AppliedCodes":{"type":"array","items":{"$ref":"#/definitions/AppliedRebateCodesResponse"}}},"description":"RebateCodePrice","type":"object"},"AppliedRebateCodesResponse":{"title":"AppliedRebateCodesResponse","properties":{"RebateCodeSign":{"type":"string"},"RebateCodeValue":{"type":"integer","format":"int32","x-nullable":false},"RebateCodeType":{"$ref":"#/definitions/RebateCodeTypeResponse"},"RebateCodeId":{"type":"integer","format":"int32","x-nullable":false},"RebateAmount":{"type":"number","format":"double","x-nullable":false}},"description":"AppliedRebateCodesResponse","type":"object"},"QueryResponse_ReferenceQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/ReferenceQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CReferenceQueryResponse\u003E","type":"object"},"ReferenceQueryResponse":{"title":"ReferenceQueryResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"string","x-nullable":false},"OwnerId":{"type":"string","x-nullable":false},"ReferenceType":{"type":"string"},"ReferenceTypeId":{"type":"integer","format":"int32","x-nullable":false},"ExternalData":{"type":"string"},"Updated":{"type":"string","format":"date-time","x-nullable":false},"Created":{"type":"string","format":"date-time","x-nullable":false},"CreatedBy":{"type":"string"},"UpdatedBy":{"type":"string"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"ReferenceQueryResponse","type":"object"},"ExternalReferenceTypeQueryResponse":{"title":"ExternalReferenceTypeQueryResponse","properties":{"ReferenceTypeId":{"type":"integer","format":"int32","x-nullable":false},"ReferenceTypeName":{"type":"string"},"ReferenceTypeDescription":{"type":"string"}},"description":"ExternalReferenceTypeQueryResponse","type":"object"},"QueryResponse_PrintoutQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/PrintoutQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CPrintoutQueryResponse\u003E","type":"object"},"PrintoutQueryResponse":{"title":"PrintoutQueryResponse","required":["HeaderLeftCell","HeaderMiddleCell","HeaderRightCell","BodyCell","FooterLeftCell","FooterMiddleCell","FooterRightCell"],"properties":{"Id":{"description":"Report id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"Report Name","type":"string"},"HeaderLeftCell":{"description":"Report header left cell content","type":"string"},"HeaderMiddleCell":{"description":"Report header middle cell content","type":"string"},"HeaderRightCell":{"description":"Report header right cell content","type":"string"},"BodyCell":{"description":"Report body cell content","type":"string"},"FooterLeftCell":{"description":"Report footer left cell content","type":"string"},"FooterMiddleCell":{"description":"Report footer middle cell content","type":"string"},"FooterRightCell":{"description":"Report footer right cell content","type":"string"}},"description":"PrintoutQueryResponse","type":"object"},"QueryResponse_BookingReportFieldTranslationResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/BookingReportFieldTranslationResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CBookingReportFieldTranslationResponse\u003E","type":"object"},"BookingReportFieldTranslationResponse":{"title":"BookingReportFieldTranslationResponse","properties":{"Id":{"description":"The field translation id","type":"integer","format":"int32","x-nullable":false},"Code":{"description":"The field translation code.","type":"string"},"Name":{"description":"The field translation name.","type":"string"},"Description":{"description":"The field translation description.","type":"string"},"Group":{"description":"The field translation group.","type":"string"}},"description":"BookingReportFieldTranslationResponse","type":"object"},"QueryResponse_ResourceQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/ResourceQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CResourceQueryResponse\u003E","type":"object"},"ResourceQueryResponse":{"title":"ResourceQueryResponse","properties":{"Id":{"description":"The resource id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The resource name","type":"string"},"Description":{"description":"The resource description","type":"string"},"Active":{"description":"If resource is active or not","type":"boolean","x-nullable":false},"Color":{"description":"The resource color in scheduler in hexadecimal color code. Example: #00b0f0 for blue.","type":"string"},"Email":{"description":"The Email of the resource","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The Image URL of the resource"},"MobilePhone":{"description":"The Mobile phone number of the resource","type":"string"},"AccessGroup":{"description":"Used by example code locks to know what access group the resource is assigned to","type":"string"},"EmailNotification":{"description":"If the resource should receive Email notification when booked","type":"boolean","x-nullable":false},"SMSNotification":{"description":"If the resource should receive SMS notification when booked","type":"boolean","x-nullable":false},"SendEmailReminder":{"description":"If the resource should receive Email reminders on bookings","type":"boolean"},"SendSMSReminder":{"description":"If the resource should receive SMS reminders on bookings","type":"boolean"},"ResourceCategory":{"description":"The resource category. 1 = Object, 2 = Person, 3 = Room, 4 = Relay","type":"integer","format":"int32"},"RelayStartsBeforeMinutes":{"description":"If the resource category is Relay, this is the number of minutes before the next booking that the relay resource becomes available. Default is 0.","type":"integer","format":"int32"},"Exceptions":{"description":"The resource time exceptions","type":"array","items":{"$ref":"#/definitions/TimeException"}},"Bookings":{"description":"The resource bookings","type":"array","items":{"$ref":"#/definitions/BookedTime"}},"Created":{"description":"The date when the resource was created","type":"string","format":"date-time","x-nullable":false},"Updated":{"description":"The date when the resource was updated","type":"string","format":"date-time","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"ResourceQueryResponse","type":"object"},"TimeException":{"title":"TimeException","properties":{"Id":{"description":"Time exception id","type":"integer","format":"int32","x-nullable":false},"IsRecurring":{"description":"Indicates whether or not the time exception is recurring","type":"boolean","x-nullable":false},"IsBlock":{"description":"Indicates whether the time exception is blocking the time or not","type":"boolean","x-nullable":false},"ReasonText":{"description":"The reason of the time exception, example: Vacation, doctors appointment, ...","type":"string"},"ReasonTextPublic":{"description":"The public reason of the time exception, example: Vacation, doctors appointment, ...","type":"string"},"From":{"description":"Time exception start","type":"string","format":"date-time","x-nullable":false},"To":{"description":"Time exception end","type":"string","format":"date-time","x-nullable":false},"ResourceIds":{"description":"Resources that owns this exception","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}}},"description":"TimeException","type":"object"},"BookedTime":{"title":"BookedTime","properties":{"Id":{"description":"Booking id","type":"integer","format":"int32","x-nullable":false},"ServiceId":{"description":"The booked service","type":"integer","format":"int32","x-nullable":false},"From":{"description":"Booking start","type":"string","format":"date-time","x-nullable":false},"To":{"description":"Booking end","type":"string","format":"date-time","x-nullable":false},"BookedSpots":{"description":"Number of booked spots","type":"integer","format":"int32","x-nullable":false},"TotalSpots":{"description":"Number of total spots for the service","type":"integer","format":"int32","x-nullable":false},"PauseAfterInMinutes":{"description":"The pause after the booking","type":"integer","format":"int32","x-nullable":false},"StatusId":{"description":"The booking status","type":"integer","format":"int32","x-nullable":false},"Status":{"type":"string"},"Customer":{"$ref":"#/definitions/BookedCustomer","description":"The customer the booking belongs to"}},"description":"BookedTime","type":"object"},"QueryResponse_ResourceTimeExceptionQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/ResourceTimeExceptionQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CResourceTimeExceptionQueryResponse\u003E","type":"object"},"ResourceTimeExceptionQueryResponse":{"title":"ResourceTimeExceptionQueryResponse","properties":{"Id":{"description":"Time exception id","type":"integer","format":"int32","x-nullable":false},"CompanyId":{"description":"Time company id","type":"string","x-nullable":false},"Locked":{"description":"If it\u0027s locked for editing for the logged in administrator","type":"boolean","x-nullable":false},"ResourceIds":{"description":"Resources that owns this exception","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"Resources":{"description":"Resources that owns this exception","type":"array","items":{"$ref":"#/definitions/TimeExceptionReosurceDetails"}},"IsRecurring":{"description":"Indicates wheter or not the time exception is recurring","type":"boolean","x-nullable":false},"From":{"description":"Time exception starting timestamp","type":"string","format":"date-time","x-nullable":false},"To":{"description":"Time exception ending timestamp","type":"string","format":"date-time","x-nullable":false},"FromTime":{"description":"If recurring then this value indicates the time of day when the time exception begins","type":"string","x-nullable":false},"ToTime":{"description":"If recurring then this value indicates the time of day when the time exception ends","type":"string","x-nullable":false},"ReasonText":{"description":"The reason of the time exception, example: Vacation, doctors appointment, ...","type":"string"},"ReasonTextPublic":{"description":"The reason of the time exception that could be public to customers, example: Vacation, Closed, Sick leave, ...","type":"string"},"Color":{"description":"What hexadecimal color code the exception should have in the scheduler","type":"string"},"BlockTime":{"description":"If the time exception should block the time in the scheduler so it\u0027s not avaialable to book","type":"boolean","x-nullable":false},"Private":{"description":"If the ReasonText should only be visible to conncted resources. If false, all resources will be able to see it","type":"boolean","x-nullable":false},"DaysOfWeek":{"description":"If recurring, an array indicating which days of the week the exception recurs on where 1 = Monday .. 7 = Sunday. When recurring then the time portion of the Fields From and To indicates the time of day the recurrence occurs","type":"array","items":{"$ref":"#/definitions/DayOfWeekDto"}},"Created":{"description":"The datetime the exception was created","type":"string","format":"date-time","x-nullable":false},"Tags":{"description":"Tags attached to this time exception","type":"array","items":{"$ref":"#/definitions/TagResponse"}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"ResourceTimeExceptionQueryResponse","type":"object"},"TimeExceptionReosurceDetails":{"title":"TimeExceptionReosurceDetails","properties":{"Id":{"description":"Ids of the resources that owns this exception","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"Name of the resource","type":"string"},"Description":{"description":"Description of the resource","type":"string"},"Color":{"description":"Color of the resource","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"Image of the resource"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"TimeExceptionReosurceDetails","type":"object"},"DayOfWeekDto":{"title":"DayOfWeekDto","properties":{"DayOfWeekId":{"type":"integer","format":"int32","x-nullable":false},"DotNetDayOfWeekId":{"type":"integer","format":"int32","x-nullable":false},"DayOfWeek":{"type":"string"}},"description":"DayOfWeekDto","type":"object"},"CollidingBookingQueryResponse":{"title":"CollidingBookingQueryResponse","properties":{"ResourceIds":{"description":"Resource id of the resource that owns this exception","type":"array","items":{"type":"integer","format":"int32","x-nullable":false}},"Bookings":{"description":"A list of bookings that would collide with the time exception","type":"array","items":{"$ref":"#/definitions/BookingIntervalResponse"}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"CollidingBookingQueryResponse","type":"object"},"BookingIntervalResponse":{"title":"BookingIntervalResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"CompanyId":{"type":"string","x-nullable":false},"From":{"type":"string","format":"date-time","x-nullable":false},"To":{"type":"string","format":"date-time","x-nullable":false},"Status":{"type":"string"},"StatusId":{"type":"integer","format":"int32","x-nullable":false},"StatusName":{"type":"string"},"Customer":{"$ref":"#/definitions/BookedCustomer"},"Service":{"$ref":"#/definitions/ServiceInfoResponse"},"CreatedDate":{"type":"string","format":"date-time","x-nullable":false}},"description":"BookingIntervalResponse","type":"object"},"QueryResponse_ResourceTypeQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/ResourceTypeQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CResourceTypeQueryResponse\u003E","type":"object"},"ResourceTypeQueryResponse":{"title":"ResourceTypeQueryResponse","properties":{"Id":{"description":"The resourcetype id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The resourcetype name","type":"string"},"Description":{"description":"The resourcetype description","type":"string"},"Resources":{"description":"The resources in the resourcetype. Only shows active resources if not admin.","type":"array","items":{"$ref":"#/definitions/ResourceTypeResource"}},"Active":{"description":"If resourcetype is active or not","type":"boolean","x-nullable":false},"Created":{"description":"The date when the resource was created","type":"string","format":"date-time","x-nullable":false},"Updated":{"description":"The date when the resource was updated","type":"string","format":"date-time","x-nullable":false}},"description":"ResourceTypeQueryResponse","type":"object"},"ResourceTypeResource":{"title":"ResourceTypeResource","properties":{"Id":{"description":"The resource id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The resource name","type":"string"},"Active":{"description":"The resource status","type":"boolean","x-nullable":false},"Description":{"description":"The resource description","type":"string"},"Email":{"description":"The resource email","type":"string"},"Phone":{"description":"The resource phone","type":"string"},"Color":{"description":"The resource color","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The resource image"},"Priority":{"description":"The priority of the resource","type":"integer","format":"int32","x-nullable":false},"EmailNotification":{"description":"If the resource wants to receive Email notifications","type":"boolean","x-nullable":false},"SMSNotification":{"description":"If the resource wants to receive SMS notifications","type":"boolean","x-nullable":false},"EmailReminder":{"description":"If the resource wants to receive Email reminders","type":"boolean","x-nullable":false},"SMSReminder":{"description":"If the resource wants to receive SMS reminders","type":"boolean","x-nullable":false}},"description":"ResourceTypeResource","type":"object"},"QueryResponse_RecurringScheduleQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/RecurringScheduleQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CRecurringScheduleQueryResponse\u003E","type":"object"},"RecurringScheduleQueryResponse":{"title":"RecurringScheduleQueryResponse","required":["TimeInterval","ValidFrom","ValidTo","StartTime","EndTime","NumberOfScheduleDays","IsResourceSpecific","UpdatedDate","CreatedDate","EnableBookingUntilClosingTime"],"properties":{"Id":{"description":"The schedule id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"Name of the schedule","type":"string"},"Description":{"description":"Description of the schedule","type":"string"},"Active":{"description":"If the schedule is active or not","type":"boolean","x-nullable":false},"TimeInterval":{"description":"Time interval for available times Here you set the interval at which times should appear. For example, if you select the range 15minutes, and your service has an duration of 1 hour and opening hours are 9AM to 6PM you will see the following suggested times: 09AM-10AM 09:15AM-10:15AM, 09:30AM-10:30AM ,  ..... 04:45PM-05:45, 05:00PM-06:00PM","type":"integer","format":"int32","x-nullable":false},"ValidFrom":{"description":"The timestamp to which the schedule is valid from","type":"string","format":"date-time","x-nullable":false},"ValidTo":{"description":"The timestamp to which the schedule is valid to","type":"string","format":"date-time","x-nullable":false},"StartTime":{"description":"The time for the schedule opening hours (starttime)","type":"string","x-nullable":false},"EndTime":{"description":"The time for the schedule opening hours (endtime)","type":"string","x-nullable":false},"NumberOfScheduleDays":{"description":"The number of days the schedule is valid from todays date","type":"integer","format":"int32","x-nullable":false},"IsResourceSpecific":{"description":"If the schedule is only connected to some specific resources. Note: You must have IncludeResources property to see this.","type":"boolean"},"UpdatedDate":{"description":"The timestamp when the schedule was updated","type":"string","format":"date-time","x-nullable":false},"CreatedDate":{"description":"The timestamp when the schedule was created","type":"string","format":"date-time","x-nullable":false},"EnableBookingUntilClosingTime":{"description":"Allow bookings end time exceeds the opening hours Here you can choose whether it should be possible to make a reservation exceeding the opening hours. This should be ticked when a service duration is longer than 24 hours (possible to book over midnight).","type":"boolean","x-nullable":false},"DaysOfWeek":{"description":"If recurring, an array indicating which days of the week the exception recures on where 1 = Monday .. 7 = Sunday. When recurring then the time portion of the Fields From and To indicates the time of day the recurrence occurs","type":"array","items":{"$ref":"#/definitions/DayOfWeekDto"}},"Resources":{"description":"The resources that is connected to the schedule","type":"array","items":{"$ref":"#/definitions/ScheduleResources"}},"Services":{"description":"The services that is connected to the schedule","type":"array","items":{"$ref":"#/definitions/ScheduleServices"}},"Exceptions":{"description":"The exceptions that is added to the schedule","type":"array","items":{"$ref":"#/definitions/RecurringScheduleExceptionResponse"}},"ScheduleDates":{"description":"Schedule dates, used when the schedule is not a rolling schedule using days of week","type":"array","items":{"$ref":"#/definitions/RecurringScheduleDateResponse"}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"RecurringScheduleQueryResponse","type":"object"},"ScheduleResources":{"title":"ScheduleResources","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"description":"Name of the resource","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The image url of the resource"}},"description":"ScheduleResources","type":"object"},"ScheduleServices":{"title":"ScheduleServices","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"description":"Name of the service","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The image url of the service"}},"description":"ScheduleServices","type":"object"},"RecurringScheduleExceptionResponse":{"title":"RecurringScheduleExceptionResponse","properties":{"StartTime":{"description":"Start time of the schedule exception.","type":"string","x-nullable":false},"EndTime":{"description":"End time of the schedule exception.","type":"string","x-nullable":false}},"description":"RecurringScheduleExceptionResponse","type":"object"},"RecurringScheduleDateResponse":{"title":"RecurringScheduleDateResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Date":{"type":"string","format":"date-time","x-nullable":false},"StartTime":{"type":"string","x-nullable":false},"EndTime":{"type":"string","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"RecurringScheduleDateResponse","type":"object"},"QueryResponse_DateScheduleQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/DateScheduleQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CDateScheduleQueryResponse\u003E","type":"object"},"DateScheduleQueryResponse":{"title":"DateScheduleQueryResponse","required":["IsResourceSpecific","UpdatedDate","CreatedDate"],"properties":{"Id":{"description":"The schedule id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"Name of the schedule","type":"string"},"Description":{"description":"Description of the schedule","type":"string"},"Active":{"description":"If the schedule is active or not","type":"boolean","x-nullable":false},"IsResourceSpecific":{"description":"If the schedule is only connected to some specific resources. Note: You must have IncludeResources property to see this.","type":"boolean"},"ScheduleDates":{"description":"Schedule dates","type":"array","items":{"$ref":"#/definitions/DateScheduleDateResponse"}},"Resources":{"description":"The resources that is connected to the schedule","type":"array","items":{"$ref":"#/definitions/ScheduleResources"}},"Services":{"description":"The services that is connected to the schedule","type":"array","items":{"$ref":"#/definitions/ScheduleServices"}},"UpdatedDate":{"description":"The timestamp when the schedule was updated","type":"string","format":"date-time","x-nullable":false},"CreatedDate":{"description":"The timestamp when the schedule was created","type":"string","format":"date-time","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"DateScheduleQueryResponse","type":"object"},"DateScheduleDateResponse":{"title":"DateScheduleDateResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"From":{"type":"string","format":"date-time","x-nullable":false},"To":{"type":"string","format":"date-time","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"DateScheduleDateResponse","type":"object"},"ScheduleIntervalsQueryResponse":{"title":"ScheduleIntervalsQueryResponse","properties":{"From":{"type":"string","format":"date-time","x-nullable":false},"To":{"type":"string","format":"date-time","x-nullable":false},"Duration":{"type":"string","x-nullable":false}},"description":"ScheduleIntervalsQueryResponse","type":"object"},"AvailableTimesResponse":{"title":"AvailableTimesResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"ServiceId":{"type":"integer","format":"int32","x-nullable":false},"TimesFreeTextSingle":{"type":"string"},"TimesFreeTextMultiple":{"type":"string"},"Times":{"type":"array","items":{"$ref":"#/definitions/AvailableTimesSum"}}},"description":"AvailableTimesResponse","type":"object"},"AvailableTimesSum":{"title":"AvailableTimesSum","properties":{"From":{"type":"string","format":"date-time","x-nullable":false},"To":{"type":"string","format":"date-time","x-nullable":false},"Free":{"type":"integer","format":"int32","x-nullable":false},"FreeSpots":{"type":"integer","format":"int32","x-nullable":false},"ExceptionTexts":{"type":"array","items":{"$ref":"#/definitions/ExceptionText"}}},"description":"AvailableTimesSum","type":"object"},"ExceptionText":{"title":"ExceptionText","properties":{"Reason":{"type":"string"},"ReasonPublic":{"type":"string"}},"description":"ExceptionText","type":"object"},"QueryResponse_ServicePriceResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/ServicePriceResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CServicePriceResponse\u003E","type":"object"},"ServicePriceResponse":{"title":"ServicePriceResponse","properties":{"CompanyId":{"description":"The company id","type":"string","x-nullable":false},"Id":{"description":"The price id","type":"integer","format":"int32","x-nullable":false},"ServiceId":{"description":"The service id","type":"integer","format":"int32","x-nullable":false},"Price":{"description":"The price","type":"number","format":"double","x-nullable":false},"CalculationTypeId":{"description":"The price calculation type id, 1 = Normal, price is for the service total duration, 2 = Price is per minute, 3 = Price is per hour, 4= Price is per day","type":"integer","format":"int32","x-nullable":false},"CurrencyId":{"description":"The price currency","type":"string"},"PriceSign":{"description":"The price sign","type":"string"},"VAT":{"description":"The price VAT in percent","type":"number","format":"double","x-nullable":false},"Category":{"description":"The price category if price has a category","type":"string"},"PriceText":{"description":"The price text to display","type":"string"},"From":{"description":"The valid from date for the price.","type":"string","format":"date-time","x-nullable":false},"To":{"description":"The valid to date for the price.","type":"string","format":"date-time","x-nullable":false},"DaysOfWeek":{"description":"If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"array","items":{"$ref":"#/definitions/DayOfWeekDto"}},"FromTime":{"description":"If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.","type":"string"},"ToTime":{"description":"If the price is only valid for a specific time span during a time of day enter the FromTime and ToTime parameters.","type":"string"},"Service":{"$ref":"#/definitions/ServiceInfoResponse"},"IsTimeSpecific":{"description":"If the price is only valid for a specific time span","type":"boolean","x-nullable":false},"IsDaysOfWeekSpecific":{"description":"If the price is only valid for specific days of week","type":"boolean","x-nullable":false}},"description":"ServicePriceResponse","type":"object"},"ScheduleTypeResponse":{"title":"ScheduleTypeResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"}},"description":"ScheduleTypeResponse","type":"object"},"DurationTypeResponse":{"title":"DurationTypeResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"}},"description":"DurationTypeResponse","type":"object"},"ServiceGroupsQueryResponse":{"title":"ServiceGroupsQueryResponse","properties":{"Name":{"type":"string"}},"description":"ServiceGroupsQueryResponse","type":"object"},"ServiceQueryResponse":{"title":"ServiceQueryResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri"},"TotalSpots":{"type":"integer","format":"int32","x-nullable":false},"LockSpotsToBooking":{"description":"If this setting is turned on the remaining spots (if Totalspots \u003E 1) is locked from be booked by another customer.","type":"boolean"},"MinNumberOfSpotsPerBooking":{"type":"integer","format":"int32","x-nullable":false},"MaxNumberOfSpotsPerBooking":{"type":"integer","format":"int32","x-nullable":false},"MinNumberOfResourcesToBook":{"type":"integer","format":"int32","x-nullable":false},"MaxNumberOfResourcesToBook":{"type":"integer","format":"int32","x-nullable":false},"UnbookBeforeDays":{"type":"integer","format":"int32","x-nullable":false},"UnbookBeforeHours":{"type":"integer","format":"int32","x-nullable":false},"UnbookBeforeMinutes":{"type":"integer","format":"int32","x-nullable":false},"ScheduleType":{"description":"What type of schedule is connected to the service.  RecurringSchedule = 1, DateSchedule = 2","type":"string"},"ScheduleTypeId":{"description":"What type of schedule is connected to the service.  RecurringSchedule = 1, DateSchedule = 2","type":"integer","format":"int32","x-nullable":false},"BookBeforeDays":{"type":"integer","format":"int32","x-nullable":false},"BookBeforeHours":{"type":"integer","format":"int32","x-nullable":false},"BookBeforeMinutes":{"type":"integer","format":"int32","x-nullable":false},"Group":{"type":"string"},"EnableBookingQueue":{"type":"boolean","x-nullable":false},"EnableCodeLockSync":{"type":"boolean","x-nullable":false},"EnableGoogleMeetBooking":{"type":"boolean","x-nullable":false},"EnableCustomerManualPayment":{"type":"boolean","x-nullable":false},"SortOrder":{"type":"integer","format":"int32","x-nullable":false},"Active":{"type":"boolean","x-nullable":false},"IsGroupBooking":{"type":"boolean","x-nullable":false},"GroupBooking":{"$ref":"#/definitions/GroupBookingSettings"},"MultipleResource":{"$ref":"#/definitions/MultipleResourceSettings"},"IsPaymentEnabled":{"type":"boolean","x-nullable":false},"MaxPaymentTime":{"description":"Maximum numbers of minutes the booking payment must be completed before automatically unbooked","type":"integer","format":"int32","x-nullable":false},"BookingStatusId":{"description":"If the booking should be either 1 = Booked) or 3 = Reserved. Default is 1 = Booked.","type":"integer","format":"int32","x-nullable":false},"OnlyVisibleByAdmin":{"type":"boolean","x-nullable":false},"LengthInMinutes":{"type":"integer","format":"int32"},"DurationTypeId":{"type":"integer","format":"int32","x-nullable":false},"Duration":{"type":"integer","format":"int32"},"MinDuration":{"type":"integer","format":"int32"},"MaxDuration":{"type":"integer","format":"int32"},"DurationInterval":{"type":"integer","format":"int32"},"PauseAfterBooking":{"type":"integer","format":"int32","x-nullable":false},"CustomFields":{"type":"array","items":{"$ref":"#/definitions/CustomFieldConfigData"}},"CustomFieldValues":{"type":"array","items":{"$ref":"#/definitions/CustomFieldDataResponse"}},"BookingCustomFields":{"type":"array","items":{"$ref":"#/definitions/CustomFieldConfigData"}},"CustomerCustomFields":{"type":"array","items":{"$ref":"#/definitions/CustomFieldConfigData"}},"BookingStatusOptions":{"description":"The booking status options to choose from","type":"array","items":{"$ref":"#/definitions/BookingStatusOptionsResponse"}},"Prices":{"type":"array","items":{"$ref":"#/definitions/ServicePriceResponse"}},"Schedules":{"$ref":"#/definitions/ServiceSchedules"},"RatingSummary":{"$ref":"#/definitions/CompanyRatingSummary"},"Reviews":{"type":"array","items":{"$ref":"#/definitions/RatingReviewResponse"}},"ResourceTypes":{"type":"array","items":{"$ref":"#/definitions/ServiceResourceTypeResponse"}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"},"PriceViewTypeId":{"type":"integer","format":"int32"}},"description":"ServiceQueryResponse","type":"object"},"BookingStatusOptionsResponse":{"title":"BookingStatusOptionsResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"}},"description":"BookingStatusOptionsResponse","type":"object"},"ServiceSchedules":{"title":"ServiceSchedules","properties":{"ScheduleType":{"type":"string"},"RecurringSchedules":{"type":"array","items":{"$ref":"#/definitions/ISchedule"}},"DateSchedules":{"type":"array","items":{"$ref":"#/definitions/ISchedule"}}},"description":"ServiceSchedules","type":"object"},"ServiceResourceTypeResponse":{"title":"ServiceResourceTypeResponse","properties":{"Id":{"description":"The resourcetype id","type":"integer","format":"int32","x-nullable":false},"SelectableByUser":{"description":"The resourcetype is selectable by customer","type":"boolean","x-nullable":false},"Name":{"description":"The resourcetype name","type":"string"},"Description":{"description":"The resourcetype description","type":"string"},"Resources":{"description":"The resources in the resourcetype. Only shows active resources if not admin.","type":"array","items":{"$ref":"#/definitions/ServiceResourceTypeResource"}}},"description":"ServiceResourceTypeResponse","type":"object"},"ServiceResourceTypeResource":{"title":"ServiceResourceTypeResource","properties":{"Id":{"description":"The resource id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The resource name","type":"string"},"Description":{"description":"The resource description","type":"string"},"Email":{"description":"The resource email","type":"string"},"Phone":{"description":"The resource phone","type":"string"},"Color":{"description":"The resource color","type":"string"},"ImageUrl":{"$ref":"#/definitions/Uri","description":"The resource image"},"Priority":{"description":"The priority of the resource","type":"integer","format":"int32","x-nullable":false},"EmailNotification":{"description":"If the resource want to receive email notifications","type":"boolean","x-nullable":false},"SMSNotification":{"description":"If the resource want to receive sms notifications","type":"boolean","x-nullable":false},"EmailReminder":{"description":"If the resource want to receive email reminders","type":"boolean","x-nullable":false},"SMSReminder":{"description":"If the resource want to receive sms reminders","type":"boolean","x-nullable":false}},"description":"ServiceResourceTypeResource","type":"object"},"QueryResponse_GroupedServiceQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/GroupedServiceQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CGroupedServiceQueryResponse\u003E","type":"object"},"GroupedServiceQueryResponse":{"title":"GroupedServiceQueryResponse","properties":{"Group":{"type":"string"},"SortOrder":{"type":"integer","format":"int32","x-nullable":false},"Items":{"type":"array","items":{"$ref":"#/definitions/ServiceQueryResponse"}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"GroupedServiceQueryResponse","type":"object"},"QueryResponse_PriceViewTypeQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/PriceViewTypeQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CPriceViewTypeQueryResponse\u003E","type":"object"},"PriceViewTypeQueryResponse":{"title":"PriceViewTypeQueryResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"}},"description":"PriceViewTypeQueryResponse","type":"object"},"PriceCalculationTypeResponse":{"title":"PriceCalculationTypeResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"}},"description":"PriceCalculationTypeResponse","type":"object"},"TotalPriceInformationResponse":{"title":"TotalPriceInformationResponse","properties":{"PriceSign":{"type":"string"},"CurrencyId":{"type":"string"},"TotalPrice":{"type":"number","format":"double","x-nullable":false},"TotalVatAmount":{"type":"number","format":"double","x-nullable":false},"TotalPriceBeforeRebate":{"type":"number","format":"double","x-nullable":false},"PriceDifference":{"type":"number","format":"double","x-nullable":false},"AppliedCodes":{"type":"array","items":{"$ref":"#/definitions/AppliedRebateCodesResponse"}},"PriceDetails":{"type":"array","items":{"$ref":"#/definitions/TotalPricePriceDetail"}}},"description":"TotalPriceInformationResponse","type":"object"},"TotalPricePriceDetail":{"title":"TotalPricePriceDetail","properties":{"Quantity":{"type":"integer","format":"int32","x-nullable":false},"Price":{"type":"number","format":"double","x-nullable":false},"VatAmount":{"type":"number","format":"double","x-nullable":false},"Description":{"type":"string"}},"description":"TotalPricePriceDetail","type":"object"},"AvailableTimesGroupedDatesResponse":{"title":"AvailableTimesGroupedDatesResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"ServiceId":{"type":"integer","format":"int32","x-nullable":false},"TimesFreeTextSingle":{"type":"string"},"TimesFreeTextMultiple":{"type":"string"},"Items":{"type":"array","items":{"$ref":"#/definitions/AvailableTimesGroupedDates"}}},"description":"AvailableTimesGroupedDatesResponse","type":"object"},"AvailableTimesGroupedDates":{"title":"AvailableTimesGroupedDates","properties":{"Group":{"type":"string","format":"date-time","x-nullable":false},"Times":{"type":"array","items":{"$ref":"#/definitions/AvailableTimesSum"}}},"description":"AvailableTimesGroupedDates","type":"object"},"QueryResponse_ServiceQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/ServiceQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CServiceQueryResponse\u003E","type":"object"},"QueryResponse_SettingsChangeLogQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/SettingsChangeLogQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CSettingsChangeLogQueryResponse\u003E","type":"object"},"SettingsChangeLogQueryResponse":{"title":"SettingsChangeLogQueryResponse","properties":{"Id":{"description":"The change log entry id","type":"integer","format":"int32","x-nullable":false},"CompanyId":{"description":"The company id","type":"string","x-nullable":false},"SettingsType":{"description":"The settings type that was changed, e.g. BookingSettings","type":"string"},"PropertyName":{"description":"The property name that was changed","type":"string"},"OldValue":{"description":"The value before the change","type":"string"},"NewValue":{"description":"The value after the change","type":"string"},"ModifiedBy":{"description":"The user who made the change","type":"string"},"CreatedDate":{"description":"When the change was made","type":"string","format":"date-time","x-nullable":false}},"description":"SettingsChangeLogQueryResponse","type":"object"},"SettingsErrorCheckResponse":{"title":"SettingsErrorCheckResponse","properties":{"ErrorMessage":{"description":"The errormessage","type":"string"}},"description":"SettingsErrorCheckResponse","type":"object"},"SystemSettingsResponse":{"title":"SystemSettingsResponse","properties":{"LanguageOptions":{"description":"The country options to choose from","type":"array","items":{"$ref":"#/definitions/LanguageResponse"}},"Active":{"description":"If the booking is active or not","type":"bool","x-nullable":false},"InactiveMessage":{"description":"If the booking is not active, what message to show to the customers","type":"string"},"Searchable":{"description":"If the company should be visible in search results on homepage","type":"bool","x-nullable":false},"GATrackingId":{"description":"If you have a Google Analytics account and want to track your customers behaviors.","type":"string"},"GoogleAdsConversionId":{"description":"If you have a Google Ads Conversion Id account and want to track your customers behaviors.","type":"string"},"LinkedinTagId":{"description":"If you have a LinkedIn account and want to track your customers behaviors.","type":"string"},"GoogleAdsConversionLabel":{"description":"If you have a Google Ads Conversion Label and want to track your customers behaviors.","type":"string"},"GTMTrackingId":{"description":"If you have a Google Tag Manager account and want to track your customers behaviors.","type":"string"},"FacebookPixelId":{"description":"If you have a Facebook account and want to track your customers behaviors.","type":"string"},"ShowOnMarketplace":{"description":"If the company should be visible on the marketplace","type":"bool","x-nullable":false},"MultiLanguage":{"description":"If you want your customers to be able to change language on your homepage","type":"bool","x-nullable":false},"EnableAPITranslation":{"description":"If you want your own written text on your homepage to be translated using Google Translate when a user changes language","type":"bool","x-nullable":false},"DefaultLanguage":{"description":"What is the standard language your homepage information is written in. Select from the different countries, i.e. SE,NO,EN","type":"string"},"SendCustomerInformationToExternalProviders":{"description":"If you want to allow to send customer information in the tracking events to the external providers. Note you as a company are responsible for informing your customers and handling the data in terms of GDPR. ","type":"boolean","x-nullable":false}},"description":"SystemSettingsResponse","type":"object"},"SettingsChangeLogTypeResponse":{"title":"SettingsChangeLogTypeResponse","properties":{"SettingsType":{"description":"The settings type name","type":"string"}},"description":"SettingsChangeLogTypeResponse","type":"object"},"List_SettingsChangeLogTypeResponse_":{"title":"List\u003CSettingsChangeLogTypeResponse\u003E","type":"array","items":{"$ref":"#/definitions/SettingsChangeLogTypeResponse"}},"BookingSettingResponse":{"title":"BookingSettingResponse","properties":{"CompanyId":{"type":"string","x-nullable":false},"BookingStatusId":{"description":"","type":"int","format":"int32","x-nullable":false},"ScheduleViewId":{"description":"","type":"int","format":"int32","x-nullable":false},"BookingTemplateId":{"description":"","type":"int","format":"int32","x-nullable":false},"CalendarTypeId":{"description":"","type":"int","format":"int32","x-nullable":false},"AllowBookingOnUnbookedTimes":{"description":"","type":"boolean","x-nullable":false},"SendEmailReminder":{"description":"","type":"boolean","x-nullable":false},"SendSmsReminder":{"description":"","type":"boolean","x-nullable":false},"SendEmailConfirmation":{"description":"","type":"boolean","x-nullable":false},"SendSmsConfirmation":{"description":"","type":"boolean","x-nullable":false},"SendPushNotification":{"description":"If the customer should receive Push notification when booked","type":"boolean","x-nullable":false},"SendPushNotificationReminder":{"description":"If the customer should receive Push notification reminders on bookings","type":"boolean","x-nullable":false},"PushNotificationReminderTime":{"description":"How many minutes before booking starts the customer should receive the notification","type":"int","format":"int32","x-nullable":false},"MessageText":{"description":"Message text field that could be used inside message templates using [MessageText].","type":"string"},"EmailReminderTime":{"description":"","type":"int","format":"int32","x-nullable":false},"SmsReminderTime":{"description":"","type":"int","format":"int32","x-nullable":false},"MaxActiveBookings":{"description":"","type":"int","format":"int32","x-nullable":false},"SendNotifications":{"description":"","type":"boolean","x-nullable":false},"SendNotificationsEmail":{"description":"","type":"string"},"EnableMobileApp":{"description":"","type":"boolean","x-nullable":false},"ScheduleStartTime":{"description":"","type":"string"},"ScheduleEndTime":{"description":"","type":"boolean"},"ScheduleGroupResources":{"description":"The admin scheduler if each resources should be shown in a separate group","type":"boolean","x-nullable":false},"SchedulerDisableHorizontalScrolling":{"description":"The admin scheduler if the horizontal scrolling should be turned off","type":"boolean","x-nullable":false},"ReceiptTemplate":{"description":"","type":"string"},"ScheduleTimeSlotMinutes":{"description":"","type":"int","format":"int32","x-nullable":false},"ShowFreeTimesLeft":{"description":"","type":"boolean","x-nullable":false},"FreeSpotTextsId":{"description":"","type":"int","format":"int32","x-nullable":false},"EnableICalGroupBookings":{"description":"","type":"boolean","x-nullable":false},"AgreementTemplate":{"description":"Booking agreement text. All html needs to entered using markup. Read about markup here https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet. Use this editor to create markup https://stackedit.io/app#","type":"string"},"ScheduleShowTimeExeptions":{"description":"","type":"boolean","x-nullable":false},"EnableBookingsOnSameTime":{"description":"","type":"boolean","x-nullable":false},"ShowWeekNumberSettingId":{"description":"","type":"int","format":"int32","x-nullable":false},"EnableShowBookedTimes":{"description":"","type":"boolean","x-nullable":false},"BookSpotUserResponseMinutes":{"description":"","type":"","format":"int32"},"IsBookSpotDirectly":{"description":"","type":"","x-nullable":false},"BookSpotDirectlyTimeLeftMinutes":{"description":"","type":"","format":"int32","x-nullable":false},"SendEmailNotificationQueue":{"description":"","type":""},"SendSMSNotificationQueue":{"description":"","type":""},"EnableSendFollowUpMessage":{"description":"","type":"boolean","x-nullable":false},"FollowUpMessageTime":{"description":"When follow up message should be sent in hours after the booking.","type":"integer","format":"int32","x-nullable":false},"BookOnlyOnExistingCustomers":{"description":"If it\u0027s only allowed for existing customers to book","type":"boolean","x-nullable":false},"AutoGenerateUniquePinCode":{"description":"If the system should auto generate a unique pin code for customers","type":"boolean","x-nullable":false},"RequireCustomerPinCode":{"description":"If the customer is required to enter a pin code to create a booking","type":"boolean","x-nullable":false},"AutoCreateUserProfile":{"description":"If a user profile should be created when customer is booking time. With the property customer can login.","type":"boolean","x-nullable":false},"ScheduleViewOptions":{"description":"The available schedule view options to choose from","type":"array","items":{"$ref":"#/definitions/ScheduleViewResponse"}},"WeekNumberOptions":{"description":"The available week number options to choose from","type":"array","items":{"$ref":"#/definitions/WeekNumberSettingResponse"}},"BookingTemplateOptions":{"description":"The booking template options to choose from","type":"array","items":{"$ref":"#/definitions/BookingTemplateResponse"}},"CalendarTypeOptions":{"description":"The calendar type options to choose from","type":"array","items":{"$ref":"#/definitions/CalendarTypeResponse"}},"BookingStatusOptions":{"description":"The booking status options to choose from","type":"array","items":{"$ref":"#/definitions/BookingStatusOptions"}},"FreeSpotTextOptions":{"description":"The free spot text options to choose from","type":"array","items":{"$ref":"#/definitions/FreeSpotTextsResponse"}},"WeightedPrices":{"description":"If you have different prices over different times per day and want it to calculate the weighted price for the booked time.","type":"boolean","x-nullable":false},"ShowMultiDayAsTime":{"description":"","type":"boolean","x-nullable":false},"ShowMultipleResourcesAsOne":{"description":"","type":"boolean","x-nullable":false},"BookingPinCodeRestriction":{"description":"If booking should be restricted by a pin code","type":"string"},"CustomerInvoiceAdressRequired":{"description":"If checked customer invoice will be required when creating booking","type":"boolean","x-nullable":false},"ShowPersonalIdentityNumber":{"description":"Show Personal Identity Number in booking form","type":"boolean","x-nullable":false},"PersonalIdentityNumberRequired":{"description":"Personal Identity Number is required when creating booking","type":"boolean","x-nullable":false}},"description":"BookingSettingResponse","type":"object"},"ScheduleViewResponse":{"title":"ScheduleViewResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"}},"description":"ScheduleViewResponse","type":"object"},"WeekNumberSettingResponse":{"title":"WeekNumberSettingResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"}},"description":"WeekNumberSettingResponse","type":"object"},"BookingTemplateResponse":{"title":"BookingTemplateResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"},"UsedByApplication":{"type":"string"}},"description":"BookingTemplateResponse","type":"object"},"CalendarTypeResponse":{"title":"CalendarTypeResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"Description":{"type":"string"},"Active":{"type":"boolean","x-nullable":false}},"description":"CalendarTypeResponse","type":"object"},"FreeSpotTextsResponse":{"title":"FreeSpotTextsResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"TextSingular":{"type":"string"},"TextPlural":{"type":"string"}},"description":"FreeSpotTextsResponse","type":"object"},"StatisticQueryResponse":{"title":"StatisticQueryResponse","properties":{"NumberOfOccuringBookings":{"type":"integer","format":"int32","x-nullable":false},"NumberOfCanceledBookings":{"type":"integer","format":"int32","x-nullable":false},"NumberOfCreatedBookings":{"type":"integer","format":"int32","x-nullable":false},"NumberOfCreatedCustomers":{"type":"integer","format":"int32","x-nullable":false},"OccuringBookingsByDay":{"type":"array","items":{"$ref":"#/definitions/BookedByDay"}},"CanceledBookingsByDay":{"type":"array","items":{"$ref":"#/definitions/BookedByDay"}},"CreatedBookingsByDay":{"type":"array","items":{"$ref":"#/definitions/BookedByDay"}},"CreatedCustomersByDay":{"type":"array","items":{"$ref":"#/definitions/BookedByDay"}},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"StatisticQueryResponse","type":"object"},"BookedByDay":{"title":"BookedByDay","properties":{"Date":{"type":"string","format":"date-time","x-nullable":false},"Value":{"type":"integer","format":"int32","x-nullable":false}},"description":"BookedByDay","type":"object"},"QueryResponse_SupportCaseQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/SupportCaseQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CSupportCaseQueryResponse\u003E","type":"object"},"SupportCaseQueryResponse":{"title":"SupportCaseQueryResponse","properties":{"Id":{"description":"The support case id","type":"integer","format":"int32","x-nullable":false},"CompanyUserId":{"description":"The company user id","type":"string","x-nullable":false},"Title":{"description":"The case title.","type":"string"},"Description":{"description":"The case description.","type":"string"},"CaseStatusId":{"description":"The case status id.","type":"integer","format":"int32","x-nullable":false},"CaseTypeId":{"description":"If the case type id.","type":"integer","format":"int32","x-nullable":false},"CaseAreaId":{"description":"If the case area id.","type":"integer","format":"int32","x-nullable":false},"CreatedBy":{"description":"The case created by.","type":"string"},"UpdatedBy":{"description":"The case updated by.","type":"string"},"SolvedBy":{"description":"The case solved by.","type":"string"},"Updated":{"description":"If case updated date.","type":"string","format":"date-time","x-nullable":false},"Created":{"description":"If case created date.","type":"string","format":"date-time","x-nullable":false},"CaseOwner":{"description":"Who owns the support case.","type":"string"},"CaseStatus":{"$ref":"#/definitions/SupportCaseStatusResponse","description":"The case status information."},"CaseType":{"$ref":"#/definitions/SupportCaseTypeResponse","description":"The case type information."},"CaseArea":{"$ref":"#/definitions/SupportCaseAreaResponse","description":"The case area information."},"Comments":{"description":"The case comments.","type":"array","items":{"$ref":"#/definitions/SupportCaseCommentsResponse"}},"Attachments":{"description":"The case attachments.","type":"array","items":{"$ref":"#/definitions/SupportCaseAttachmentResponse"}},"CaseStatusOptions":{"description":"The case status options to select from.","type":"array","items":{"$ref":"#/definitions/SupportCaseStatusResponse"}},"CaseTypeOptions":{"description":"The case type  options to select from.","type":"array","items":{"$ref":"#/definitions/SupportCaseTypeResponse"}},"CaseAreaOptions":{"description":"The case area  options to select from.","type":"array","items":{"$ref":"#/definitions/SupportCaseAreaResponse"}}},"description":"SupportCaseQueryResponse","type":"object"},"SupportCaseStatusResponse":{"title":"SupportCaseStatusResponse","properties":{"Id":{"description":"The status id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The status name","type":"string"},"Description":{"description":"The status description","type":"string"},"Icon":{"description":"The status icon","type":"string"},"Color":{"description":"The status color","type":"string"}},"description":"SupportCaseStatusResponse","type":"object"},"SupportCaseTypeResponse":{"title":"SupportCaseTypeResponse","properties":{"Id":{"description":"The type id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The type name","type":"string"},"Description":{"description":"The type description","type":"string"}},"description":"SupportCaseTypeResponse","type":"object"},"SupportCaseAreaResponse":{"title":"SupportCaseAreaResponse","properties":{"Id":{"description":"The area id","type":"integer","format":"int32","x-nullable":false},"Name":{"description":"The area name","type":"string"},"Description":{"description":"The area description","type":"string"}},"description":"SupportCaseAreaResponse","type":"object"},"SupportCaseCommentsResponse":{"title":"SupportCaseCommentsResponse","properties":{"SupportCaseId":{"description":"The case id","type":"integer","format":"int32","x-nullable":false},"Id":{"description":"The comments id","type":"integer","format":"int32","x-nullable":false},"Comment":{"description":"The case comment","type":"string"},"CreatedBy":{"description":"The case comment created by","type":"string"},"Created":{"description":"The case comment created date","type":"string","format":"date-time","x-nullable":false}},"description":"SupportCaseCommentsResponse","type":"object"},"SupportCaseAttachmentResponse":{"title":"SupportCaseAttachmentResponse","properties":{"Id":{"description":"The attachment id","type":"integer","format":"int32","x-nullable":false},"FileUrl":{"description":"The attachment file url","type":"string"}},"description":"SupportCaseAttachmentResponse","type":"object"},"QueryResponse_SupportCaseStatusResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/SupportCaseStatusResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CSupportCaseStatusResponse\u003E","type":"object"},"QueryResponse_SupportCaseTypeResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/SupportCaseTypeResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CSupportCaseTypeResponse\u003E","type":"object"},"QueryResponse_SupportCaseAreaResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/SupportCaseAreaResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CSupportCaseAreaResponse\u003E","type":"object"},"QueryResponse_SupportCaseCommentsResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/SupportCaseCommentsResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CSupportCaseCommentsResponse\u003E","type":"object"},"QueryResponse_SupportCaseAttachmentResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/SupportCaseAttachmentResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CSupportCaseAttachmentResponse\u003E","type":"object"},"QueryResponse_TagResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/TagResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CTagResponse\u003E","type":"object"},"QueryResponse_TrialQueryResponse_":{"title":"QueryResponse\u00601","properties":{"Offset":{"type":"integer","format":"int32","x-nullable":false},"Total":{"type":"integer","format":"int32","x-nullable":false},"Results":{"type":"array","items":{"$ref":"#/definitions/TrialQueryResponse"}},"Meta":{"$ref":"#/definitions/Dictionary_String_String_"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"QueryResponse\u003CTrialQueryResponse\u003E","type":"object"},"TrialQueryResponse":{"title":"TrialQueryResponse","properties":{"Id":{"type":"integer","format":"int32","x-nullable":false},"Name":{"type":"string"},"TrialDays":{"type":"integer","format":"int32","x-nullable":false}},"description":"TrialQueryResponse","type":"object"},"CompanyTrialQueryResponse":{"title":"CompanyTrialQueryResponse","properties":{"TrialTypeId":{"type":"integer","format":"int32","x-nullable":false},"TrialType":{"$ref":"#/definitions/TrialQueryResponse"},"Started":{"type":"string","format":"date-time"},"Created":{"type":"string","format":"date-time","x-nullable":false},"ValidTo":{"type":"string","format":"date-time"},"Active":{"type":"boolean","x-nullable":false}},"description":"CompanyTrialQueryResponse","type":"object"},"CreateUserResponse":{"title":"CreateUserResponse","properties":{"ResponseStatus":{"$ref":"#/definitions/Object"},"Id":{"type":"string"},"UserId":{"type":"string"},"Email":{"type":"string"},"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Phone":{"type":"string"},"CreatedDate":{"type":"string","format":"date-time"},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressResponse"}},"description":"CreateUserResponse","type":"object"},"CurrentUserQueryResponse":{"title":"CurrentUserQueryResponse","properties":{"UserId":{"description":"The user id for your profile.","type":"string","x-nullable":false},"Favorites":{"type":"array","items":{"$ref":"#/definitions/UserFavorites"}},"UserProfile":{"$ref":"#/definitions/UserProfileResponse"},"CustomerProfile":{"$ref":"#/definitions/UserProfileResponse"},"AdminProfile":{"$ref":"#/definitions/AdminProfile"},"CompanyCustomers":{"type":"array","items":{"$ref":"#/definitions/CompanyCustomerResponse"}},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressResponse"}},"description":"CurrentUserQueryResponse","type":"object"},"AdminProfile":{"title":"AdminProfile","properties":{"CompanyId":{"type":"string","x-nullable":false},"Id":{"type":"string","x-nullable":false},"Firstname":{"type":"string"},"Lastname":{"type":"string"},"Email":{"type":"string"},"WorkerId":{"type":"string"},"Phone":{"type":"string"}},"description":"AdminProfile","type":"object"},"CompanyCustomerResponse":{"title":"CompanyCustomerResponse","properties":{"CompanyId":{"type":"string"},"CompanyName":{"type":"string"},"CustomerId":{"type":"string"},"SubscribedToNewsletter":{"type":"boolean","x-nullable":false},"CustomFieldValues":{"type":"array","items":{"$ref":"#/definitions/CustomFieldDataResponse"}},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressResponse"}},"description":"CompanyCustomerResponse","type":"object"},"UpdateUserResponse":{"title":"UpdateUserResponse","required":["UserId"],"properties":{"ResponseStatus":{"$ref":"#/definitions/Object"},"UserId":{"description":"The user id for your profile.","type":"string"},"UserProfile":{"$ref":"#/definitions/UserProfileResponse"},"AdminProfile":{"$ref":"#/definitions/AdminProfile"},"IsSentConfirmationUpdateEmail":{"type":"boolean"},"InvoiceAddress":{"$ref":"#/definitions/InvoiceAddressResponse"}},"description":"UpdateUserResponse","type":"object"},"DeleteUserResponse":{"title":"DeleteUserResponse","required":["UserName"],"properties":{"ResponseStatus":{"$ref":"#/definitions/Object"},"UserName":{"description":"The user id for your profile.","type":"string"},"UserProfile":{"$ref":"#/definitions/UserProfileResponse"},"AdminProfile":{"$ref":"#/definitions/AdminProfile"}},"description":"DeleteUserResponse","type":"object"},"ApiVersionQueryResponse":{"title":"ApiVersionQueryResponse","properties":{"BuildTime":{"description":"Timestamp when this API was built","type":"string","format":"date-time","x-nullable":false},"Sha":{"description":"The revision id from which the API was built","type":"string"},"InformationalVersion":{"description":"Full version information regarding the current running assemblies of the api","type":"string"},"SemVer":{"description":"The semantic version number of the current running api version, see www.semver.org for more information","type":"string"},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"ApiVersionQueryResponse","type":"object"},"ApiVersionCompabilityQueryResponse":{"title":"ApiVersionCompabilityQueryResponse","properties":{"CurrentVersion":{"description":"The latest version number","type":"string"},"YourVersion":{"description":"Your version number","type":"string"},"Message":{"description":"Any compatible error message","type":"string"},"Compatible":{"description":"If your version is compatible with the current version","type":"boolean","x-nullable":false},"BlockingChanges":{"description":"If the changes are blocking for use and you need to upgrade to later version","type":"boolean","x-nullable":false},"ResponseStatus":{"$ref":"#/definitions/ResponseStatus"}},"description":"ApiVersionCompabilityQueryResponse","type":"object"},"WebhookSettingsResponse":{"title":"WebhookSettingsResponse","properties":{"Enabled":{"type":"boolean","x-nullable":false},"Message":{"type":"string"},"CompanyId":{"type":"string","x-nullable":false}},"description":"WebhookSettingsResponse","type":"object"},"WebhookEndpoint":{"title":"WebhookEndpoint","properties":{"Description":{"type":"string"},"Url":{"type":"string"},"Id":{"type":"string"},"Disabled":{"type":"boolean","x-nullable":false},"EventTypes":{"type":"array","items":{"type":"string"}},"Secret":{"type":"string"}},"description":"WebhookEndpoint","type":"object"},"ListEndpointsResponse":{"title":"ListEndpointsResponse","properties":{"Endpoints":{"type":"array","items":{"$ref":"#/definitions/WebhookEndpoint"}}},"description":"ListEndpointsResponse","type":"object"},"ListMessagesResponseDto":{"title":"ListMessagesResponseDto","properties":{"Data":{"type":"array","items":{"$ref":"#/definitions/GetMessageResponseDto"}},"Done":{"type":"boolean","x-nullable":false},"Iterator":{"type":"string"}},"description":"ListMessagesResponseDto","type":"object"},"GetMessageResponseDto":{"title":"GetMessageResponseDto","properties":{"Id":{"type":"string"},"Channels":{"type":"array","items":{"type":"string"}},"EventType":{"type":"string"},"Metadata":{"$ref":"#/definitions/Dictionary_String_String_"},"Payload":{"$ref":"#/definitions/Object"},"EventId":{"type":"string"},"Timestamp":{"type":"string","format":"date-time","x-nullable":false}},"description":"GetMessageResponseDto","type":"object"},"WebhookEventTypesResponse":{"title":"WebhookEventTypesResponse","properties":{"EventTypes":{"type":"array","items":{"$ref":"#/definitions/WebhookEventTypeDto"}}},"description":"WebhookEventTypesResponse","type":"object"},"WebhookEventTypeDto":{"title":"WebhookEventTypeDto","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"Id":{"type":"integer","format":"int32","x-nullable":false},"Value":{"type":"string"}},"description":"WebhookEventTypeDto","type":"object"},"ListMessageAttemptsResponse":{"title":"ListMessageAttemptsResponse","properties":{"Attempts":{"type":"array","items":{"$ref":"#/definitions/WebhookMessageAttempt"}},"Done":{"type":"boolean","x-nullable":false},"Iterator":{"type":"string"}},"description":"ListMessageAttemptsResponse","type":"object"},"WebhookMessageAttempt":{"title":"WebhookMessageAttempt","properties":{"Id":{"type":"string"},"MessageId":{"type":"string"},"EndpointId":{"type":"string"},"Url":{"type":"string"},"Status":{"type":"string"},"ResponseStatusCode":{"type":"integer","format":"int32"},"Timestamp":{"type":"string","format":"date-time","x-nullable":false},"TriggerType":{"type":"string"}},"description":"WebhookMessageAttempt","type":"object"},"TestWebhookEndpointResponse":{"title":"TestWebhookEndpointResponse","properties":{"MessageId":{"type":"string"}},"description":"TestWebhookEndpointResponse","type":"object"}},"parameters":{"Accept":{"name":"Accept","in":"header","description":"Accept Header","type":"string","required":true,"enum":["application/json"]}},"securityDefinitions":{"Bearer":{"type":"apiKey","description":"API Key for authentication. Contact support@bokamera.se to obtain one.","name":"x-api-key","in":"header"}},"tags":[{"name":"accesskeytypes"},{"name":"administrators"},{"name":"agreements"},{"name":"articles"},{"name":"billing"},{"name":"bookinglog"},{"name":"bookings"},{"name":"bookinguserqueue"},{"name":"categories"},{"name":"codelock"},{"name":"companies"},{"name":"company"},{"name":"companyOwners"},{"name":"countries"},{"name":"currencies"},{"name":"customerarticle"},{"name":"customers"},{"name":"customfields"},{"name":"eaccounting"},{"name":"errorLog"},{"name":"errors"},{"name":"externalreferencestypes"},{"name":"gdpr"},{"name":"geodata"},{"name":"google"},{"name":"homepage"},{"name":"images"},{"name":"licenseChangesLog"},{"name":"licenses"},{"name":"mailchimp"},{"name":"messages"},{"name":"news"},{"name":"newsletter"},{"name":"payment"},{"name":"payment-settings"},{"name":"rating"},{"name":"rebatecodes"},{"name":"references"},{"name":"reports"},{"name":"resource"},{"name":"resourcetypes"},{"name":"schedules"},{"name":"services"},{"name":"settings"},{"name":"statistics"},{"name":"superadmin"},{"name":"support"},{"name":"tags"},{"name":"timeexceptions"},{"name":"trials"},{"name":"unsubscribe"},{"name":"users"},{"name":"version"},{"name":"voss"},{"name":"webhook"}]}