POST api/Admin/InsertCompanyDetails
Request Information
URI Parameters
None.
Body Parameters
CompanyModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyName | string |
None. |
|
| GSTNo | string |
None. |
|
| MotorTradersLicenceNo | string |
None. |
|
| StreetAddress | string |
None. |
|
| Suburb | string |
None. |
|
| PostalCode | string |
None. |
|
| CountryId | integer |
None. |
|
| StateId | integer |
None. |
|
| string |
None. |
||
| Web | string |
None. |
|
| Contact | string |
None. |
|
| PhoneNumber | string |
None. |
|
| isActive | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyName": "sample string 1",
"GSTNo": "sample string 2",
"MotorTradersLicenceNo": "sample string 3",
"StreetAddress": "sample string 4",
"Suburb": "sample string 5",
"PostalCode": "sample string 6",
"CountryId": 7,
"StateId": 8,
"Email": "sample string 9",
"Web": "sample string 10",
"Contact": "sample string 11",
"PhoneNumber": "sample string 12",
"isActive": true,
"CreatedBy": 14,
"CreatedDate": "2020-02-27T04:44:08.4230295+11:00"
}
application/xml, text/xml
Sample:
<CompanyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TARWebAPI.Models"> <CompanyName>sample string 1</CompanyName> <Contact>sample string 11</Contact> <CountryId>7</CountryId> <CreatedBy>14</CreatedBy> <CreatedDate>2020-02-27T04:44:08.4230295+11:00</CreatedDate> <Email>sample string 9</Email> <GSTNo>sample string 2</GSTNo> <MotorTradersLicenceNo>sample string 3</MotorTradersLicenceNo> <PhoneNumber>sample string 12</PhoneNumber> <PostalCode>sample string 6</PostalCode> <StateId>8</StateId> <StreetAddress>sample string 4</StreetAddress> <Suburb>sample string 5</Suburb> <Web>sample string 10</Web> <isActive>true</isActive> </CompanyModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.