Click or drag to resize

MassDispatchRepository Class

Client to PDF mass shipment service
Inheritance Hierarchy
SystemObject
  Scanjour.Workflow4.Web.Services.RepositoriesMassDispatchRepository

Namespace: Scanjour.Workflow4.Web.Services.Repositories
Assembly: Scanjour.Workflow4.Web.Services (in Scanjour.Workflow4.Web.Services.dll) Version: 24.5.0.0 (24.5.0.0)
Syntax
public class MassDispatchRepository : IDisposable

The MassDispatchRepository type exposes the following members.

Constructors
 NameDescription
Public methodMassDispatchRepository Create MassDispatchRepository instance.
Top
Properties
 NameDescription
Public propertyRelativeUriBase The part of relative Uri that is invariant for all requests. Must be relative Uri.
Public propertyRequestHeaders If containing any elements, Headers will be added to request.
Top
Methods
 NameDescription
Public methodCancel Cancel current shipment DELETE /Shipment/{ID}
Public methodCreate Start new shipment POST /Shipment Content-Type: application/json Body: {"ODataUri":"http://someserver/OData","DataSourceId":"123","TemplateId":"456"} Theoretically, this body can also be {"ODataUri":"http://someserver/OData","ProcessId":"123"} Response will contain unique ID which allows to track shipment on our side.
Public methodDispose Disposable with pattern.
Protected methodDispose(Boolean) Disposing stuff.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGet Get state of current shipment GET /Shipment/{ID}
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodStatic memberGetJsonRequestBody Creates serialized body of parameters.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdate Accept verification(against schema, WZCS existence, template) and/or validation(against E-Boks) issues if any, and also accept preview PUT /Shipment/{ID}
Top
Extension Methods
See Also