| GET | /Accounting/FixedAsets/Constructions | ||
|---|---|---|---|
| GET | /Accounting/FixedAsets/Constructions/{ConstructionId} |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ConstructionId | path | int? | No | |
| CType | query | int? | No | |
| D1 | query | DateTime? | No | |
| D2 | query | DateTime? | No | |
| InProgress | query | bool | No | |
| FaSuppId | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<FAConstructions> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| CType | form | int | No | |
| Name | form | string | No | |
| Acc | form | string | No | |
| SDate | form | DateTime | No | |
| EDate | form | DateTime? | No | |
| InvId | form | int | No | |
| ICount | form | decimal | No | |
| SuppId | form | int? | No | |
| Note | form | string | No | |
| AccNu | form | string | No | |
| FName | form | string | No | |
| BookId | form | string | No | |
| NumberIn | form | string | 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.
GET /Accounting/FixedAsets/Constructions HTTP/1.1 Host: 10.10.0.107 Accept: text/jsv
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:
[
{
Id: 0,
CType: 0,
Name: String,
Acc: String,
SDate: 0001-01-01,
EDate: 0001-01-01,
InvId: 0,
ICount: 0,
SuppId: 0,
Note: String,
AccNu: String,
FName: String,
BookId: String,
NumberIn: String
}
]
}