Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import * as Definitions from "./Definitions";
- import { IEffectDependencies } from "../types";
- import { Observable } from "rxjs/Observable";
- export const description = "Creates sample order and returns ID.";
- export const method = "POST";
- export const operationId = "grahamFabricSamplesSampleOrderV1CreateSampleOrderPost";
- export const path = "/V1/graham-mto/createSampleOrder";
- export interface Body {
- data: string;
- }
- export type Response = Response200 | ResponseDefault;
- export type Response200 = string;
- export type ResponseDefault = Definitions.ErrorResponse;
- export function execute(body: Body, effects: IEffectDependencies): Observable<Response200> {
- return effects.postJSON(effects.apiUrl(path), body);
- }
Add Comment
Please, Sign In to add comment