ApexERPHost

<back to all web services

AddToTara

Requires Authentication
The following routes are available for this service:
POST/Manufacturing/Production/AddToTara
AddToTara Parameters:
NameParameterData TypeRequiredDescription
OperIDbodyint?No
ProdIDbodystringNo
DestinationTaraIDbodyint?No
Quantitybodydecimal?No
TaraWeightbodydecimal?No
AddToTaraResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformTaraInNo
TaraIn Parameters:
NameParameterData TypeRequiredDescription
TaraInIDformlongNo
OperIDformintNo
TaraIDformintNo
TaraWeightformdecimalNo
ProdIDformstringNo
ICountformdecimalNo
RCountformdecimalNo
TaraOutIDformlong?No
CRTimeformDateTimeNo
CRPersonIDformintNo
WeightScaleIDformint?No
WeightTimeformDateTime?No
WeightPersonIDformint?No
SuppliesformList<string>No
TaraCodeformstringNo
VGformdecimalNo
SubTarasformList<SubTara>No
SubTara Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
SubTaraTypeformintNo
QuantityformdecimalNo
WeightformdecimalNo

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

HTTP + JSV

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

POST /Manufacturing/Production/AddToTara HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	OperID: 0,
	ProdID: String,
	DestinationTaraID: 0,
	Quantity: 0,
	TaraWeight: 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: 
	{
		TaraInID: 0,
		OperID: 0,
		TaraID: 0,
		TaraWeight: 0,
		ProdID: String,
		ICount: 0,
		RCount: 0,
		TaraOutID: 0,
		CRTime: 0001-01-01,
		CRPersonID: 0,
		WeightScaleID: 0,
		WeightTime: 0001-01-01,
		WeightPersonID: 0,
		Supplies: 
		[
			String
		],
		TaraCode: String,
		VG: 0,
		SubTaras: 
		[
			{
				Id: 0,
				SubTaraType: 0,
				Quantity: 0,
				Weight: 0
			}
		]
	}
}