InternalMovementGet | Get internal movement by document number, or by combination of document number and date. |
InternalMovementGetPDF | Get PDF file for internal movement by document number, or by combination of document number and date. |
InternalMovementCreate | Create new internal movement. |
InternalMovementUpdate | Update existing internal movement. |
InternalMovementDelete | Delete internal movement. |
Get internal movements by number.
Parameters
number | Number of internal movement. |
documentID | Internal document identificator. In case of using this parameter, no other parameter listed abowe is needed for searching by document. |
Example request and response
POST /WebServicesSI/API HTTP/1.1
Host: eurofaktura.com
User-Agent: Mozilla/4.0
Content-Length: 410
Content-Type: application/octet-stream
<?xml version="1.0" encoding="utf-8"?>
<request>
<login username="micka" md5pass="ddb43e9f119c6805f4770ecc4f6466ba" token="E7DF3E6E94FB4579BBA8F54979010B5C" />
<method name="InternalMovementGet">
<parameter name="number" value="055/11" />
</method>
</request>
Response
<?xml version="1.0" encoding="utf-8"?>
<response status="ok" >
<InternalMovement>
</InternalMovement>
</response>
Response on error
<?xml version="1.0" encoding="utf-8"?>
<response status="error" >
<error description=""><error/> <!-- Possible errors: Access denied. User account does not have sufficient privileges for the given request, Parameter named "number" is required, Can not find internal movement number: 055/11,
</response>
Create new internal movement.
Parameters
InternalMovement | Internal movement's data in xml substructure. |
Example request and response
POST /WebServicesSI/API HTTP/1.1
Host: eurofaktura.com
User-Agent: Mozilla/4.0
Content-Length: 410
Content-Type: application/octet-stream
<?xml version="1.0" encoding="utf-8"?>
<request>
<login username="micka" md5pass="ddb43e9f119c6805f4770ecc4f6466ba" token="E7DF3E6E94FB4579BBA8F54979010B5C" />
<method name="InternalMovementCreate">
<parameter name="InternalInventoryChangeDoc">
<date>2014-12-13</date> <!-- Mandatory
<status>Issued</status>
<remarks>adicijski text</remarks>
<warehouseFromCode>MP</warehouseFromCode> <!-- Mandatory
<warehouseCode>8956</warehouseCode> <!-- Mandatory
<Items>
<Item>
<calculationQuantity>2</calculationQuantity> <!-- Mandatory
<productCode>666666</productCode> <!-- Mandatory
</Item>
<Item>
<calculationQuantity>8</calculationQuantity> <!-- Mandatory
<productCode>666555</productCode> <!-- Mandatory
</Item>
</Items>
</parameter>
</method>
</request>
Response
<?xml version="1.0" encoding="utf-8"?>
<response status="ok" >
<number>055/11</number>
</response>
Response on error
<?xml version="1.0" encoding="utf-8"?>
<response status="error" >
<error description="internal movement for number: 055/11 already exists!><error/> <!-- Possible errors: Access denied. User account does not have sufficient privileges for the given request, Parameter named "number" must be specified., missing mandatory attributes, invalid values, no privileges, Error creating internal movement
</response>
Update existing internal movement.
Parameters
InternalMovement | Product's data in xml substructure |
Example request and response
POST /WebServicesSI/API HTTP/1.1
Host: eurofaktura.com
User-Agent: Mozilla/4.0
Content-Length: 410
Content-Type: application/octet-stream
<?xml version="1.0" encoding="utf-8"?>
<request>
<login username="micka" md5pass="ddb43e9f119c6805f4770ecc4f6466ba" token="E7DF3E6E94FB4579BBA8F54979010B5C" />
<method name="InternalMovementUpdate">
<parameter name="InternalMovement">
<date>2014-12-13</date> <!-- Mandatory
<status>Issued</status>
<remarks>adicijski text</remarks>
<warehouseFromCode>MP</warehouseFromCode> <!-- Mandatory
<warehouseCode>8956</warehouseCode> <!-- Mandatory
<Items>
<Item>
<calculationQuantity>2</calculationQuantity> <!-- Mandatory
<productCode>666666</productCode> <!-- Mandatory
</Item>
<Item>
<calculationQuantity>8</calculationQuantity> <!-- Mandatory
<productCode>666555</productCode> <!-- Mandatory
</Item>
</Items>
</parameter>
</parameter>
</method>
</request>
Response
<?xml version="1.0" encoding="utf-8"?>
<response status="ok" >
<number>055/11</number>
</response>
Response on error
<?xml version="1.0" encoding="utf-8"?>
<response status="error" >
<error description=""><error/> <!-- Possible errors: Access denied. User account does not have sufficient privileges for the given request, Parameter named "number" is required, Can not find internal movement for number: 055/11, missing mandatory attributes, invalid values, no privileges,
</response>
Delete internal movement.
Parameters
number | Unique identifier for internal movement. |
Example request and response
POST /WebServicesSI/API HTTP/1.1
Host: eurofaktura.com
User-Agent: Mozilla/4.0
Content-Length: 410
Content-Type: application/octet-stream
<?xml version="1.0" encoding="utf-8"?>
<request>
<login username="micka" md5pass="ddb43e9f119c6805f4770ecc4f6466ba" token="E7DF3E6E94FB4579BBA8F54979010B5C" />
<method name="InternalMovementDelete">
<parameter name="number" value="055/11" />
</method>
</request>
Response
<?xml version="1.0" encoding="utf-8"?>
<response status="ok" >
</response>
Response on error
<?xml version="1.0" encoding="utf-8"?>
<response status="error" >
<error description=""><error/> <! Possible errors: Access denied. User account does not have sufficient privileges for the given request, Parameter named "number" is required, Can not find internal movement for number: 055/11, Can not delete. Found 3 internal movement with number 055,
</response>