API Resources
ProfileUpdateHT
Profile change requests by other profiles Going to need to add premission checking once it's figured out by Product Owner and Client
| API | Description |
|---|---|
| GET ProfileUpdateHTs |
Search |
| POST ProfileUpdateHTs |
Create |
| GET ProfileUpdateHT/{id} |
Get |
| PUT ProfileUpdateHT/{id} |
Update |
| DELETE ProfileUpdateHT/{id} |
Delete |
| GET profileUpdateHTs/profile/{profileId} |
Get Profile |
| POST ProfileUpdateHTs/profiles |
Save Profile Changes to added profiles (profileId is zero, so can't check permission access) |
| GET ProfileUpdateHT/{id}/profile |
get editable profile off the given profileupdateht id's record. if approved or rejected, then returns null. This really is only needed for geting the profile of added relations. the ProfileUpdateHTs/profile/{profileId:INT} is better for existing profiles. has to check permission manually as identifiers are on the profileUpdateHt record. |
| POST ProfileUpdateHTs/profile/{profileId} |
Save Profile Changes and updates the profileUpdateHt accourdingly |
| GET ProfileUpdateHTs/profile/{profileId}/Listings |
Get listings for given profile id. Authenticated User must have permission to the profile |
| GET ProfileUpdateHTs/Listings/Categories |
Get a list of all listing categories |
| GET ProfileUpdateHTs/Listings/SubCategories |
Get a list of all listing sub categories |
| GET ProfileUpdateHTs/Listings/{categoryId}/SubCategories |
Get a list of listing sub categories for a given listing category id |
| GET ProfileUpdateHTs/profile/{profileId}/EditableProfileRelations |
Get all or search for profile primary relations related to the given profileid |
| GET ProfileUpdateHTs/profile/{profileId}/NewRelatedEditableProfile |
gets pending profile add requests related to the given profileid (for editing) |
| GET ProfileUpdateHTs/ProfileRelation/{id} |
Get a profile relation |