POST | /Accounting/FixedAssets/Import/Save |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DDate | body | DateTime | No | |
TranzitAcc | body | string | No | |
SuppOper | body | string | No | |
ImportOper | body | string | No | |
DeprOper | body | string | No | |
ExpOper | body | string | No | |
FixedAssets | body | List<FixedAssetsImport> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
InvNumber | form | string | No | |
InvName | form | string | No | |
InvNameOrig | form | string | No | |
FinGroupName | form | string | No | |
Unit | form | string | No | |
DB | form | string | No | |
CR | form | string | No | |
ICount | form | decimal | No | |
Vg | form | decimal | No | |
Vat | form | decimal? | No | |
CurrencyCode | form | string | No | |
RateC | form | decimal? | No | |
PersonSN | form | string | No | |
Location | form | string | No | |
ExpVg | form | decimal? | No | |
SVg | form | decimal? | No | |
DeprType | form | int? | No | |
LifeYears | form | decimal? | No | |
DeprPercent | form | decimal? | No | |
AcumDepr | form | decimal? | No | |
DeprecationAcc | form | string | No | |
Issued | form | int? | No | |
ProducerName | form | string | No | |
Note | form | string | No | |
Error | form | bool | No | |
ErrorText | form | string | No | |
InvListId | form | int? | No | |
FinGroupId | form | int? | No | |
TaxGroupId | form | int? | No | |
UnitId | form | int? | No | |
ProducerId | form | string | No | |
PersonId | form | int? | No | |
LocationId | form | int? | No | |
CurrencyId | form | string | No | |
DocsId | form | string | No | |
NId | form | int? | No | |
SuppDId | form | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Accounting/FixedAssets/Import/Save HTTP/1.1
Host: apex.nikoratrade.ge
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
DDate: 0001-01-01,
TranzitAcc: String,
SuppOper: String,
ImportOper: String,
DeprOper: String,
ExpOper: String,
FixedAssets:
[
{
InvNumber: String,
InvName: String,
InvNameOrig: String,
FinGroupName: String,
Unit: String,
DB: String,
CR: String,
ICount: 0,
Vg: 0,
Vat: 0,
CurrencyCode: String,
RateC: 0,
PersonSN: String,
Location: String,
ExpVg: 0,
SVg: 0,
DeprType: 0,
LifeYears: 0,
DeprPercent: 0,
AcumDepr: 0,
DeprecationAcc: String,
Issued: 0,
ProducerName: String,
Note: String,
Error: False,
ErrorText: String,
InvListId: 0,
FinGroupId: 0,
TaxGroupId: 0,
UnitId: 0,
ProducerId: String,
PersonId: 0,
LocationId: 0,
CurrencyId: String,
DocsId: String,
NId: 0,
SuppDId: 0
}
]
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ResponseStatus: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String, Meta: { String: String } } ], Meta: { String: String } }, Result: False }