POST api/corporate/{corporateId}/contact
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
corporateId | integer |
Required |
Body Parameters
ContactSubModelName | Description | Type | Additional information |
---|---|---|---|
ContactId | integer |
None. |
|
CorporateId | integer |
None. |
|
ContactTypeId | integer |
None. |
|
ContactType | string |
None. |
|
UserName | string |
None. |
|
FirstName | string |
None. |
|
MiddleName | string |
None. |
|
LastName | string |
None. |
|
string |
None. |
||
Title | string |
None. |
|
Department | string |
None. |
|
VendorId | integer |
None. |
|
isGlobalVendor | boolean |
None. |
|
EmployerName | string |
None. |
|
ClientRelationshipRole | string |
None. |
|
IsBillingContact | boolean |
None. |
|
WorkPhone | string |
None. |
|
CellPhone | string |
None. |
|
Address | string |
None. |
|
City | string |
None. |
|
State | string |
None. |
|
CountryId | integer |
None. |
|
CountryName | string |
None. |
|
ZipCode | string |
None. |
|
ClientRelationshipStarted | date |
None. |
|
ClientRelationshipEnded | date |
None. |
|
TerminationFromCompany | date |
None. |
|
Businesses | string |
None. |
|
Entities | string |
None. |
|
Countries | string |
None. |
|
Companies | string |
None. |
|
BenefitLines | string |
None. |
|
CreateUser | boolean |
None. |
|
Active | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ContactId": 1, "CorporateId": 1, "ContactTypeId": 2, "ContactType": "sample string 3", "UserName": "sample string 4", "FirstName": "sample string 5", "MiddleName": "sample string 6", "LastName": "sample string 7", "Email": "sample string 8", "Title": "sample string 9", "Department": "sample string 10", "VendorId": 1, "isGlobalVendor": true, "EmployerName": "sample string 12", "ClientRelationshipRole": "sample string 13", "IsBillingContact": true, "WorkPhone": "sample string 15", "CellPhone": "sample string 16", "Address": "sample string 17", "City": "sample string 18", "State": "sample string 19", "CountryId": 1, "CountryName": "sample string 20", "ZipCode": "sample string 21", "ClientRelationshipStarted": "2024-12-14T22:52:15.2277329+00:00", "ClientRelationshipEnded": "2024-12-14T22:52:15.2277329+00:00", "TerminationFromCompany": "2024-12-14T22:52:15.2277329+00:00", "Businesses": "sample string 22", "Entities": "sample string 23", "Countries": "sample string 24", "Companies": "sample string 25", "BenefitLines": "sample string 26", "CreateUser": true, "Active": true }
application/xml, text/xml
Sample:
<ContactSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.SubModels"> <Active>true</Active> <Address>sample string 17</Address> <BenefitLines>sample string 26</BenefitLines> <Businesses>sample string 22</Businesses> <CellPhone>sample string 16</CellPhone> <City>sample string 18</City> <ClientRelationshipEnded>2024-12-14T22:52:15.2277329+00:00</ClientRelationshipEnded> <ClientRelationshipRole>sample string 13</ClientRelationshipRole> <ClientRelationshipStarted>2024-12-14T22:52:15.2277329+00:00</ClientRelationshipStarted> <Companies>sample string 25</Companies> <ContactId>1</ContactId> <ContactType>sample string 3</ContactType> <ContactTypeId>2</ContactTypeId> <CorporateId>1</CorporateId> <Countries>sample string 24</Countries> <CountryId>1</CountryId> <CountryName>sample string 20</CountryName> <CreateUser>true</CreateUser> <Department>sample string 10</Department> <Email>sample string 8</Email> <EmployerName>sample string 12</EmployerName> <Entities>sample string 23</Entities> <FirstName>sample string 5</FirstName> <IsBillingContact>true</IsBillingContact> <LastName>sample string 7</LastName> <MiddleName>sample string 6</MiddleName> <State>sample string 19</State> <TerminationFromCompany>2024-12-14T22:52:15.2277329+00:00</TerminationFromCompany> <Title>sample string 9</Title> <UserName>sample string 4</UserName> <VendorId>1</VendorId> <WorkPhone>sample string 15</WorkPhone> <ZipCode>sample string 21</ZipCode> <isGlobalVendor>true</isGlobalVendor> </ContactSubModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.