POST api/AdmStateMaster/AddAdmStateMaster
Request Information
URI Parameters
None.
Body Parameters
AdmStateMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| AdmStateMasterId | integer |
None. |
|
| admCountryMaster | AdmCountryMaster |
None. |
|
| AdmCountryMasterId | integer |
None. |
|
| StateDescription | string |
None. |
|
| Status | string |
None. |
|
| CreatedDate | string |
None. |
|
| CreatedBy | string |
None. |
|
| UpdatedDate | string |
None. |
|
| UpdatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AdmStateMasterId": 1,
"admCountryMaster": {
"$id": "2",
"AdmCountryMasterId": 1,
"CountryDescription": "sample string 2",
"Status": "sample string 3",
"CreatedDate": "sample string 4",
"CreatedBy": "sample string 5",
"UpdatedDate": "sample string 6",
"UpdatedBy": "sample string 7"
},
"AdmCountryMasterId": 2,
"StateDescription": "sample string 3",
"Status": "sample string 4",
"CreatedDate": "sample string 5",
"CreatedBy": "sample string 6",
"UpdatedDate": "sample string 7",
"UpdatedBy": "sample string 8"
}
application/octet-stream
Sample:
{"$id":"1","AdmStateMasterId":1,"admCountryMaster":{"$id":"2","AdmCountryMasterId":1,"CountryDescription":"sample string 2","Status":"sample string 3","CreatedDate":"sample string 4","CreatedBy":"sample string 5","UpdatedDate":"sample string 6","UpdatedBy":"sample string 7"},"AdmCountryMasterId":2,"StateDescription":"sample string 3","Status":"sample string 4","CreatedDate":"sample string 5","CreatedBy":"sample string 6","UpdatedDate":"sample string 7","UpdatedBy":"sample string 8"}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream
Sample:
Sample not available.