ApexERPHost

<back to all web services

GetTaraContent

Requires Authentication
The following routes are available for this service:
GET/Manufacturing/Tara/{TaraID}/Content
GET/Manufacturing/Tara/ByCode/{TaraCode}/Content
GetTaraContent Parameters:
NameParameterData TypeRequiredDescription
TaraIDpathint?No
TaraCodepathstringNo
GetTaraContentResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<TaraIn>No
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.

GET /Manufacturing/Tara/{TaraID}/Content HTTP/1.1 
Host: apex.nikoratrade.ge 
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: 
	[
		{
			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
				}
			]
		}
	]
}