PV API Service

<back to all web services

OccuScriptIdGenerationRequest

GET an OccuScript ID for a Chart

The following routes are available for this service:
GET, OPTIONS/Occuscript/Id/{PracticeNameOrPk}/{ChartPk}

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/OccuScriptIdGenerationRequest HTTP/1.1 
Host: api.practicevelocity.com 
Content-Type: application/xml
Content-Length: length

<OccuScriptIdGenerationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PV.Partner.DataModel.OccuScript">
  <ChartPk>00000000-0000-0000-0000-000000000000</ChartPk>
  <PracticeNameOrPk>String</PracticeNameOrPk>
</OccuScriptIdGenerationRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<OccuScriptIdGenerationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PV.Partner.DataModel.OccuScript">
  <Id>String</Id>
</OccuScriptIdGenerationResponse>