ApexERPHost

<back to all web services

ReceiveProducedTara

Requires Authentication
The following routes are available for this service:
POST/Manufacturing/TMP/Received/Tara
ReceiveProducedTara Parameters:
NameParameterData TypeRequiredDescription
TarabodyReceiveTaraNo
ReceiveTara Parameters:
NameParameterData TypeRequiredDescription
BaseTaraWeightformdecimal?No
UserIDformintNo
TaraIDformint?No
ProductsformList<RecProdRef>No
RecProdRef Parameters:
NameParameterData TypeRequiredDescription
ProdIDformstringNo
ICountformdecimalNo
StickCountformint?No
HookCountformint?No
GridCountformint?No
WeighTimeformDateTimeNo
DocIDformstringNo
QuantityWeightformdecimal?No
Quantityformdecimal?No
ReceiveProducedTaraResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformboolNo

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/TMP/Received/Tara HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Tara: 
	{
		BaseTaraWeight: 0,
		UserID: 0,
		TaraID: 0,
		Products: 
		[
			{
				ProdID: String,
				ICount: 0,
				StickCount: 0,
				HookCount: 0,
				GridCount: 0,
				WeighTime: 0001-01-01,
				DocID: String,
				QuantityWeight: 0,
				Quantity: 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
}