API

LocationBox API

Add Feedback

Add Feedback Service provide to add feedback on database based on criterias which you can find below.

Feedback request must look like this:

http://www.locationbox.com.tr/locationbox/services?Key=key&Cmd=BBolumFeedback&Typ=output_format&Id=id&BBolumUavt=BBolumUavt&Address=address&AdbVersion=

Request Parameters


Key: LocationBox user key. (Register for user key)
Cmd: LocationBox service name. (BBolumFeedback)
Typ: Response format. (XML or JSON)
Id: ID of feedback.Set as 0 if you want to add feedback or set as exist id of feedback if you want to get feedback data.
AdbVersion (optional): Address database version.
Address or BBolumUavt: Feedback script.Address or BBolumUavt is mandatory if record is to be added.

Response Parameters


XML Response

Feedback response returns in XML format when the Typ parameter is set as "XML".

Below is an example for a Feeedback request which is expected to return a response in XML format.

http://www.locationbox.com.tr/locationbox/services?Key=key&Cmd=BBolumFeedback&Typ=XML&Id=0&BBolumUavt=&Address=Boðaziçi mah. Yazlýk siteler sok. no:25/41E Milas Muðla&AdbVersion=ADRES_DATABASE_V...

The response will be as following:

<response>
 <transactionid>LBS_249292732</transactionid>
 <status>0</status>
 <errno />
 <errdesc />
</response>
 <feedback>
 <id>59</id>
</feedback>

JSON Response

Feedback response returns in JSON format when the Typ parameter is set as "JSON".

Below is an example for a Feedback request which is expected to return a response in JSON format.

http://www.locationbox.com.tr/locationbox/services?Key=key&Cmd=BBolumFeedback&Typ=JSON&Id=0&BBolumUavt=&Address=Boðaziçi mah. Yazlýk siteler sok. no:25/41E Milas Muðla&AdbVersion=ADRES_DATABASE_V...

The response will be as following:

{ "transactionid": "LBS_249292732", "status": 0, "feedback": { "id": 59 } }

transactionid: The id of response given by LocationBox Service. Every response can be tracked using transactionid when necessary.
status: Response format. (XML or JSON)

Status Codes
0 -- Success
1 -- Fail

errno: Error code
errdesc: Error definition

Error Codes
10001 Error processing your request. Please try again soon.
Cmd parameter is misspelled/not found.
10011 Error processing your request. Please check the Cmd parameter.
Cmd is not specified.
10012 Error processing your request. Please check the Key parameter.
Key is not specified.
10013 Error processing your request. Please check the Key parameter.
Key is invalid.
20010 Error occured while processing.
20012 No data found.
20013 Error processing your request. Please check the parameter.
30011 Feedback package support is missing.

Get Feedback

Feedback Service provide to get feedback on database based on criterias which you can find below.

Feedback request must look like this:

http://www.locationbox.com.tr/locationbox/services?Key=key&Cmd=BBolumFeedback&Typ=output_format&Id=id

Request Parameters


Key: LocationBox user key. (Register for user key)
Cmd: LocationBox service name. (BBolumFeedback)
Typ: Response format. (XML or JSON)
Id: ID of feedback.

Response Parameters


XML Response

Feedback response returns in XML format when the Typ parameter is set as "XML".

Below is an example for a feedback request which is expected to return a response in XML format.

http://www.locationbox.com.tr/locationbox/services?Key=key&Cmd=BBolumFeedback&Typ=XML&Id=59

The response will be as following:

<response>
 <transactionid>LBS_249292734</transactionid>
 <status>0</status>
 <errno />
 <errdesc />
 <feedback>
 <id>59</id>
 <ts>2021-10-27 12:14:27.0</ts>
 <company>Infotech</company>
 <uavtId>0</uavtId>
 <address>Boðaziçi mah. Yazlýk siteler sok. no:25/41E Milas Muðla</address>
 <adbVersion>ADRES_DATABASE_V...</adbVersion>
 <processStatus>0</processStatus>
 <scripts/>
</feedback>
</response>

JSON Response

Feedback response returns in JSON format when the Typ parameter is set as "JSON".

Below is an example for a feedback request which is expected to return a response in JSON format.

http://www.locationbox.com.tr/locationbox/services?Key=key&Cmd=BBolumFeedback&Typ=JSON&Id=59

The response will be as following:

{ "transactionid": "LBS_249292734", "status": 0, "feedback": { "id": 59, "ts": "2021-10-27 12:14:27.0", "company": "Infotech", "uavtId": 0, "address": "Boðaziçi mah. Yazlýk siteler sok. no:25/41E Milas Muðla", "adbVersion":"ADRES_DATABASE_V...", "processStatus": 0, "scripts": [] } }

transactionid: The id of response given by LocationBox Service. Every response can be tracked using transactionid when necessary.
status: Response format. (XML or JSON)

Status Codes
0 -- Success
1 -- Fail

errno: Error code
errdesc: Error definition

Error Codes
10001 Error processing your request. Please try again soon.
Cmd parameter is misspelled/not found.
10011 Error processing your request. Please check the Cmd parameter.
Cmd is not specified.
10012 Error processing your request. Please check the Key parameter.
Key is not specified.
10013 Error processing your request. Please check the Key parameter.
Key is invalid.
20010 Error occured while processing.
20012 No data found.
20013 Error processing your request. Please check the parameter.
30011 Feedback package support is missing.

ListFeedback

ListFeedback Service provide to get ListFeedback on database based on criterias which you can find below.

ListFeedback request must look like this:

http://www.locationbox.com.tr/locationbox/services?Key=key&Cmd=ListFeedback&Typ=output_format&Id=id

Request Parameters


Key: LocationBox user key. (Register for user key)
Cmd: LocationBox service name. (ListFeedback)
Typ: Response format. (XML or JSON)
Processed(optional): Search the feedback take processed.

Response Parameters


XML Response

ListFeedback response returns in XML format when the Typ parameter is set as "XML".

Below is an example for a ListFeedback request which is expected to return a response in XML format.

http://www.locationbox.com.tr/locationbox/services?Key=key&Cmd=ListFeedback&Typ=XML

The response will be as following:

<response>
 <transactionid>LBS_801652840</transactionid>
 <status>0</status>
 <errno />
 <errdesc />
 <feedbacklist>
 <feedback>
  <id>1</id>
  <uavtId>0</uavtId>
  <processStatus>0</processStatus>
</feedback>

...

 <feedback>
  <id>1</id>
  <uavtId>0</uavtId>
  <processStatus>0</processStatus>
</feedback>
</feedbacklist>
</response>

JSON Response

ListFeedback response returns in JSON format when the Typ parameter is set as "JSON".

Below is an example for a ListFeedback request which is expected to return a response in JSON format.

http://www.locationbox.com.tr/locationbox/services?Key=key&Cmd=ListFeedback&Typ=JSON

The response will be as following:

{ "transactionid": "LBS_801661781", "status": 0, "feedbacklist": [ { "id": 0, "uavtId": 0, "processStatus": 0 },

...

{ "id": 59, "uavtId": 0, "processStatus": 0 } ] }


transactionid: The id of response given by LocationBox Service. Every response can be tracked using transactionid when necessary.
status: Response format. (XML or JSON)

Status Codes
0 -- Success
1 -- Fail

errno: Error code
errdesc: Error definition

Error Codes
10001 Error processing your request. Please try again soon.
Cmd parameter is misspelled/not found.
10011 Error processing your request. Please check the Cmd parameter.
Cmd is not specified.
10012 Error processing your request. Please check the Key parameter.
Key is not specified.
10013 Error processing your request. Please check the Key parameter.
Key is invalid.
20012 No data found.
30011 Feedback package support is missing.