PV API Service

<back to all web services

ClockwiseUpdateAppointmentIdRequest

PUT to update an AppointmentId for an existing LogBook/LogDetail record.
- PracticePk is the primary key associated with the given practice.
- OldAppointmentId is the value used to find the specific visit.
- NewAppointmentId is the value being posted to the specified visit.

The following routes are available for this service:
PUT, OPTIONS/Clockwise/PatientRegistration/UpdateAppointmentId

To override the Content-type in your clients HTTP Accept Header, append ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/ClockwiseUpdateAppointmentIdRequest HTTP/1.1 
Host: api.practicevelocity.com 
Content-Type: application/xml
Content-Length: length

<ClockwiseUpdateAppointmentIdRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PV.Partner.DataModel.Clockwise">
  <ClinicPk>00000000-0000-0000-0000-000000000000</ClinicPk>
  <NewAppointmentId>0</NewAppointmentId>
  <OldAppointmentId>0</OldAppointmentId>
  <PracticePk>00000000-0000-0000-0000-000000000000</PracticePk>
</ClockwiseUpdateAppointmentIdRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ApiBlankResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PV.API.Common.DataModel" />