s1 API Host

<back to all web services

GetGroupedCategoriesRequest

The following routes are available for this service:
GET, OPTIONS/api/admin/categoriesGet all linked categories including the nameUser has to be authenticated and admin.

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/GetGroupedCategoriesRequest HTTP/1.1 
Host: s1-api.fource.nl 
Content-Type: application/xml
Content-Length: length

<GetGroupedCategoriesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.Admin.Categories" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfGroupedCategoriesAdminModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.Admin.Categories">
  <GroupedCategoriesAdminModel>
    <Categories i:nil="true" />
    <GroupId>0</GroupId>
    <GroupName>String</GroupName>
  </GroupedCategoriesAdminModel>
</ArrayOfGroupedCategoriesAdminModel>