HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jpk/declarationitems HTTP/1.1
Host: api.chmuradokumentow.pl
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"jpkDeclarationItemsDto":{"isMonthly":false,"jpkDate":"0001-01-01T00:00:00.0000000Z","p_10":0,"p_11":0,"p_12":0,"p_13":0,"p_14":0,"p_15":0,"p_16":0,"p_17":0,"p_18":0,"p_19":0,"p_20":0,"p_21":0,"p_22":0,"p_23":0,"p_24":0,"p_25":0,"p_26":0,"p_27":0,"p_28":0,"p_29":0,"p_30":0,"p_31":0,"p_32":0,"p_33":0,"p_34":0,"p_35":0,"p_36":0,"p_37":0,"p_38":0,"p_39":0,"p_40":0,"p_41":0,"p_42":0,"p_43":0,"p_44":0,"p_45":0,"p_46":0,"p_47":0,"p_48":0,"p_49":0,"p_50":0,"p_51":0,"p_52":0,"p_53":0,"p_54":0,"p_55":false,"p_56":false,"p_57":false,"p_58":false,"p_59":false,"p_60":0,"p_61":"String","p_62":0,"p_63":false,"p_64":false,"p_65":false,"p_66":false,"p_67":false,"p_68":0,"p_69":0,"p_ORDZU":"String","createdById":0,"modifiedById":0,"createdDate":"0001-01-01T00:00:00.0000000Z","modifiedDate":"0001-01-01T00:00:00.0000000Z","id":0}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"jpkDeclarationItemsDto":{"isMonthly":false,"jpkDate":"0001-01-01T00:00:00.0000000Z","p_10":0,"p_11":0,"p_12":0,"p_13":0,"p_14":0,"p_15":0,"p_16":0,"p_17":0,"p_18":0,"p_19":0,"p_20":0,"p_21":0,"p_22":0,"p_23":0,"p_24":0,"p_25":0,"p_26":0,"p_27":0,"p_28":0,"p_29":0,"p_30":0,"p_31":0,"p_32":0,"p_33":0,"p_34":0,"p_35":0,"p_36":0,"p_37":0,"p_38":0,"p_39":0,"p_40":0,"p_41":0,"p_42":0,"p_43":0,"p_44":0,"p_45":0,"p_46":0,"p_47":0,"p_48":0,"p_49":0,"p_50":0,"p_51":0,"p_52":0,"p_53":0,"p_54":0,"p_55":false,"p_56":false,"p_57":false,"p_58":false,"p_59":false,"p_60":0,"p_61":"String","p_62":0,"p_63":false,"p_64":false,"p_65":false,"p_66":false,"p_67":false,"p_68":0,"p_69":0,"p_ORDZU":"String","createdById":0,"modifiedById":0,"createdDate":"0001-01-01T00:00:00.0000000Z","modifiedDate":"0001-01-01T00:00:00.0000000Z","id":0}}