| POST | /Accounting/MultiManufacture/AMA |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DDate | body | DateTime | No | |
| OperID | body | string | No | |
| DB | body | string | No | |
| CR | body | string | No | |
| Tags | body | string | No | |
| MOperID | body | string | No | |
| MDB | body | string | No | |
| MTags | body | string | No | |
| ProdData | body | List<AMAProductionReciept> | No | |
| NumberOut | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProdPP_id | form | string | No | |
| ICount | form | decimal | No | |
| Receipt | form | List<Receipt> | No | |
| LifeDate | form | DateTime? | No | |
| Code | form | string | No | |
| ICountU | form | decimal? | No | |
| RecipeId | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MProdpPP_id | form | string | No | |
| SCount | form | decimal | No | |
| Supplies_id | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<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.
POST /Accounting/MultiManufacture/AMA HTTP/1.1
Host: 10.10.0.107
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
DDate: 0001-01-01,
OperID: String,
DB: String,
CR: String,
Tags: String,
MOperID: String,
MDB: String,
MTags: String,
ProdData:
[
{
ProdPP_id: String,
ICount: 0,
Receipt:
[
{
MProdpPP_id: String,
SCount: 0,
Supplies_id: String
}
],
LifeDate: 0001-01-01,
Code: String,
ICountU: 0,
RecipeId: 0
}
],
NumberOut: String
}
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:
[
String
]
}