ItEr52S10AdaptacionServiciosRESTItEr51S10: Adapting of the material-categories-sample.xml
This commit is contained in:
parent
4126c6de43
commit
3aeb9544e4
2 changed files with 37 additions and 14 deletions
|
|
@ -30,4 +30,4 @@ authorization=`./base64.sh $loginName:$password`
|
|||
curl -sv -X POST $certificate -d @$file \
|
||||
--header "Content-type: application/xml" \
|
||||
--header "Authorization: Basic $authorization" \
|
||||
$baseServiceURL/unittypesp | tidy -xml -i -q -utf8
|
||||
$baseServiceURL/unittypes | tidy -xml -i -q -utf8
|
||||
|
|
|
|||
|
|
@ -1,19 +1,42 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<material-category-list xmlns="http://rest.ws.navalplanner.org">
|
||||
<material-category name="tornillos" code="60600">
|
||||
<subcategories>
|
||||
<material-category parent="60600" name="tornillos 10m"
|
||||
code="60602" />
|
||||
<material-category parent="60600" name="tornillos 12m"
|
||||
code="60603" unitType="ff5fd2a7-b11e-490a-a340-b2a1e2f00726"/>
|
||||
</subcategories>
|
||||
<material-category name="Imported materials without category"
|
||||
code="000-000" />
|
||||
<material-category name="ship hull" code="000-001">
|
||||
<material-list>
|
||||
<material disabled="false"
|
||||
unitType="ff5fd2a7-b11e-490a-a340-b2a1e2f00726"
|
||||
defaultPrice="30.00" description="asdfsdf" code="dafasd" />
|
||||
<material disabled="false" unitType="000-002"
|
||||
defaultPrice="6.00" description="fiberglass"
|
||||
code="000-002" />
|
||||
<material disabled="false" defaultPrice="9.50"
|
||||
description="steel" code="000-003" />
|
||||
<material disabled="false" unitType="000-006"
|
||||
defaultPrice="8.00" description="aluminum" code="000-001" />
|
||||
</material-list>
|
||||
</material-category>
|
||||
<material-category name="tuercas" code="60601" />
|
||||
<material-category name="Imported materials without category"
|
||||
code="808" />
|
||||
<material-category name="paint"
|
||||
code="000-003">
|
||||
<subcategories>
|
||||
<material-category parent="000-003"
|
||||
name="Antifouling"
|
||||
code="000-003-001">
|
||||
<material-list>
|
||||
<material disabled="false" defaultPrice="7.50"
|
||||
description="autopulimentante de alto rendimiento"
|
||||
code="000-004" />
|
||||
<material disabled="false" defaultPrice="5.60"
|
||||
description="High Performance autopulimentante"
|
||||
code="000-005" />
|
||||
</material-list>
|
||||
</material-category>
|
||||
<material-category parent="000-003"
|
||||
name="GelCoat" code="000-003-002">
|
||||
<material-list>
|
||||
<material disabled="false" defaultPrice="0.00"
|
||||
description="polyester finish" code="000-006" />
|
||||
<material disabled="false" defaultPrice="0.00"
|
||||
description="polyester finish with gun" code="000-007" />
|
||||
</material-list>
|
||||
</material-category>
|
||||
</subcategories>
|
||||
</material-category>
|
||||
</material-category-list>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue