Add New Office

View as Markdown
### Add New Office This API endpoint allows you to add a new office to the Dice. ### Request Body | Param | Required | Type | Description | | --- | --- | --- | --- | | name | Mandatory | String | The name of the office. | | address | Optional | String | The address of the office. | | pincode | Optional | String | The pincode of the office location. | | state | Optional | String | The state where the office is located. | | currency | Optional | String | The currency used at the office. | | gstin | Optional | String | The Goods and Services Tax Identification Number. | | registeredName | Optional | String | The registered name of the office. | | coords | Optional | Object | Coordinates of the office location. | | .lat | Mandatory | Number | The latitude of the office location. | | .lng | Mandatory | Number | The longitude of the office location. | ### Response | Param | Type | Description | | --- | --- | --- | | success | Boolean | Indicates whether the office addition was successful. | #### Example Response ``` json { "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