DocCloud API

<back to all web services

ListUnitTypeQuery

Requires Authentication
The following routes are available for this service:
GET/unittypeGet All Unit Types
ListUnitTypeQuery Parameters:
NameParameterData TypeRequiredDescription
OrderByquerystringNo
SortTypequerystringNo
PagesqueryintNo
AmountqueryintNo
ListUnitTypeResponse Parameters:
NameParameterData TypeRequiredDescription
AmountformintNo
MultipleResultBaseResponse<T> Parameters:
NameParameterData TypeRequiredDescription
MultipleResultformIList<T>No
AmountformlongNo
UnitTypeDto Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
DescriptionformstringNo
BaseKeyDto Parameters:
NameParameterData TypeRequiredDescription
CreatedByIdformuintNo
ModifiedByIdformuintNo
CreatedDateformDateTimeNo
ModifiedDateformDateTimeNo
IdformuintNo

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

HTTP + CSV

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

GET /unittype HTTP/1.1 
Host: api.chmuradokumentow.pl 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"amount":0,"amount":0}