Read Inventory Transfer

Retrieves the details of a Inventory Transfer object that has been previously created.

Parameters

Path Params
yourCompany:string
The Company name need to passed in the base URL.For eg. if you enter xyzcompany name, the url https://{yourCompany}.agiliron.net/agiliron/api-40.php/InventoryTransfer will change to https://xyzcompany.agiliron.net/agiliron/api-40.php/InventoryTransfer
Query Params
filter:string
In this parameter fieldname needs to be provided with condition and value
to fetch related details.for eg. Subject,eq,InventoryTransfer subject

1) To fetch InventoryTransfer with status equal to shipped and custom field(Test CheckBox) value is no or off, the following url must be used

https://xyzcompany.agiliron.net/agiliron/api-40/InventoryTransfer?filter=Status,eq,Created | Invoiced | Shipped;Test CheckBox,eq,0&key=xyzkey

2) To fetch InventoryTransfer with created date between 01-15-2020 to 01-31-2020 (Use | between two dates), the following url must be used

https://xyzcompany.agiliron.net/agiliron/api-40/InventoryTransfer?filter=OrderDate,bt,01-15-2020 | 01-31-2020&key=xyzkey

3) To fetch InventoryTransfer with created datetime between 01-15-2020 01:03:10 to 01-31-2020 20:00:00 (Use | between two dates), the following url must be used

https://xyzcompany.agiliron.net/agiliron/api-40/InventoryTransfer?filter=OrderDate,bt,01-15-2020 01:03:10| 01-31-2020 20:00:00&key=xyzkey

4) To fetch InventoryTransfer with DeliverTo 'OAK' OR 'PDX' (Use OR between two values), the following url must be used

https://xyzcompany.agiliron.net/agiliron/api-40/InventoryTransfer?filter=DeliverTo,eq,OAK OR PDX&key=xyzkey

List of condition abbrevations to be used:
"cs": contain string (string contains value)
"sw": start with (string starts with value)
"ew": end with (string end with value)
"neq": not equal (string or number should not match)
"eq": equal (string or number matches exactly)
"lt": lower than (number is lower than value)
"le": lower or equal (number is lower than or equal to value)
"ge": greater or equal (number is higher than or equal to value)
"gt": greater than (number is higher than value)
"bt": between (number is between two comma separated values)
page:int
Page number needs to be passed in this variable ,to paginate the response.For eg. To fetch InventoryTransfer with status equal to shipped and custom field(Test CheckBox) value is no or off and page equal to 10, the following url must be used

https://xyzcompany.agiliron.net/agiliron/api-40/InventoryTransfer?filter=Status,eq,Created | Invoiced | Shipped;Test CheckBox,eq,0&page=10&key=xyzkey
pageSize:int
In this parameter pageSize number needs to be provided to fetch related page details.For eg. To fetch InventoryTransfer with status equal to shipped and custom field(Test CheckBox) value is no or off and page size equal to 10, the following url must be used

https://xyzcompany.agiliron.net/agiliron/api-40/InventoryTransfer?filter=Status,eq,Created | Invoiced | Shipped;Test CheckBox,eq,0&pageSize=10&key=xyzkey
Header Params
Accept:string
API key needs to be passed in this variable.The option to enter API key will appear when you click on Try it button.
Query Auth
key:string
API key needs to be passed in this variable.The option to enter API key will appear when you click on Try it button.This will be the first option in AUTHENTICATION block.Default is SET to 0.
Header Auth
apiKey:string
Dedicated API key needs to be passed in this variable via header.The option to enter API key will appear when you click on Try it button.This will be the second option in AUTHENTICATION block.Default is SET to 0.

Sample Code

{
    "Orders": {
        "Order": [
            {
                "OrdersId": "151342",
                "OrderNo": "5530",
                "Subject": "Stock transfer OAK - Hillsboro",
                "AccountId": "62733",
                "AccountName": "OAK",
                "AccountPhone": null,
                "AccountEmailAddress": null,
                "ContactId": null,
                "ContactFirstName": null,
                "ContactLastName": null,
                "ContactPhone": null,
                "ContactEmailAddress": null,
                "OrderDiscount": "0.00",
                "OrderDiscountCode": null,
                "SubTotal": "0.00",
                "ShippingCost": "0.00",
                "SalesTaxAuthority": null,
                "SalesTaxes": "0.00",
                "GrandTotal": "0.00",
                "DefaultCurrency": null,
                "ExchangeRate": "0.00000",
                "Status": "Created,Invoiced,Shipped,Paid,Completed,",
                "ShippingStatus": null,
                "AdditionalFees": "0.00",
                "DefaultPriceBook": "Bargains",
                "DueDate": null,
                "CallDate": null,
                "CustomerNo": null,
                "AssignedTo": "admin",
                "ExportToQuickbooks": "0",
                "Type": null,
                "Priority": null,
                "Pending": null,
                "Salescommission": "0.000",
                "TermsAndConditions": null,
                "Description": null,
                "Carrier": "Not Specified",
                "ShippingMethod": "Free Shipping",
                "DeliverFrom": "OAK",
                "DeliverTo": "Hillsboro",
                "ShippingDate": null,
                "TrackingNo": null,
                "ActualShippingCost": "0.00",
                "SpecialHandling": "Special handling goes here",
                "ShipQPriority": null,
                "BackorderHandling": null,
                "PacklistType": "Show Company Details and Logo",
                "AmazonPrimeShipping": "No",
                "Cancelled": "No",
                "OnHold": "No",
                "RelatedPOs": null,
                "RelatedDropShipPOs": null,
                "OrderDate": "01-24-2020 08:25:58",
                "OrderDateUTC": "01-24-2020 15:01:35",
                "ModifiedTime": "01-24-2020 05:05:56",
                "ModifiedTimeUTC": "01-24-2020 15:05:56",
                "BillingStreet": "1515 Clay Street",
                "BillingCity": "Oakland",
                "BillingState": "CA",
                "BillingZipCode": "94624",
                "BillingCountry": "United States",
                "ShippingStreet": "1515 Clay Street",
                "ShippingCity": "Oakland",
                "ShippingState": "CA",
                "ShippingZipCode": "94624",
                "ShippingCountry": "United States",
                "OrderDetails": {
                    "OD": [
                        {
                            "OrderLineNo": "0",
                            "ProductsName": "Test New Product1",
                            "ProductCode": "TNP1",
                            "SerialNo": null,
                            "ProductNotes": "Product notes goes here.",
                            "ProductQty": "100",
                            "ProductPrice": "10.00",
                            "ProductDiscount": "100.00",
                            "ProductTotal": "0.00",
                            "LineItemLocation": "OAK",
                            "LineItemShippingCarrier": "Not Specified",
                            "LineItemShippingMethod": "Free Shipping",
                            "LineItemTrackingNumber": null,
                            "LineItemShippingCost": "0.00",
                            "LineItemShippingDate": null,
                            "LineItemShippingStatus": null,
                            "LineItemStatus": "Created,"
                        }
                    ]
                },
                "OrdersCustomFields": {
                    "CustomField": [
                        {
                            "Name": "CustomFied1",
                            "Value": "Custom info 1"
                        },
                        {
                            "Name": "CustomFied2",
                            "Value": "Custom info 2"
                        }
                    ]
                }
            }
        ],
        "TotalRecords": "1",
        "CurrentPage": "1",
        "TotalPages": "1",
        "PageSize": "50"
    }
}
<Orders>
	<Order>
		<OrdersId>151342</OrdersId>
		<OrderNo>5530</OrderNo>
		<Subject>Stock transfer OAK - Hillsboro</Subject>
		<AccountId>62733</AccountId>
		<AccountName>OAK</AccountName>
		<AccountPhone />
		<AccountEmailAddress />
		<ContactId />
		<ContactFirstName />
		<ContactLastName />
		<ContactPhone />
		<ContactEmailAddress />
		<OrderDiscount>0.00</OrderDiscount>
		<OrderDiscountCode />
		<SubTotal>0.00</SubTotal>
		<ShippingCost>0.00</ShippingCost>
		<SalesTaxAuthority />
		<SalesTaxes>0.00</SalesTaxes>
		<GrandTotal>0.00</GrandTotal>
		<DefaultCurrency />
		<ExchangeRate>0.00000</ExchangeRate>
		<Status>Created,Invoiced,Shipped,Paid,Completed,</Status>
		<ShippingStatus />
		<AdditionalFees>0.00</AdditionalFees>
		<DefaultPriceBook>Bargains</DefaultPriceBook>
		<DueDate />
		<CallDate />
		<CustomerNo />
		<AssignedTo>admin</AssignedTo>
		<ExportToQuickbooks>0</ExportToQuickbooks>
		<Type />
		<Priority />
		<Pending />
		<Salescommission>0.000</Salescommission>
		<TermsAndConditions />
		<Description />
		<Carrier>Not Specified</Carrier>
		<ShippingMethod>Free Shipping</ShippingMethod>
		<DeliverFrom>OAK</DeliverFrom>
		<DeliverTo>Hillsboro</DeliverTo>
		<ShippingDate />
		<TrackingNo />
		<ActualShippingCost>0.00</ActualShippingCost>
		<SpecialHandling>Special handling goes here</SpecialHandling>
		<ShipQPriority />
		<BackorderHandling />
		<PacklistType>Show Company Details and Logo</PacklistType>
		<AmazonPrimeShipping>No</AmazonPrimeShipping>
		<Cancelled>No</Cancelled>
		<OnHold>No</OnHold>
		<RelatedPOs />
		<RelatedDropShipPOs />
		<OrderDate>01-24-2020 08:25:58</OrderDate>
		<OrderDateUTC>01-24-2020 15:01:35</OrderDateUTC>
		<ModifiedTime>01-24-2020 05:05:56</ModifiedTime>
		<ModifiedTimeUTC>01-24-2020 15:05:56</ModifiedTimeUTC>
		<BillingStreet>1515 Clay Street</BillingStreet>
		<BillingCity>Oakland</BillingCity>
		<BillingState>CA</BillingState>
		<BillingZipCode>94624</BillingZipCode>
		<BillingCountry>United States</BillingCountry>
		<ShippingStreet>1515 Clay Street</ShippingStreet>
		<ShippingCity>Oakland</ShippingCity>
		<ShippingState>CA</ShippingState>
		<ShippingZipCode>94624</ShippingZipCode>
		<ShippingCountry>United States</ShippingCountry>
		<OrderDetails>
			<OD>
				<OrderLineNo>0</OrderLineNo>
				<ProductsName>Test New Product1</ProductsName>
				<ProductCode>TNP1</ProductCode>
				<SerialNo />
				<ProductNotes>Product notes goes here.</ProductNotes>
				<ProductQty>100</ProductQty>
				<ProductPrice>10.00</ProductPrice>
				<ProductDiscount>100.00</ProductDiscount>
				<ProductTotal>0.00</ProductTotal>
				<LineItemLocation>OAK</LineItemLocation>
				<LineItemShippingCarrier>Not Specified</LineItemShippingCarrier>
				<LineItemShippingMethod>Free Shipping</LineItemShippingMethod>
				<LineItemTrackingNumber />
				<LineItemShippingCost>0.00</LineItemShippingCost>
				<LineItemShippingDate />
				<LineItemShippingStatus />
				<LineItemStatus>Created,</LineItemStatus>
			</OD>
		</OrderDetails>
		<OrdersCustomFields>
			<CustomField>
				<Name>CustomFied1</Name>
				<Value>Custom info 1</Value>
			</CustomField>
			<CustomField>
				<Name>CustomFied2</Name>
				<Value>Custom info 2</Value>
			</CustomField>
		</OrdersCustomFields>
	</Order>
	<TotalRecords>1</TotalRecords>
	<CurrentPage>1</CurrentPage>
	<TotalPages>1</TotalPages>
	<PageSize>50</PageSize>
</Orders>

WADL

<?xml version="1.0" encoding="utf-8"?>
<application>
   <resources base="https://{yourCompany}.agiliron.net/agiliron/api-40/">
     <resource path="InventoryTransfer"> 
       <method name="GET">
         <resource path="{OrderNo/SalesorderId}">
         <request>
           <param name="key" type="xsd:string" style="query" required="true"/>
           <param name="StartDate" type="xsd:date" style="query"/>
           <param name="EndDate" type="xsd:date" style="query"/>
           <param name="Filter" type="xsd:string" style="query"/>			
         </request> 
         <response status="200"> 
            <representation mediaType="application/xml" element="yn:ResultSet"/> 
         </response> 
         <response status="400"> 
            <representation mediaType="application/xml" element="ya:Error"/> 
         </response> 
       </method> 
     </resource> 
   </resources>
 </application>