0

how to create a api in php mysql step by step process. kiendely help me i am new to this api process.

Edited by pritaeas: Closed.

2
Contributors
9
Replies
40
Views
3 Years
Discussion Span
Last Post by pritaeas
0

The integration layer between FieldEZ and the client application is over HTTP/HTTPS. All the APIs take input in key value pair style (not in REST style) and responds to the client in XML format. Authentication is through exchange of a login id/password combination maintained in FieldEZ as well as in customer application.

0

All the APIs take input in key value pair style (not in REST style)

Not sure what you mean here, but you can send/receive anything you want.

0
  1. Sample XML for create/update of ticket

    <?xml version="1.0"?>
    <fieldez>
    <attributes>
    <attribute name="callId">test-100</attribute>
    <attribute name="customerName">XYZ</attribute>
    <attribute name="contactPerson">ghh</attribute>
    <attribute name="customerLastName">qwe</attribute>
    <attribute name="address">no 5, Koramangala</attribute>
    <attribute name="landmark">Raheja Towers</attribute>
    <attribute name="city">Bangalore</attribute>
    <attribute name="state">Karnataka</attribute>
    <attribute name="PIN">560001</attribute>
    <attribute name="homePhone">12354</attribute>
    <attribute name="mobilePhone">68769</attribute>
    <attribute name="contactPersonMobile">5879</attribute>
    <attribute name="sourcePhone">657657</attribute>
    <attribute name="workLocation">Koramangala</attribute>
    <attribute name="dealerName">Toshiba</attribute>
    <attribute name="customerEmail">test@test.com</attribute>
    <attribute name="company">Philips</attribute>
    <attribute name="brand">Philips</attribute>
    <attribute name="product">AC</attribute>
    <attribute name="segment">Retail</attribute>
    <attribute name="model">689hhj</attribute>
    <attribute name="serviceCharge">4000</attribute>
    <attribute name="serialNo">456546/attribute>
    <attribute name="warrantyType">AMC</attribute>
    <attribute name="warrantyProof">NA</attribute>
    <attribute name="purchaseDate">MM/dd/yyyy</attribute>
    <attribute name="complaintOrServiceInfo">Not working</attribute> <attribute name="customerRemarks">Service required</attribute>
    <attribute name="callType">Telephone</attribute>
    </attributes>
    </fieldez>

This Is the Code How to Create A api

Edited by pritaeas: Fixed markdown.

0

Oh, so not a server. You're just using an existing API. What do you have so far?

BTW. Uploading a confidential document isn't very smart.