API Change Log: March 2022 Release

Check the API updates for this release.

API End PointsScenarioEarlier BehaviorNew BehaviorAPI Documentation Link
{apirurl}./api/Services/searchA new parameter ‘expand’ is added in the request that will send add-ons details of the service when requestedEarlier, even if the service contained add-ons, the parameter returned as “Null”.Now, if a service has add-ons, the parameter will contain the add-on details in the response.NA
www.apiurl. {center_id}/services/{service_id}New parameter “is_mandatory_add_on in add_ons_info” is added to the response objectEarlier, mandatory add-on object details were not appearing.Now, if a service has an add-on that is mandatory, the response object will return the details.Retrieve a service of a center
v1/organizations/settings/{section}

Org setting (OrganizationSettingsViewModel -> PackagesSettingsViewModel -> enable_nfcp_refund_on_open_invoice_scheduled_packages)

api/Centers/CustomPaymentData

custom payment list (Internal custom payment should not populate)

api/v2.0/Invoices/{InvoiceId}

refunded package bit for invoice item level

Custom payment Type for blocking refund - in the payment transactions

InvoiceModel -> InvoiceSeriesPackageBuyModel->AppointmentSeriesPackageModel->PackageModel -> custom_payment_added

InvoiceModel -> PaymentModel -> can_change

api/Invoices/ApplyDiscount

error code for campaign apply
Add the following three variables in response:

>Can_change

>Custom_payment_added

Show_package_refunded_text
The three variables were not present in the earlier object response.Now, we have added these three variables, and they will appear in the response objectNA