POST api/provider/rpdirectory

Request Information

URI Parameters

None.

Body Parameters

RPDirectoryFilter
NameDescriptionTypeAdditional information
Name

string

None.

City

string

None.

State

string

None.

Country

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "City": "sample string 2",
  "State": "sample string 3",
  "Country": "sample string 4"
}

application/xml, text/xml

Sample:
<RPDirectoryFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models">
  <City>sample string 2</City>
  <Country>sample string 4</Country>
  <Name>sample string 1</Name>
  <State>sample string 3</State>
</RPDirectoryFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Entity
NameDescriptionTypeAdditional information
LogicalName

string

None.

Id

globally unique identifier

None.

Attributes

Collection of Object

None.

EntityState

EntityState

None.

FormattedValues

Collection of Object

None.

RelatedEntities

Collection of Object

None.

RowVersion

string

None.

KeyAttributes

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
[
  null,
  {
    "LogicalName": "sample string 1",
    "Id": "447b1aa9-8dde-49f0-bc55-519198b04757",
    "Attributes": [],
    "EntityState": 0,
    "FormattedValues": [],
    "RelatedEntities": [],
    "RowVersion": "sample string 3",
    "KeyAttributes": []
  }
]

application/xml, text/xml

Sample:
<ArrayOfEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
  <Entity i:nil="true" />
  <Entity>
    <Attributes xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
    <EntityState>Unchanged</EntityState>
    <FormattedValues xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
    <Id>447b1aa9-8dde-49f0-bc55-519198b04757</Id>
    <KeyAttributes xmlns:d3p1="http://schemas.microsoft.com/xrm/7.1/Contracts" xmlns:d3p2="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
    <LogicalName>sample string 1</LogicalName>
    <RelatedEntities xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
    <RowVersion>sample string 3</RowVersion>
  </Entity>
</ArrayOfEntity>