CN code
/xml/CnCode
Päivitetään tai luodaan uusi cn-koodi.
Elementti / Element | Tyyppi / Type | Selite | Lisätieto / Additional information | Pakollinen / Mandatory
|
ArticleCode | string | koodi |
| * |
DoUpdate | Attribute |
| Päivitetäänkö jos on jo olemassa. / Update if already exists. |
|
CnCode | string | cnkoodi |
| (* When adding new) |
Output /xml/CnCode |
|
|
|
|
ArticleCode | string | koodi |
|
|
CnCode | string | cnkoodi |
|
|
CompileStatistics | boolean | tilastoi |
|
|
CustomsDutyRate | decimal | tullipros |
|
|
ExportingCountry | string | vmaa |
|
|
FieldOfBusiness | string | liikelaji |
|
|
FormOfTransport | string | kmuoto |
|
|
Guid | guid | guid |
|
|
Id | integer | id |
|
|
ImportingCountry | string | tmaa |
|
|
Locked | boolean | lukittu |
|
|
RecordCreatedBy | string | tietueuser |
|
|
RecordCreatedDate | date | tietuepvm |
|
|
RecordEditedBy | string | tietuemuser |
|
|
RecordEditedDate | date | tietuempvm |
|
|
SupplementaryUnits | decimal | muupaljous |
|
|
SupplementaryUnitsType | string | muupaljouslaji |
|
|
Username | string | username |
|
|
Esimerkki / Example:
<xml>
<login>
<hash dsn="nova">****</hash>
</login>
<CnCode>
<ArticleCode DoUpdate='true'>12_new</ArticleCode>
<CnCode>04069013_NEW</CnCode>
<ImportingCountry>EE</ImportingCountry>
<ExportingCountry>DE</ExportingCountry>
<FormOfTransport>3</FormOfTransport>
<FieldOfBusiness>11</FieldOfBusiness>
<CompileStatistics>true</CompileStatistics>
<CustomsDutyRate>1.0000</CustomsDutyRate>
<SupplementaryUnits>1.0000</SupplementaryUnits>
<SupplementaryUnitsType>NAR</SupplementaryUnitsType>
<Locked>false</Locked>
<Username></Username>
</CnCode>
</xml>
Read CN codes
/xml/ReadCnCodes
Listataan CN koodit / Read list of CN Codes.
Elementti / Element | Tyyppi / Type | Selite | Lisätieto / Additional information | Pakollinen / Mandatory
|
Code | string | koodi |
|
|
CnCode | string | cnkoodi |
|
|
Output /xml/CnCode |
|
|
|
|
CnCode | string | cnkoodi |
|
|
Code | string | koodi |
|
|
CompileStatistics | boolean | tilastoi |
|
|
CustomsDutyRate | decimal | tullipros |
|
|
ExportingCountry | string | vmaa |
|
|
FieldOfBusiness | string | liikelaji |
|
|
FormOfTransport | string | kmuoto |
|
|
Guid | guid | guid |
|
|
Id | integer | id |
|
|
ImportingCountry | string | tmaa |
|
|
Locked | boolean | lukittu |
|
|
RecordCreatedBy | string | tietueuser |
|
|
RecordCreatedDate | date | tietuepvm |
|
|
RecordEditedBy | string | tietuemuser |
|
|
RecordEditedDate | date | tietuempvm |
|
|
SupplementaryUnits | decimal | muupaljous |
|
|
SupplementaryUnitsType | string | muupaljouslaji |
|
|
Username | string | username |
|
|
Esimerkki / Example:
<?xml version="1.0" encoding="utf-8" ?>
<xml>
<login>
<hash dsn="nova">73685dbea3290215b74a3a2e9c1c3ecc</hash>
</login>
<ReadCnCodes>
<Code>12</Code>
<CnCode>54071000</CnCode>
</ReadCnCodes>
</xml>
