Antel Merchandiser App API

<back to all web services

IncompleteUpliftRequestFromServer

The following routes are available for this service:
GET/sync/incompleteupliftrequest
namespace WebService.ServiceModel

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type ApiServiceResponse() = 
        ///<summary>
        ///Information about the response.
        ///</summary>
        [<ApiMember(Description="Information about the response.", IsRequired=true)>]
        member val Description:String = null with get,set

        ///<summary>
        ///Heading or summary of the response.
        ///</summary>
        [<ApiMember(Description="Heading or summary of the response.", IsRequired=true)>]
        member val Heading:String = null with get,set

        ///<summary>
        ///Did the intended operation for this response complete successfully?
        ///</summary>
        [<ApiMember(DataType="boolean", Description="Did the intended operation for this response complete successfully?", IsRequired=true)>]
        member val WasSuccessful:Boolean = new Boolean() with get,set

        member val ResponseStatus:ResponseStatus = null with get,set

    [<AllowNullLiteral>]
    type Seal() = 
        member val Number:String = null with get,set
        member val Weight:Double = new Double() with get,set

    [<AllowNullLiteral>]
    type SealData() = 
        inherit Seal()

    [<AllowNullLiteral>]
    type UpliftRequestProductData() = 
        member val Id:Guid = new Guid() with get,set
        member val UpliftRequestProductId:Int32 = new Int32() with get,set
        member val ProductId:Int32 = new Int32() with get,set
        member val PrincipalId:Int32 = new Int32() with get,set
        member val UnitPrice:Decimal = new Decimal() with get,set
        member val Name:String = null with get,set
        member val Category:String = null with get,set
        member val UnitBarcode:String = null with get,set
        member val UnitSize:String = null with get,set
        member val UnitWeight:Decimal = new Decimal() with get,set
        member val Code:String = null with get,set
        member val Images:ResizeArray<Object> = new ResizeArray<Object>() with get,set
        member val Quantity:Double = new Double() with get,set
        member val Value:Decimal = new Decimal() with get,set
        member val ProductionDate:String = null with get,set
        member val ExpiryDate:String = null with get,set
        member val BatchCode:String = null with get,set
        member val Seal:SealData = null with get,set
        member val SerialNumber:String = null with get,set
        member val StockStatusId:Int32 = new Int32() with get,set
        member val PrincipalLogoUrl:String = null with get,set
        member val PrincipalName:String = null with get,set
        member val StockStatusName:String = null with get,set
        member val StockStatusColor:String = null with get,set
        member val UnitOfMeasureId:Int32 = new Int32() with get,set

    [<AllowNullLiteral>]
    type UpliftRequestData() = 
        member val UpliftRequestId:Int32 = new Int32() with get,set
        member val Id:Guid = new Guid() with get,set
        member val OutletId:Int32 = new Int32() with get,set
        member val Products:ResizeArray<UpliftRequestProductData> = new ResizeArray<UpliftRequestProductData>() with get,set
        member val OutletEmailAddress:String = null with get,set
        member val OutletContactName:String = null with get,set
        member val OutletChannel:String = null with get,set
        member val OutletRegion:String = null with get,set
        member val AdditionalNotes:String = null with get,set
        member val MerchandiserSignatureImage:Object = null with get,set
        member val StartTime:String = null with get,set
        member val StartLatitude:Double = new Double() with get,set
        member val StartLongitude:Double = new Double() with get,set
        member val EndTime:String = null with get,set
        member val EndLatitude:Double = new Double() with get,set
        member val EndLongitude:Double = new Double() with get,set
        member val LastUpdated:DateTime = new DateTime() with get,set
        member val LastSynced:DateTime = new DateTime() with get,set
        member val IncompleteUpliftRequestId:String = null with get,set
        member val AuthRequestId:Guid = new Guid() with get,set
        member val Authorised:Boolean = new Boolean() with get,set
        member val PrincipalId:Int32 = new Int32() with get,set
        member val Seals:ResizeArray<SealData> = new ResizeArray<SealData>() with get,set
        member val Confirmed:Boolean = new Boolean() with get,set
        member val Cancelled:Boolean = new Boolean() with get,set
        member val Images:ResizeArray<Object> = new ResizeArray<Object>() with get,set
        member val SubmitImmediately:Boolean = new Boolean() with get,set

    [<AllowNullLiteral>]
    type IncompleteUpliftRequestFromServerResponse() = 
        inherit ApiServiceResponse()
        member val UpliftRequestData:UpliftRequestData = null with get,set

    [<AllowNullLiteral>]
    type ApiServiceRequest() = 
        ///<summary>
        ///The API Key required for authentication
        ///</summary>
        [<ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true)>]
        member val ApiKey:String = null with get,set

        ///<summary>
        ///Latitude of the user making this request
        ///</summary>
        [<ApiMember(DataType="double", Description="Latitude of the user making this request")>]
        member val Latitude:Double = new Double() with get,set

        ///<summary>
        ///Longitude of the user making this request
        ///</summary>
        [<ApiMember(DataType="double", Description="Longitude of the user making this request")>]
        member val Longitude:Double = new Double() with get,set

    [<AllowNullLiteral>]
    type IncompleteUpliftRequestFromServer() = 
        inherit ApiServiceRequest()
        member val IncompleteUpliftRequestId:Guid = new Guid() with get,set

F# IncompleteUpliftRequestFromServer DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

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

GET /sync/incompleteupliftrequest HTTP/1.1 
Host: returnit-api-dev.happen.zone 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<IncompleteUpliftRequestFromServerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebService.ServiceModel">
  <Description xmlns="http://schemas.datacontract.org/2004/07/WebService.AppApi.Models.Base">String</Description>
  <Heading xmlns="http://schemas.datacontract.org/2004/07/WebService.AppApi.Models.Base">String</Heading>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types" xmlns="http://schemas.datacontract.org/2004/07/WebService.AppApi.Models.Base">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
  <WasSuccessful xmlns="http://schemas.datacontract.org/2004/07/WebService.AppApi.Models.Base">false</WasSuccessful>
  <UpliftRequestData xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebService.AppApi.Models">
    <d2p1:AdditionalNotes>String</d2p1:AdditionalNotes>
    <d2p1:AuthRequestId>00000000-0000-0000-0000-000000000000</d2p1:AuthRequestId>
    <d2p1:Authorised>false</d2p1:Authorised>
    <d2p1:Cancelled>false</d2p1:Cancelled>
    <d2p1:Confirmed>false</d2p1:Confirmed>
    <d2p1:EndLatitude>0</d2p1:EndLatitude>
    <d2p1:EndLongitude>0</d2p1:EndLongitude>
    <d2p1:EndTime>String</d2p1:EndTime>
    <d2p1:Id>00000000-0000-0000-0000-000000000000</d2p1:Id>
    <d2p1:Images xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:anyType />
    </d2p1:Images>
    <d2p1:IncompleteUpliftRequestId>String</d2p1:IncompleteUpliftRequestId>
    <d2p1:LastSynced>0001-01-01T00:00:00</d2p1:LastSynced>
    <d2p1:LastUpdated>0001-01-01T00:00:00</d2p1:LastUpdated>
    <d2p1:MerchandiserSignatureImage />
    <d2p1:OutletChannel>String</d2p1:OutletChannel>
    <d2p1:OutletContactName>String</d2p1:OutletContactName>
    <d2p1:OutletEmailAddress>String</d2p1:OutletEmailAddress>
    <d2p1:OutletId>0</d2p1:OutletId>
    <d2p1:OutletRegion>String</d2p1:OutletRegion>
    <d2p1:PrincipalId>0</d2p1:PrincipalId>
    <d2p1:Products>
      <d2p1:UpliftRequestProductData>
        <d2p1:BatchCode>String</d2p1:BatchCode>
        <d2p1:Category>String</d2p1:Category>
        <d2p1:Code>String</d2p1:Code>
        <d2p1:ExpiryDate>String</d2p1:ExpiryDate>
        <d2p1:Id>00000000-0000-0000-0000-000000000000</d2p1:Id>
        <d2p1:Images xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:anyType />
        </d2p1:Images>
        <d2p1:Name>String</d2p1:Name>
        <d2p1:PrincipalId>0</d2p1:PrincipalId>
        <d2p1:PrincipalLogoUrl>String</d2p1:PrincipalLogoUrl>
        <d2p1:PrincipalName>String</d2p1:PrincipalName>
        <d2p1:ProductId>0</d2p1:ProductId>
        <d2p1:ProductionDate>String</d2p1:ProductionDate>
        <d2p1:Quantity>0</d2p1:Quantity>
        <d2p1:Seal>
          <Number xmlns="http://schemas.datacontract.org/2004/07/BusinessLogic.Entities">String</Number>
          <Weight xmlns="http://schemas.datacontract.org/2004/07/BusinessLogic.Entities">0</Weight>
        </d2p1:Seal>
        <d2p1:SerialNumber>String</d2p1:SerialNumber>
        <d2p1:StockStatusColor>String</d2p1:StockStatusColor>
        <d2p1:StockStatusId>0</d2p1:StockStatusId>
        <d2p1:StockStatusName>String</d2p1:StockStatusName>
        <d2p1:UnitBarcode>String</d2p1:UnitBarcode>
        <d2p1:UnitOfMeasureId>0</d2p1:UnitOfMeasureId>
        <d2p1:UnitPrice>0</d2p1:UnitPrice>
        <d2p1:UnitSize>String</d2p1:UnitSize>
        <d2p1:UnitWeight>0</d2p1:UnitWeight>
        <d2p1:UpliftRequestProductId>0</d2p1:UpliftRequestProductId>
        <d2p1:Value>0</d2p1:Value>
      </d2p1:UpliftRequestProductData>
    </d2p1:Products>
    <d2p1:Seals>
      <d2p1:SealData>
        <Number xmlns="http://schemas.datacontract.org/2004/07/BusinessLogic.Entities">String</Number>
        <Weight xmlns="http://schemas.datacontract.org/2004/07/BusinessLogic.Entities">0</Weight>
      </d2p1:SealData>
    </d2p1:Seals>
    <d2p1:StartLatitude>0</d2p1:StartLatitude>
    <d2p1:StartLongitude>0</d2p1:StartLongitude>
    <d2p1:StartTime>String</d2p1:StartTime>
    <d2p1:SubmitImmediately>false</d2p1:SubmitImmediately>
    <d2p1:UpliftRequestId>0</d2p1:UpliftRequestId>
  </UpliftRequestData>
</IncompleteUpliftRequestFromServerResponse>