MediBuddy Mobile Services V1.1

<back to all web services

PolicyDetailsForAgentRequest

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

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: mb-mobile-api.medibuddy.in 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: PolicyDetailsForAgentRequest

<?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>

<PolicyDetailsForAgentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
  <AgentId>String</AgentId>
  <BeneficiaryMaId>0</BeneficiaryMaId>
  <BeneficiaryName>String</BeneficiaryName>
  <BeneficiaryPolicyNo>String</BeneficiaryPolicyNo>
  <Index>0</Index>
  <Range>0</Range>
</PolicyDetailsForAgentRequest>

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

<PolicyDetailsForAgentResponse 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>
  <TotalCount>0</TotalCount>
</PolicyDetailsForAgentResponse>

    </soap:Body>
</soap:Envelope>