POST api/{database}/ModifyAutoIdCommand/Enable?type={type}&startId={startId}&interval={interval}&length={length}&useLeadingZeroes={useLeadingZeroes}

Execute the ModifyAutoIdCommand



Request Information

Parameters

NameDescriptionAdditional information
type The type. Accepted values are: Value Description 0 None 1 Customer 2 Supplier

Define this parameter in the request URI.

startId The startId.

Define this parameter in the request URI.

interval The interval.

Define this parameter in the request URI.

length The length.

Define this parameter in the request URI.

useLeadingZeroes The useLeadingZeroes.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "autoIdInterval": 1,
  "autoIdLength": 2,
  "nextAutoId": 3,
  "useAutoIdLeadingZeroes": true
}

application/xml, text/xml

Sample:
<ModifyAutoIdCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Commands">
  <AutoIdInterval>1</AutoIdInterval>
  <AutoIdLength>2</AutoIdLength>
  <NextAutoId>3</NextAutoId>
  <UseAutoIdLeadingZeroes>true</UseAutoIdLeadingZeroes>
</ModifyAutoIdCommand>