Documentation version 1.0
"Mantas" API is REST API that can be accessed through explicit HTTP calls. API lets you create, view, modify and delete classifieds as well as work with other classifieds-related objects i.e Contacts.
As known Pirlsi.lv is classified site where registred users can publish own classified. Registred user profile can generate acces token. If this acces token granted to other aplication than other person, application or web service can have full acces to user classifieds. This means access token owner can preform all CRUD operations in releated user profile.
"Prksi" api uses the following resources. Each resource detailed in the Reference section of this documentation.
Classified - List of classifieds in user profile. Classified is record about product or service.
Categories - Full list of avilable classified categories. One classified can belong to only one category.
Image
Complete the steps described in the rest of this page to create a simple PHP application that makes requestests to the "Mantas" API.
Step 1: create project
Step 2: Set up the sample
<?php
curl code
The current version of the API lives at https://api.gsa.gov/v3/path
.
Pērk/Pārdod
Nekustamais īpašums
Darba sludinājumi
Pakalpojumi
Endpoint | What it does | |
---|---|---|
delete | DELETE /classified/{ClassifiedId} |
Deletes an event. |
insert | POST /classified |
Creates an event. |
update | PUT /classified/{ClassifiedId} |
Updates an event. |
list | GET /classified |
Returns events on the specified calendar. |
Endpoint | What it does | |
---|---|---|
delete | DELETE /classified/{ClassifiedId}/image/{ImageId} |
Deletes an event. |
insert | POST /classified/{ClassifiedId}/image |
Creates an event. |
list | GET /classified/{ClassifiedId}/image |
Returns events on the specified calendar. |
Endpoint | What it does | |
---|---|---|
list | GET /categorie |
Returns events on the specified calendar. |
integer
string
array of string
Decimal(15,2)
float
Lorem the It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. long established fact that a reader will English.
Lorem the It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. long established fact that a reader will English.
Lorem the It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. long established fact that a reader will English.
Lorem the It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. long established fact that a reader will English.
Lorem the It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. long established fact that a reader will English.
Lorem the It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. long established fact that a reader will English.