trait DynamicsClientRequests extends AnyRef
- Alphabetic
- By Inheritance
- DynamicsClientRequests
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val DefaultBatchRequest: HttpRequest[Nothing]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mkAssociateRequest[F[_]](fromEntitySet: String, fromEntityId: String, navProperty: String, toEntitySet: String, toEntityId: String, base: String, singleValuedNavProperty: Boolean = true): HttpRequest[F]
Not sure adding $base to the @odata.id is absolutely needed.
Not sure adding $base to the @odata.id is absolutely needed. Probably is.
- See also
https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/webapi/associate-disassociate-entities-using-web-api?view=dynamics-ce-odata-9
-
def
mkBatch[F[_]](m: Multipart, headers: HttpHeaders = HttpHeaders.empty): HttpRequest[F]
Body in HttpRequest is ignored and is instead generated from m.
Body in HttpRequest is ignored and is instead generated from m. Since the parts will have requests, you need to ensure that the base URL used in those requests have a consistent base URL.
- def mkBatchRequest[F[_], A](headers: HttpHeaders, m: Multipart): HttpRequest[F]
- def mkCreateRequest[F[_], B](entitySet: String, body: B, opts: DynamicsOptions = DefaultDynamicsOptions)(implicit e: EntityEncoder[B]): HttpRequest[F]
-
def
mkDeleteRequest[F[_]](entitySet: String, keyInfo: DynamicsId, opts: DynamicsOptions = DefaultDynamicsOptions): HttpRequest[F]
Make a pure delete request.
-
def
mkDisassocatiateRequest[F[_]](fromEntitySet: String, fromEntityId: String, navProperty: String, toId: Option[String]): HttpRequest[F]
Provide
to
if its a collection-valued navigation property, otherwise it removes a single-valued navigation property.Provide
to
if its a collection-valued navigation property, otherwise it removes a single-valued navigation property.- See also
https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/webapi/associate-disassociate-entities-using-web-api?view=dynamics-ce-odata-9
- def mkExecuteActionRequest[F[_]](action: String, body: Entity, entitySetAndId: Option[(String, String)] = None, opts: DynamicsOptions = DefaultDynamicsOptions): HttpRequest[F]
- def mkExecuteFunctionRequest[F[_]](function: String, parameters: Map[String, Any] = Map.empty, entity: Option[(String, String)] = None): HttpRequest[F]
- def mkGetListRequest[F[_]](url: String, opts: DynamicsOptions = DefaultDynamicsOptions): HttpRequest[F]
- def mkGetOneRequest[F[_]](url: String, opts: DynamicsOptions): HttpRequest[F]
-
def
mkUpdateRequest[F[_], B](entitySet: String, id: String, body: B, upsertPreventCreate: Boolean = true, upsertPreventUpdate: Boolean = false, options: DynamicsOptions = DefaultDynamicsOptions, base: Option[String] = None)(implicit enc: EntityEncoder[B]): HttpRequest[F]
Create a PATCH request that could also upsert.
Create a PATCH request that could also upsert. "opts" version could override upsertPreventCreate if a version value is also included, so be careful.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toHeaders(o: DynamicsOptions): HttpHeaders
This does not handle the version tag + applyOptimisticConcurrency flag yet.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )