MassDispatchRepository Class

Scanjour Workflow4 Reference Manual
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: 23.3.0.0 (23.3.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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows 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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetJsonRequestBody
Creates serialized body of parameters.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns 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

  NameDescription
Public Extension MethodFormatFromDictionary (Defined by DictionaryExtensions.)
Public Extension MethodGetFirstValue (Defined by DictionaryExtensions.)
Top
See Also

Reference