POST api/Organisation/CreateOrganisationAndLink
Request Information
URI Parameters
None.
Body Parameters
ContactNewOrganisationRequestModel| Name | Description | Type | Additional information | 
|---|---|---|---|
| AppUserId | string | 
                             None.  | 
                |
| Name | string | 
                             None.  | 
                
Request Formats
application/json, text/json
            Sample:
        
{
  "AppUserId": "sample string 1",
  "Name": "sample string 2"
}
        application/xml, text/xml
            Sample:
        <ContactNewOrganisationRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Request"> <AppUserId>sample string 1</AppUserId> <Name>sample string 2</Name> </ContactNewOrganisationRequestModel>
application/x-www-form-urlencoded
            Sample:
    
        
Response Information
Resource Description
ContactNewOrganisationResponseModel| Name | Description | Type | Additional information | 
|---|---|---|---|
| ContactId | globally unique identifier | 
                             None.  | 
                |
| Result | ResponseResult | 
                             None.  | 
                
Response Formats
application/json, text/json
            Sample:
        
{
  "ContactId": "87c2b0f3-7bd5-4867-b252-923d7b6c207e",
  "Result": {
    "Success": true,
    "Message": "sample string 2",
    "Errors": [
      {
        "Message": "sample string 1"
      },
      {
        "Message": "sample string 1"
      }
    ]
  }
}
        application/xml, text/xml
            Sample:
<ContactNewOrganisationResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Response">
  <Result>
    <Errors>
      <ErrorMessage>
        <Message>sample string 1</Message>
      </ErrorMessage>
      <ErrorMessage>
        <Message>sample string 1</Message>
      </ErrorMessage>
    </Errors>
    <Message>sample string 2</Message>
    <Success>true</Success>
  </Result>
  <ContactId>87c2b0f3-7bd5-4867-b252-923d7b6c207e</ContactId>
</ContactNewOrganisationResponseModel>