| All Verbs | /GetPositions/{Key} |
|---|
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 GetPositions
{
///<summary>
///Key identifying one or several locations
///</summary>
[ApiMember(Description="Key identifying one or several locations", IsRequired=true)]
public virtual string Key { get; set; }
///<summary>
///Optional: name of the stockroom where the position(s) is (are) located
///</summary>
[ApiMember(Description="Optional: name of the stockroom where the position(s) is (are) located")]
public virtual string StockroomName { 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 /GetPositions/{Key} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Key":"String","StockroomName":"String"}