POST api/Contact/AddContact
Request Information
URI Parameters
None.
Body Parameters
ContactBLLName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
FullName | string |
None. |
|
EmailId | string |
None. |
|
MobileNumber | string |
None. |
|
CompanyName | string |
None. |
|
CountryId | integer |
None. |
|
ExistingCustomer | boolean |
None. |
|
Message | string |
None. |
|
IsActive | boolean |
None. |
|
CreationDate | date |
None. |
|
CreatedBy | integer |
None. |
|
ModifiedDate | date |
None. |
|
ModifiedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "FullName": "sample string 2", "EmailId": "sample string 3", "MobileNumber": "sample string 4", "CompanyName": "sample string 5", "CountryId": 6, "ExistingCustomer": true, "Message": "sample string 7", "IsActive": true, "CreationDate": "2025-05-02T21:57:22.6650139+05:30", "CreatedBy": 1, "ModifiedDate": "2025-05-02T21:57:22.6650139+05:30", "ModifiedBy": 1 }
application/xml, text/xml
Sample:
<ContactBLL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipponDAL"> <CompanyName>sample string 5</CompanyName> <CountryId>6</CountryId> <CreatedBy>1</CreatedBy> <CreationDate>2025-05-02T21:57:22.6650139+05:30</CreationDate> <EmailId>sample string 3</EmailId> <ExistingCustomer>true</ExistingCustomer> <FullName>sample string 2</FullName> <Id>1</Id> <IsActive>true</IsActive> <Message>sample string 7</Message> <MobileNumber>sample string 4</MobileNumber> <ModifiedBy>1</ModifiedBy> <ModifiedDate>2025-05-02T21:57:22.6650139+05:30</ModifiedDate> </ContactBLL>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseName | Description | Type | Additional information |
---|---|---|---|
Key | integer |
None. |
|
Code | string |
None. |
|
Message | string |
None. |
|
data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Key": 1, "Code": "sample string 1", "Message": "sample string 2", "data": {} }
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipponBLL"> <Code>sample string 1</Code> <Key>1</Key> <Message>sample string 2</Message> <data /> </Response>