ApexERPHost

<back to all web services

GetMActionFull

Requires Authentication
The following routes are available for this service:
GET/Warehousing/MActionJson
GetMActionFull Parameters:
NameParameterData TypeRequiredDescription
ActionIdqueryGuidNo
GetMActionFullResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformMActionsFullNo
MActionsFull Parameters:
NameParameterData TypeRequiredDescription
mActionformMActionsNo
mActionJsonformMActionsJsonNo
MActions Parameters:
NameParameterData TypeRequiredDescription
IdformGuid?No
FirstIdformGuid?No
ActionTypeIdformstringNo
ActionNameformstringNo
StartDateformDateTimeNo
EndDateformDateTimeNo
IsActiveformboolNo
ActionJsonformstringNo
UseTimesformboolNo
Priorityformint?No
MarkingformboolNo
MaxDiscLimitformboolNo
MaxDiscLimitCformboolNo
CrTimeformDateTimeNo
CUserformstringNo
UsedformboolNo
WeekdaysformstringNo
AllBrformboolNo
CommentformstringNo
IsDeletedformboolNo
UnidformGuid?No
InPosformboolNo
InOrdersformboolNo
IgnoreMarkingformboolNo
MActionsJson Parameters:
NameParameterData TypeRequiredDescription
ReceiptVgformdecimalNo
DiscPercentformdecimalNo
DiscAmountformdecimalNo
PointsformdecimalNo
PointsKformdecimalNo
CardDependencyformboolNo
PrintTextformstringNo
ActionProdTypeformint?No
ActionProductsformList<MActionProds>No
ActionResultsformList<MActionProds>No
CardOwnersformList<int>No
CardTypesformList<int>No
ScriptformstringNo
MActionProds Parameters:
NameParameterData TypeRequiredDescription
ProdIdformstringNo
CodeformstringNo
ProdNameformstringNo
DiscPercentformdecimalNo
PriceformdecimalNo
ScountformdecimalNo

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 /Warehousing/MActionJson 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: 
	{
		mAction: 
		{
			Id: 00000000000000000000000000000000,
			FirstId: 00000000000000000000000000000000,
			ActionTypeId: String,
			ActionName: String,
			StartDate: 0001-01-01,
			EndDate: 0001-01-01,
			IsActive: False,
			ActionJson: String,
			UseTimes: False,
			Priority: 0,
			Marking: False,
			MaxDiscLimit: False,
			MaxDiscLimitC: False,
			CrTime: 0001-01-01,
			CUser: String,
			Used: False,
			Weekdays: String,
			AllBr: False,
			Comment: String,
			IsDeleted: False,
			Unid: 00000000000000000000000000000000,
			InPos: False,
			InOrders: False,
			IgnoreMarking: False
		},
		mActionJson: 
		{
			ReceiptVg: 0,
			DiscPercent: 0,
			DiscAmount: 0,
			Points: 0,
			PointsK: 0,
			CardDependency: False,
			PrintText: String,
			ActionProdType: 0,
			ActionProducts: 
			[
				{
					ProdId: String,
					Code: String,
					ProdName: String
				}
			],
			ActionResults: 
			[
				{
					ProdId: String,
					Code: String,
					ProdName: String
				}
			],
			CardOwners: 
			[
				0
			],
			CardTypes: 
			[
				0
			],
			Script: String
		}
	}
}