POST api/StatesDate/AddNewState
Request Information
URI Parameters
None.
Body Parameters
StatesName | Description | Type | Additional information |
---|---|---|---|
StateID | integer |
None. |
|
State | string |
None. |
|
GSTStateCode | string |
None. |
|
Active | boolean |
None. |
|
CompanyBranch | integer |
None. |
|
CreatedBy | string |
None. |
|
Created_On | date |
None. |
|
LastModifiedBy | string |
None. |
|
LastModified_On | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "StateID": 1, "State": "sample string 2", "GSTStateCode": "sample string 3", "Active": true, "CompanyBranch": 5, "CreatedBy": "sample string 6", "Created_On": "2021-04-16T13:13:17.6890598+05:30", "LastModifiedBy": "sample string 7", "LastModified_On": "2021-04-16T13:13:17.6890598+05:30" }
application/xml, text/xml
Sample:
<States xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FaME_APPLICATION.Models.APPICATION"> <Active>true</Active> <CompanyBranch>5</CompanyBranch> <CreatedBy>sample string 6</CreatedBy> <Created_On>2021-04-16T13:13:17.6890598+05:30</Created_On> <GSTStateCode>sample string 3</GSTStateCode> <LastModifiedBy>sample string 7</LastModifiedBy> <LastModified_On>2021-04-16T13:13:17.6890598+05:30</LastModified_On> <State>sample string 2</State> <StateID>1</StateID> </States>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |