Power
Click here for a complete list of operations.
EnrollEnergyInsert
Založit žádost energie
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /JunakWebservice/Power.asmx HTTP/1.1
Host: is.skaut.cz
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://is.skaut.cz/EnrollEnergyInsert"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<EnrollEnergyInsert xmlns="https://is.skaut.cz/">
<energyInput>
<ID_Login>guid</ID_Login>
<ID_Application>guid</ID_Application>
<AccessKey>guid</AccessKey>
<ID>int</ID>
<Note>string</Note>
<ID_EnrollEnergyType>string</ID_EnrollEnergyType>
<ID_Person>int</ID_Person>
<FirstName>string</FirstName>
<LastName>string</LastName>
<Birthday>dateTime</Birthday>
<IdentificationCode>string</IdentificationCode>
<ID_Unit>int</ID_Unit>
<UnitName>string</UnitName>
<Company>string</Company>
<IC>string</IC>
<DIC>string</DIC>
<Agent>string</Agent>
<Function>string</Function>
<Street>string</Street>
<City>string</City>
<Postcode>string</Postcode>
<EnergySupplier1>string</EnergySupplier1>
<EnergySupplier2>string</EnergySupplier2>
<Phone>string</Phone>
<Email>string</Email>
<ID_TempfileAgreement>guid</ID_TempfileAgreement>
<ID_TempFileAccount>guid</ID_TempFileAccount>
<ID_TempFileOther>guid</ID_TempFileOther>
<OnlyValidate>boolean</OnlyValidate>
<ID_AdvanceType>string</ID_AdvanceType>
<AdvanceTypeContent>string</AdvanceTypeContent>
<AdvanceAmount>decimal</AdvanceAmount>
<ContractTerminationDate>dateTime</ContractTerminationDate>
<ID_ContractTerminationType>string</ID_ContractTerminationType>
</energyInput>
</EnrollEnergyInsert>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<EnrollEnergyInsertResponse xmlns="https://is.skaut.cz/">
<EnrollEnergyInsertResult>
<ID>int</ID>
</EnrollEnergyInsertResult>
</EnrollEnergyInsertResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /JunakWebservice/Power.asmx HTTP/1.1
Host: is.skaut.cz
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<EnrollEnergyInsert xmlns="https://is.skaut.cz/">
<energyInput>
<ID_Login>guid</ID_Login>
<ID_Application>guid</ID_Application>
<AccessKey>guid</AccessKey>
<ID>int</ID>
<Note>string</Note>
<ID_EnrollEnergyType>string</ID_EnrollEnergyType>
<ID_Person>int</ID_Person>
<FirstName>string</FirstName>
<LastName>string</LastName>
<Birthday>dateTime</Birthday>
<IdentificationCode>string</IdentificationCode>
<ID_Unit>int</ID_Unit>
<UnitName>string</UnitName>
<Company>string</Company>
<IC>string</IC>
<DIC>string</DIC>
<Agent>string</Agent>
<Function>string</Function>
<Street>string</Street>
<City>string</City>
<Postcode>string</Postcode>
<EnergySupplier1>string</EnergySupplier1>
<EnergySupplier2>string</EnergySupplier2>
<Phone>string</Phone>
<Email>string</Email>
<ID_TempfileAgreement>guid</ID_TempfileAgreement>
<ID_TempFileAccount>guid</ID_TempFileAccount>
<ID_TempFileOther>guid</ID_TempFileOther>
<OnlyValidate>boolean</OnlyValidate>
<ID_AdvanceType>string</ID_AdvanceType>
<AdvanceTypeContent>string</AdvanceTypeContent>
<AdvanceAmount>decimal</AdvanceAmount>
<ContractTerminationDate>dateTime</ContractTerminationDate>
<ID_ContractTerminationType>string</ID_ContractTerminationType>
</energyInput>
</EnrollEnergyInsert>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<EnrollEnergyInsertResponse xmlns="https://is.skaut.cz/">
<EnrollEnergyInsertResult>
<ID>int</ID>
</EnrollEnergyInsertResult>
</EnrollEnergyInsertResponse>
</soap12:Body>
</soap12:Envelope>