Skip to navigation

Add New Office

View as Markdown

Add New Office

This API endpoint allows you to add a new office to the Dice.

Request Body

ParamRequiredTypeDescription
nameMandatoryStringThe name of the office.
addressOptionalStringThe address of the office.
pincodeOptionalStringThe pincode of the office location.
stateOptionalStringThe state where the office is located.
currencyOptionalStringThe currency used at the office.
gstinOptionalStringThe Goods and Services Tax Identification Number.
registeredNameOptionalStringThe registered name of the office.
coordsOptionalObjectCoordinates of the office location.
.latMandatoryNumberThe latitude of the office location.
.lngMandatoryNumberThe longitude of the office location.

Response

ParamTypeDescription
successBooleanIndicates whether the office addition was successful.

Example Response

{
"success": true
}

Headers

DICE-APP-IDstringOptional
X-CLIENT-IDstringOptional
X-CLIENT-SECRETstringOptional

Request

This endpoint expects an object.
namestringRequired
addressstringRequired
pincodestringRequired
statestringRequired
currencystringRequired
gstinstringRequired
registeredNamestringRequired
coordsobjectRequired

Response

OK
successboolean