MediBuddy Mobile Services V1.1

<back to all web services

AgentsExternalPolicyCreateRequest

To override the Content-type in your clients HTTP Accept Header, append the .soap12 suffix or ?format=soap12

HTTP + SOAP12

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

POST /soap12 HTTP/1.1 
Host: mb-mobile-api.medibuddy.in 
Content-Type: text/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>

<AgentsExternalPolicyCreateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
  <PolicyHeaders xmlns:d2p1="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO">
    <d2p1:AgentPolicyDetails>
      <d2p1:AgentCode>String</d2p1:AgentCode>
      <d2p1:DBType>String</d2p1:DBType>
      <d2p1:ExternalRemarks>String</d2p1:ExternalRemarks>
      <d2p1:InsuranceCompany>String</d2p1:InsuranceCompany>
      <d2p1:InsurerId>0</d2p1:InsurerId>
      <d2p1:IsDeleted>false</d2p1:IsDeleted>
      <d2p1:IsExternalPolicy>false</d2p1:IsExternalPolicy>
      <d2p1:PolicyEndDate>String</d2p1:PolicyEndDate>
      <d2p1:PolicyEndDateString>String</d2p1:PolicyEndDateString>
      <d2p1:PolicyHolder>String</d2p1:PolicyHolder>
      <d2p1:PolicyHolderContact>String</d2p1:PolicyHolderContact>
      <d2p1:PolicyHolderEmail>String</d2p1:PolicyHolderEmail>
      <d2p1:PolicyHolderMAID>0</d2p1:PolicyHolderMAID>
      <d2p1:PolicyId>0</d2p1:PolicyId>
      <d2p1:PolicyNumber>String</d2p1:PolicyNumber>
      <d2p1:PolicyStartDate>String</d2p1:PolicyStartDate>
      <d2p1:PolicyStartDateString>String</d2p1:PolicyStartDateString>
      <d2p1:PriBenefId>0</d2p1:PriBenefId>
      <d2p1:SumInsured>0</d2p1:SumInsured>
      <d2p1:TPAName>String</d2p1:TPAName>
    </d2p1:AgentPolicyDetails>
  </PolicyHeaders>
  <UserName>String</UserName>
</AgentsExternalPolicyCreateRequest>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>

<AgentsExternalPolicyCreateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
  <Created>false</Created>
</AgentsExternalPolicyCreateResponse>

    </soap12:Body>
</soap12:Envelope>