| All Verbs | /TriOnItemScanned |
|---|
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using GoToLightAPI;
namespace GoToLightAPI
{
public partial class TriOnItemScanned
{
///<summary>
///Article/Reference/GTIN barcode
///</summary>
[ApiMember(Description="Article/Reference/GTIN barcode", IsRequired=true)]
public virtual string BarcodeValue { get; set; }
///<summary>
///Rack name
///</summary>
[ApiMember(Description="Rack name", IsRequired=true)]
public virtual string RackName { get; set; }
///<summary>
///User id
///</summary>
[ApiMember(Description="User id", IsRequired=true)]
public virtual string UserId { get; set; }
///<summary>
///Item label
///</summary>
[ApiMember(Description="Item label")]
public virtual string Label { get; set; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /TriOnItemScanned HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"BarcodeValue":"String","RackName":"String","UserId":"String","Label":"String"}