
Hi,
I am not sure how to populate the OgranizationKey value in the SOAP request below:
I tried many things, but examples are in C#, and all I need is to do a SOAP call, I need to pass in my company key which is "2" in the organization key, can you help?
Thanks
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://schemas.microsoft.com/dynamics/gp/2006/01" xmlns:ns1="http://schemas.microsoft.com/dynamics/2006/01" xmlns:ns2="http://schemas.microsoft.com/dynamics/gp/2006/01" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<ns:GetInventoriedItemByKey>
<ns:key>
<ns:CompanyKey>
<ns1:Id>2</ns1:Id>
</ns:CompanyKey>
<ns:Id>ZZ00SFRP</ns:Id>
</ns:key>
<ns:context>
<ns1:WorkOnBehalfOf>malouf\hq</ns1:WorkOnBehalfOf>
<ns1:OrganizationKey>
</ns1:OrganizationKey>
<ns1:CurrencyType>Local</ns1:CurrencyType>
</ns:context>
</ns:GetInventoriedItemByKey>
</soapenv:Body>
</soapenv:Envelope>
*This post is locked for comments
I have the same question (0)