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

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.
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=test record

The response will be as following:

<response>
 <transactionid>LBS_801543489</transactionid>
 <status>0</status>
 <errno />
 <errdesc />
</response>
 <feedback>
 <id>39</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=test record

The response will be as following:

{ "transactionid": "LBS_801543065", "status": 0, "feedback": { "id": 38 } }

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=39

The response will be as following:

<response>
 <transactionid>LBS_801652840</transactionid>
 <status>0</status>
 <errno />
 <errdesc />
 <feedback>
 <id>39</id>
 <ts>2021-10-07 16:54:39.0</ts>
 <company>Infotech</company>
 <uavtId>0</uavtId>
 <address>test record</address>
 <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=38

The response will be as following:

{ "transactionid": "LBS_801656864", "status": 0, "feedback": { "id": 38, "ts": "2021-10-07 16:53:43.0", "company": "Infotech", "uavtId": 0, "address": "test record", "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": 39, "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.