POST api/Consulate/Create
Request Information
URI Parameters
None.
Body Parameters
ConsulateCreateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CountryId | integer |
None. |
|
| ConsulateStateId | integer |
None. |
|
| WorkingDays | integer |
None. |
|
| Address | string |
None. |
|
| string |
None. |
||
| Phone | string |
None. |
|
| ConsultantTo | string |
None. |
|
| States | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CountryId": 1,
"ConsulateStateId": 2,
"WorkingDays": 3,
"Address": "sample string 4",
"Email": "sample string 5",
"Phone": "sample string 6",
"ConsultantTo": "sample string 7",
"States": [
1,
2
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.