ImesI

<back to all web services

GetConfig

Requires Authentication
The following routes are available for this service:
GET/config/{Id}
GetConfig Parameters:
NameParameterData TypeRequiredDescription
IdpathintNo
Config Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
UltimaFacturaformintNo
DefaultComiformdecimalNo
IVAformdecimalNo
IRPFformdecimalNo
UltimMesformshortNo
UltimAnyformshortNo
BasicRegister Parameters:
NameParameterData TypeRequiredDescription
CreatedAtformDateTimeOffset?No
CreatedByIdformint?No
CreatedByformBRUserNo
UpdatedAtformDateTimeOffset?No
UpdatedByIdformint?No
UpdatedByformBRUserNo
RowVersionformulongNo
BRUser Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
UserNameformstringNo
EmailformstringNo
FirstNameformstringNo
LastNameformstringNo
DisplayNameformstringNo
TimeZoneformstringNo
RolesformList<string>No
PermissionsformList<string>No
CreatedDateformDateTimeNo
ModifiedDateformDateTimeNo

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 /config/{Id} HTTP/1.1 
Host: gpv.ocellot.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Id":0,"UltimaFactura":0,"DefaultComi":0,"IVA":0,"IRPF":0,"UltimMes":0,"UltimAny":0,"CreatedAt":"0001-01-01T00:00:00.0000000+00:00","CreatedById":0,"CreatedBy":{"Id":0,"UserName":"String","Email":"String","FirstName":"String","LastName":"String","DisplayName":"String","TimeZone":"String","Roles":["String"],"Permissions":["String"],"CreatedDate":"0001-01-01T00:00:00.0000000","ModifiedDate":"0001-01-01T00:00:00.0000000"},"UpdatedAt":"0001-01-01T00:00:00.0000000+00:00","UpdatedById":0,"UpdatedBy":{"Id":0,"UserName":"String","Email":"String","FirstName":"String","LastName":"String","DisplayName":"String","TimeZone":"String","Roles":["String"],"Permissions":["String"],"CreatedDate":"0001-01-01T00:00:00.0000000","ModifiedDate":"0001-01-01T00:00:00.0000000"},"RowVersion":0}