DocCloud API

<back to all web services

RegistryKpirCreateCommand

Requires Authentication
The following routes are available for this service:
POST/registrykpirCreate RegistryKpir Item
RegistryKpirCreateCommand Parameters:
NameParameterData TypeRequiredDescription
IsIncomebodyboolNo
InvSrcIdbodyuintNo
InvSrcNumberbodystringNo
InvSrcDatebodyDateTimeNo
InvSrcNettobodydecimalNo
InvSrcVatbodydecimalNo
InvSrcGrossbodydecimalNo
NumberbodystringNo
AccountingDatebodyDateTimeNo
CategoryIdbodyuintNo
CategoryNamebodystringNo
SellIdbodyuintNo
SellNamebodystringNo
SellVatIdbodystringNo
SellStreetNamebodystringNo
SellStreetNumberbodystringNo
SellFlatNumberbodystringNo
SellPostalCodebodystringNo
SellTownbodystringNo
SellCountryIdbodyuintNo
SellIsoCountrybodystringNo
SellCountrybodystringNo
RecIdbodyuintNo
RecNamebodystringNo
RecVatIdbodystringNo
RecStreetNamebodystringNo
RecStreetNumberbodystringNo
RecFlatNumberbodystringNo
RecPostalCodebodystringNo
RecTownbodystringNo
RecCountryIdbodyuintNo
RecIsoCountrybodystringNo
RecCountrybodystringNo
CurrencyIdbodyuintNo
CurrencybodystringNo
NettoIncomebodydecimalNo
NettoExpenditurebodydecimalNo
Netto_Pos7bodydecimalNo
Netto_Pos8bodydecimalNo
Netto_Pos9bodydecimalNo
Netto_Pos10bodydecimalNo
Netto_Pos11bodydecimalNo
Netto_Pos12bodydecimalNo
Netto_Pos13bodydecimalNo
Netto_Pos14bodydecimalNo
Netto_Pos15bodydecimalNo
Netto_Pos16bodydecimalNo
DescriptionbodystringNo
RemarksbodystringNo
FileIdbodyulongNo
PostOperationResult<T> Parameters:
NameParameterData TypeRequiredDescription
IdformTNo
OperationResult Parameters:
NameParameterData TypeRequiredDescription
CodeformstringNo
ResponseStatusformResponseStatusNo
ResultformObjectNo
IsSuccessformboolNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /registrykpir HTTP/1.1 
Host: api.chmuradokumentow.pl 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"isIncome":false,"invSrcId":0,"invSrcNumber":"String","invSrcDate":"0001-01-01T00:00:00.0000000Z","invSrcNetto":0,"invSrcVat":0,"invSrcGross":0,"number":"String","accountingDate":"0001-01-01T00:00:00.0000000Z","categoryId":0,"categoryName":"String","sellId":0,"sellName":"String","sellVatId":"String","sellStreetName":"String","sellStreetNumber":"String","sellFlatNumber":"String","sellPostalCode":"String","sellTown":"String","sellCountryId":0,"sellIsoCountry":"String","sellCountry":"String","recId":0,"recName":"String","recVatId":"String","recStreetName":"String","recStreetNumber":"String","recFlatNumber":"String","recPostalCode":"String","recTown":"String","recCountryId":0,"recIsoCountry":"String","recCountry":"String","currencyId":0,"currency":"String","nettoIncome":0,"nettoExpenditure":0,"netto_Pos7":0,"netto_Pos8":0,"netto_Pos9":0,"netto_Pos10":0,"netto_Pos11":0,"netto_Pos12":0,"netto_Pos13":0,"netto_Pos14":0,"netto_Pos15":0,"netto_Pos16":0,"description":"String","remarks":"String","fileId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"id":0,"code":"FAIL","responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"result":{},"isSuccess":false}