ApexERPHost

<back to all web services

GetActiveMActions

Requires Authentication
The following routes are available for this service:
GET/Warehousing/ActiveMActions/{BranchId}
GET/Warehousing/ActiveMActions
GetActiveMActions Parameters:
NameParameterData TypeRequiredDescription
BranchIdpathintNo
OrderTypequeryintNo
PresalerIdqueryint?No
CustomerBranchIdqueryint?No
GetActiveMActionsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ActiveMActionsformList<MActionsFull>No
ActiveMActionsJsonformstringNo
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
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 .x-protobuf suffix or ?format=x-protobuf

HTTP + X-PROTOBUF

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

GET /Warehousing/ActiveMActions/{BranchId} HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/x-protobuf
HTTP/1.1 200 OK
Content-Type: application/x-protobuf
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"ActiveMActions":[{"mAction":{"Id":"00000000000000000000000000000000","FirstId":"00000000000000000000000000000000","ActionTypeId":"String","ActionName":"String","StartDate":"\/Date(-62135596800000-0000)\/","EndDate":"\/Date(-62135596800000-0000)\/","IsActive":false,"ActionJson":"String","UseTimes":false,"Priority":0,"Marking":false,"MaxDiscLimit":false,"MaxDiscLimitC":false,"CrTime":"\/Date(-62135596800000-0000)\/","CUser":"String","Used":false,"Weekdays":"String","AllBr":false,"Comment":"String","IsDeleted":false,"Unid":"00000000000000000000000000000000","InPos":false,"InOrders":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"}}],"ActiveMActionsJson":"String"}