Admin

APIDescription
GET api/admin/Ads?Status={Status}&CategoryId={CategoryId}&TownId={TownId}&SortBy={SortBy}&StartPage={StartPage}&PageSize={PageSize}

No documentation available.

PUT api/admin/Ads/Approve/{id}

No documentation available.

PUT api/admin/Ads/Reject/{id}

No documentation available.

GET api/admin/Ads/{id}

No documentation available.

PUT api/admin/Ads/{id}

No documentation available.

DELETE api/admin/Ads/{id}

No documentation available.

GET api/admin/Users?SortBy={SortBy}&StartPage={StartPage}&PageSize={PageSize}

No documentation available.

GET api/admin/Users/{id}

No documentation available.

PUT api/admin/User/{username}

No documentation available.

PUT api/admin/SetPassword

No documentation available.

DELETE api/admin/User/{username}

Deletes user by username. All user ads are also deleted.

GET api/admin/Categories?SortBy={SortBy}&StartPage={StartPage}&PageSize={PageSize}

No documentation available.

POST api/admin/Categories

No documentation available.

PUT api/admin/Categories/{id}

No documentation available.

DELETE api/admin/Categories/{id}

No documentation available.

GET api/admin/Towns?SortBy={SortBy}&StartPage={StartPage}&PageSize={PageSize}

No documentation available.

POST api/admin/Towns

No documentation available.

PUT api/admin/Towns/{id}

No documentation available.

DELETE api/admin/Towns/{id}

No documentation available.

User

APIDescription
POST api/user/Register

No documentation available.

POST api/user/Login

No documentation available.

POST api/user/Logout

No documentation available.

POST api/user/Ads

No documentation available.

GET api/user/Ads?Status={Status}&StartPage={StartPage}&PageSize={PageSize}

No documentation available.

PUT api/user/Ads/Deactivate/{id}

No documentation available.

PUT api/user/Ads/PublishAgain/{id}

No documentation available.

GET api/user/Ads/{id}

No documentation available.

PUT api/user/Ads/{id}

No documentation available.

DELETE api/user/Ads/{id}

No documentation available.

PUT api/user/ChangePassword

No documentation available.

GET api/user/Profile

No documentation available.

PUT api/user/Profile

No documentation available.

Categories

APIDescription
GET api/Categories

No documentation available.

GET api/Categories/{id}

GET api/Categories/categoryId

Ads

APIDescription
GET api/Ads?CategoryId={CategoryId}&TownId={TownId}&StartPage={StartPage}&PageSize={PageSize}

No documentation available.

Towns

APIDescription
GET api/Towns

No documentation available.

GET api/Towns/{id}

GET api/Towns/townId