how to create a web page for free

Personel API

Personeller API
The Ofisplan API allows you to do the following with Personel records:

GET
Get All Personeller | Authenticated
Get All Personeller | URL
Get One Personel | Authenticated
Get One Personel | URL
Result (two records)
POST (create)
POST | Authenticated
Result
PUT (update)
PUT | Authenticated
Result
DELETE
Delete | Authenticated
Result
GET
Get All Personeller | Authenticated
Syntax:

GET {Domain}/OfisplanX/{ProjeIsim}/api/Personel
Örnek

GET http://localhost/OfisplanX/ProjeIsim/api/Personel
GET https://domain.com/OfisplanX/AnaOfis/api/Personel


Get All Personeller | URL
Syntax:

{Domain}/OfisplanX/{ProjeIsim}/api/Personel?apikey={APIKey}
Örnek

http://localhost/OfisplanX/ProjeIsim/api/Personel?apikey=aP2bjYAeeYrUx0hPYQ
https://domain.com/OfisplanX/AnaOfis/api/Personel?apikey=l4MZnM2Y58lwVgubQn


Get One Personel | Authenticated
Syntax:

GET {Domain}/OfisplanX/{ProjeIsim}/api/Personel/{id}
Örnek

GET http://localhost/OfisplanX/ProjeIsim/api/Personel/201504211012066290
GET https://domain.com/OfisplanX/AnaOfis/api/Personel/201506031134454224


Get One Personel | URL
Syntax:

[Domain]/OfisplanX/[ProjeIsim]/api/Personel/[id]?apikey=[APIKey]
Örnek

http://localhost/OfisplanX/ProjeIsim/api/Personel/[id]?apikey=aP2bjYAeeYrUx0hPYQ


Result (two records)


[
{
"id": "201711300130174407",
"mekan_id": "201804280603417960",
"top": "186",
"left": "306",
"width": "-1",
"height": "-1",
"email": "AEkinci@Firma.com",
"soyisim": "Ekinci",
"ilkisim": "Ali",
"guvenlikgroup_id": "3",
"masa_id": "",
"dahilitel": "229",
"sehir": "",
"ilce": "",
"postakodu": "",
"ulke": "",
"picalign": "top",
"adres": "",
"latitude": "0",
"longitude": "0",
"username": "AEkinci",
"customclickurl": "",
"departman": "Pazarlama",
"personel id": "52675",
"position": "SEO",
"sys_adimagebytes": "0",
"enable my ical": "",
"kategori": ""
},
{
"id": "201411300130174407",
"mekan_id": "201804280603417960",
"top": "786",
"left": "1324",
"width": "-1",
"height": "-1",
"email": "GTraders@Firma.com",
"soyisim": "Traders",
"ilkisim": "Ali",
"guvenlikgroup_id": "3",
"masa_id": "",
"dahilitel": "246",
"sehir": "",
"ilce": "",
"postakodu": "",
"ulke": "",
"picalign": "top",
"adres": "",
"latitude": "0",
"longitude": "0",
"username": "GTraders",
"customclickurl": "",
"departman": "Pazarlama",
"personel id": "34238",
"position": "Social Media Coordinator",
"sys_adimagebytes": "",
"enable my ical": "",
"kategori": ""
]
POST (create)
Yeni bir kayıt oluştururken, benzersiz personel kimliği otomatik olarak oluşturulur ve parametre olarak dahil edilmesi gerekmez.

POST | Authenticated
Syntax:

POST {Domain}/OfisplanX/{ProjeIsim}/api/Personel/?{parameter1:value1}&{parameter2}:{value2}...
Örnek

POST http://localhost/OfisplanX/ProjeIsim/api/Personel/?ilkisim=Ali&soyisim=Ekinci&username=aekinci&departman=Muhasebe

POST https://domain.com/OfisplanX/ProjeIsim/api/Personel/?ilkisim=Melek&soyisim=Hara&username=mhara&position=CEO
Result
[
{
"id": "202002065333475"
},
{
"status": "Personel kayit eklendi"
}
]
PUT (update)
PUT | Authenticated
Syntax:

PUT {Domain}/OfisplanX/{ProjeIsim}/api/Personel/{id}?{parameter1:value1}&{parameter2:value2}...
Örnek

PUT http://localhost/OfisplanX/ProjeIsim/api/Personel/2020020679547848?departman:Operations
PUT https://domain.com/OfisplanX/AnaOfis/api/Personel/2020020619325472?soyisim=Kovac&position=Mediator
Result
[
{
"status": "Personel kayit eklendi"
}
]
DELETE
Delete | Authenticated
Syntax:

DELETE {Domain}/OfisplanX/{ProjeIsim}/api/Personel/{id}
Örnek

DELETE http://localhost/OfisplanX/ProjeIsim/api/Personel/201711300130174407
DELETE https://domain.com/OfisplanX/AnaOfis/api/Personel/2020020630313932
Result
[
{
"status": "Personel kayit silindi"
}
]