API End Point

Scenario

Earlier Behavior

New Behavior

API Doc Link

NA

Functionality added for center search

Did not support center search functionality

Will now support search functionality for a center

NA

{apirurl}./api/Services/search

A new parameter ‘expand’ is added in the request that will send add-ons details of the service when requested

Earlier, 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 object

Earlier, 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.

API DOC

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 object

NA

Did this answer your question?