Read template information in CSV format
No Parameters
Content-Type: text/csv
Text(CSV)
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/template/1/pack/csv
Content-Type: text/csv
[name],HOSTNAME,LAN0ADDRESS,LAN0PREFIX,LAN1ADDRESS [default],hostname,192.168.0.1,24,172.0.0.1 tss99990001,SEIL/B1 001,192.168.1.1,24,10.0.0.1 tss99990002,SEIL/B1 002,192.168.2.1,24,10.0.0.2 tss99990003,SEIL/B1 003,192.168.3.1,24,10.0.0.3
Update template information with content in CSV file
Content-Type: multipart/form-data
CSV file
Content-Type: text/plain
true
PUT https://*.sacm.jp/public-api/v1/user/tsa99990001/template/1/pack/csv
Content-Type: multipart/form-data; boundary=----ZrY3KS4TWNvr1gNz
------ZrY3KS4TWNvr1gNz Content-Disposition: form-data; name="variable-csv-file"; filename="sample.csv" Content-Type: text/csv (Binary-data) ------ZrY3KS4TWNvr1gNz--
Content-Type: text/plain
true
Variable definitions
[name],connect,interface,ppp_acc,ppp_pass,lan0_addr
[name]
Fixed headers
Variable name
Blank not permitted
Duplication not permitted
Limit of 50 rows
Default Variable value
[default],pppoe,pppoe0,,,
[default]
Fixed headers
Variable default value
Any value
Blank permitted
Limit of 50 rows
Service adaptor assignment information and service adaptor individual Variable value
tss00000001,,,name@example.jp,username,192.168.0.1/24
SA code
Treated as available for assignment if described
Duplication not permitted
Variable value
Any value
Blank permitted
Limit of 50 columns
[name]
HOSTNAME
LAN0ADDRESS
LAN0PREFIX
LAN1ADDRESS
[default]
hostname
192.168.0.1
24
172.0.0.1
tss99990001
SEIL/B1 001
192.168.1.1
24
10.0.0.1
tss99990002
SEIL/B1 002
192.168.2.1
24
10.0.0.2
tss99990003
SEIL/B1 003
192.168.3.1
24
10.0.0.3