Appointment


Click here for a complete list of operations.

SubmitAppointmentTest

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /Prometric/Appointment.asmx HTTP/1.1
Host: shrmcrmapi.cobaltsaas.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://cobalt.net/SubmitAppointmentTest"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SubmitAppointmentTest xmlns="http://cobalt.net/">
      <action>string</action>
      <dateTimeStart>string</dateTimeStart>
      <dateTimeEnd>string</dateTimeEnd>
      <locationName>string</locationName>
      <locationLine1>string</locationLine1>
      <locationLine2>string</locationLine2>
      <locationCity>string</locationCity>
      <locationCounty>string</locationCounty>
      <locationCountryCode>string</locationCountryCode>
      <locationState>string</locationState>
      <locationPostalCode>string</locationPostalCode>
      <locationCode>string</locationCode>
      <locationTimezoneOffset>string</locationTimezoneOffset>
      <locationRegion>string</locationRegion>
      <eligibilityCode>string</eligibilityCode>
    </SubmitAppointmentTest>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SubmitAppointmentTestResponse xmlns="http://cobalt.net/">
      <SubmitAppointmentTestResult xmlns="">
        <responseCode>bytes</responseCode>
        <message>string</message>
      </SubmitAppointmentTestResult>
    </SubmitAppointmentTestResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /Prometric/Appointment.asmx HTTP/1.1
Host: shrmcrmapi.cobaltsaas.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SubmitAppointmentTest xmlns="http://cobalt.net/">
      <action>string</action>
      <dateTimeStart>string</dateTimeStart>
      <dateTimeEnd>string</dateTimeEnd>
      <locationName>string</locationName>
      <locationLine1>string</locationLine1>
      <locationLine2>string</locationLine2>
      <locationCity>string</locationCity>
      <locationCounty>string</locationCounty>
      <locationCountryCode>string</locationCountryCode>
      <locationState>string</locationState>
      <locationPostalCode>string</locationPostalCode>
      <locationCode>string</locationCode>
      <locationTimezoneOffset>string</locationTimezoneOffset>
      <locationRegion>string</locationRegion>
      <eligibilityCode>string</eligibilityCode>
    </SubmitAppointmentTest>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SubmitAppointmentTestResponse xmlns="http://cobalt.net/">
      <SubmitAppointmentTestResult xmlns="">
        <responseCode>bytes</responseCode>
        <message>string</message>
      </SubmitAppointmentTestResult>
    </SubmitAppointmentTestResponse>
  </soap12:Body>
</soap12:Envelope>