POST api/CRM/SaveResource
Request Information
URI Parameters
None.
Body Parameters
CRMCreateResourceRequestVMName | Description | Type | Additional information |
---|---|---|---|
UserId | string |
Required |
|
SubAccountId | string |
Required |
|
ParentAccountId | string |
Required |
|
Type | CRMAppointmentLocationType |
None. |
|
Details | CRMAppointmentLocationVM |
Required |
|
Color | ColorViewModel |
Required |
|
Name | string |
Required |
|
AccessDetails | CRMAccessDetailsVM |
Required |
Request Formats
application/json, text/json
Sample:
{ "UserId": "sample string 1", "SubAccountId": "sample string 2", "ParentAccountId": "sample string 3", "Type": "None", "Details": { "Address": { "Id": "sample string 1", "AddressType": "Home", "Address1": "sample string 2", "Address2": "sample string 3", "Address3": "sample string 4", "City": "sample string 5", "StateId": "sample string 6", "StateName": "sample string 7", "AbbrivatedStateName": "sample string 8", "CountryId": "sample string 9", "CountryName": "sample string 10", "ZipCode": "sample string 11" }, "MeetingLink": "sample string 1", "MeetingPassword": "sample string 2", "MobileCountryCode": 3, "MobileNumber": "sample string 4", "MobileCountryId": "sample string 5", "AccessCode": "sample string 6", "MeetingType": "Zoom" }, "Color": { "HexValue": "sample string 1", "RgbValue": { "R": "sample string 1", "G": "sample string 2", "B": "sample string 3", "A": "sample string 4" }, "Gradient": "sample string 2" }, "Name": "sample string 4", "AccessDetails": { "TeamUserSaveType": "All", "UserAndTeams": [ { "IsTeam": true, "Id": "sample string 2" }, { "IsTeam": true, "Id": "sample string 2" } ] } }
application/xml, text/xml
Sample:
<CRMCreateResourceRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.CRM"> <AccessDetails> <TeamUserSaveType>All</TeamUserSaveType> <UserAndTeams> <CRMAssignedToRequestVM> <Id>sample string 2</Id> <IsTeam>true</IsTeam> </CRMAssignedToRequestVM> <CRMAssignedToRequestVM> <Id>sample string 2</Id> <IsTeam>true</IsTeam> </CRMAssignedToRequestVM> </UserAndTeams> </AccessDetails> <Color xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.Elements"> <d2p1:Gradient>sample string 2</d2p1:Gradient> <d2p1:HexValue>sample string 1</d2p1:HexValue> <d2p1:RgbValue> <d2p1:A>sample string 4</d2p1:A> <d2p1:B>sample string 3</d2p1:B> <d2p1:G>sample string 2</d2p1:G> <d2p1:R>sample string 1</d2p1:R> </d2p1:RgbValue> </Color> <Details> <AccessCode>sample string 6</AccessCode> <Address xmlns:d3p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel"> <d3p1:AbbrivatedStateName>sample string 8</d3p1:AbbrivatedStateName> <d3p1:Address1>sample string 2</d3p1:Address1> <d3p1:Address2>sample string 3</d3p1:Address2> <d3p1:Address3>sample string 4</d3p1:Address3> <d3p1:AddressType>Home</d3p1:AddressType> <d3p1:City>sample string 5</d3p1:City> <d3p1:CountryId>sample string 9</d3p1:CountryId> <d3p1:CountryName>sample string 10</d3p1:CountryName> <d3p1:Id>sample string 1</d3p1:Id> <d3p1:StateId>sample string 6</d3p1:StateId> <d3p1:StateName>sample string 7</d3p1:StateName> <d3p1:ZipCode>sample string 11</d3p1:ZipCode> </Address> <MeetingLink>sample string 1</MeetingLink> <MeetingPassword>sample string 2</MeetingPassword> <MeetingType>Zoom</MeetingType> <MobileCountryCode>3</MobileCountryCode> <MobileCountryId>sample string 5</MobileCountryId> <MobileNumber>sample string 4</MobileNumber> </Details> <Name>sample string 4</Name> <ParentAccountId>sample string 3</ParentAccountId> <SubAccountId>sample string 2</SubAccountId> <Type>None</Type> <UserId>sample string 1</UserId> </CRMCreateResourceRequestVM>
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.