Exemplo n.º 1
0
 protected override Dictionary <LightspeedRequestPathParam, string> GetPathParams()
 {
     return(new Dictionary <LightspeedRequestPathParam, string>
     {
         { LightspeedRequestPathParam.LoadRelations, "[\"Contact\"]" },
         { LightspeedRequestPathParam.ShipToId, LightspeedIdRangeBuilder.GetIdRangeParam(_shipToIds) }
     });
 }
Exemplo n.º 2
0
 protected override Dictionary <LightspeedRequestPathParam, string> GetPathParams()
 {
     if (ItemIds.Count == 0)
     {
         return(new Dictionary <LightspeedRequestPathParam, string>());
     }
     return(new Dictionary <LightspeedRequestPathParam, string>
     {
         { LightspeedRequestPathParam.ItemId, LightspeedIdRangeBuilder.GetIdRangeParam(ItemIds) }
     });
 }