POST api/CRM/CreateOutComes

Request Information

URI Parameters

None.

Body Parameters

CRMOutComesCreateRequestVM
NameDescriptionTypeAdditional information
UserId

string

Required

SubAccountId

string

Required

ParentAccountId

string

Required

OutComes

Collection of CRMOutComesDetailsRequestVM

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "SubAccountId": "sample string 2",
  "ParentAccountId": "sample string 3",
  "OutComes": [
    {
      "Name": "sample string 1",
      "Order": 2
    },
    {
      "Name": "sample string 1",
      "Order": 2
    }
  ]
}

application/xml, text/xml

Sample:
<CRMOutComesCreateRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.CRM">
  <OutComes>
    <CRMOutComesDetailsRequestVM>
      <Name>sample string 1</Name>
      <Order>2</Order>
    </CRMOutComesDetailsRequestVM>
    <CRMOutComesDetailsRequestVM>
      <Name>sample string 1</Name>
      <Order>2</Order>
    </CRMOutComesDetailsRequestVM>
  </OutComes>
  <ParentAccountId>sample string 3</ParentAccountId>
  <SubAccountId>sample string 2</SubAccountId>
  <UserId>sample string 1</UserId>
</CRMOutComesCreateRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.