refs #6915 test into dev #2093
|
@ -5,7 +5,7 @@ const {DOMParser} = require('xmldom');
|
||||||
|
|
||||||
module.exports = Self => {
|
module.exports = Self => {
|
||||||
Self.remoteMethod('cancelShipment', {
|
Self.remoteMethod('cancelShipment', {
|
||||||
description: 'Cancel a shipment by providing the expedition ID, interacting with MRW WS',
|
description: 'Cancel a shipment by providing the expedition ID, interacting with MRW WebService',
|
||||||
accessType: 'WRITE',
|
accessType: 'WRITE',
|
||||||
accepts: [{
|
accepts: [{
|
||||||
arg: 'expeditionFk',
|
arg: 'expeditionFk',
|
||||||
|
|
|
@ -6,7 +6,7 @@ const UserError = require('vn-loopback/util/user-error');
|
||||||
|
|
||||||
module.exports = Self => {
|
module.exports = Self => {
|
||||||
Self.remoteMethod('createShipment', {
|
Self.remoteMethod('createShipment', {
|
||||||
description: 'Create an expedition and return a base64Binary label',
|
description: 'Create an expedition and return a base64Binary label from de MRW WebService',
|
||||||
accessType: 'WRITE',
|
accessType: 'WRITE',
|
||||||
accepts: [{
|
accepts: [{
|
||||||
arg: 'expeditionFk',
|
arg: 'expeditionFk',
|
||||||
|
|
Loading…
Reference in New Issue