I am trying to modify an a column to an AUTO_NUMBER systemColumnType. The API does NOT return an error, but rather the 'startingNumber' attribute does not actually have an effect on the sheet. I have tried both via the python sdk and also via CUrl command, I'm stumped. Anyone have any luck with this before?
PYTHON
#Column Update
column_spec = smart.models.Column({
'type':'TEXT_NUMBER',
'systemColumnType': 'AUTO_NUMBER',
'autoNumberFormat': {'startingNumber':50, 'fill':'000000'}
})
# Update column
response = smart.Sheets.update_column(
{SHEET-ID}, # sheet_id
{COLUMN-ID}, # column_id
column_spec)
CURL COMMAND
curl https://api.smartsheet.com/2.0/sheets/{SHEET-ID}/columns/{COLUMN-ID} ^
-H "Authorization: {ACCESS TOKEN}" ^
-H "Content-Type: application/json" ^
-X PUT ^
-d "{\"index\":\"0\",\"title\":\"ROW-ID\",\"type\":\"TEXT_NUMBER\",\"systemColumnType\": \"AUTO_NUMBER\",\"autoNumberFormat\": {\"startingNumber\":\"50\", \"fill\":\"000000\"}}"