swagger.yaml 332 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryNoticeRsp:
  22. properties:
  23. auditoruserid:
  24. description: 审核人
  25. type: integer
  26. auditremark:
  27. description: 审核备注
  28. type: string
  29. audittime:
  30. description: 审核日期
  31. type: string
  32. autoid:
  33. description: 自增ID
  34. type: integer
  35. content:
  36. description: 内容
  37. type: string
  38. createtime:
  39. description: 创建时间
  40. type: string
  41. creatorid:
  42. description: 建仓人
  43. type: integer
  44. endtime:
  45. description: 结束时间
  46. type: string
  47. istop:
  48. description: 是否置顶 - 0:不置顶 1:置顶
  49. type: integer
  50. msgiconurl:
  51. description: 消息图标Url
  52. type: string
  53. msgtype:
  54. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  55. type: integer
  56. publisher:
  57. description: 消息发布者
  58. type: string
  59. readed:
  60. description: 是否已读
  61. type: boolean
  62. scheduletime:
  63. description: 计划发送时间
  64. type: string
  65. sendtype:
  66. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  67. type: integer
  68. sentstatus:
  69. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  70. type: integer
  71. title:
  72. description: 标题
  73. type: string
  74. userid:
  75. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  76. type: integer
  77. required:
  78. - autoid
  79. type: object
  80. common.QueryProvincesAndCitiesRsp:
  81. properties:
  82. cities:
  83. description: 市
  84. items:
  85. $ref: '#/definitions/models.Division'
  86. type: array
  87. province:
  88. $ref: '#/definitions/models.Division'
  89. description: 省
  90. type: object
  91. common.QueryTableDefineRsp:
  92. properties:
  93. columns:
  94. description: 列头信息数组
  95. items:
  96. $ref: '#/definitions/models.Tablecolumnconfig'
  97. type: array
  98. remark:
  99. description: Remark
  100. type: string
  101. tabelmenu:
  102. description: 列表菜单
  103. type: string
  104. tablekey:
  105. description: 列表Key
  106. type: string
  107. tablename:
  108. description: 列表名称
  109. type: string
  110. tabletype:
  111. description: 列表类型 - 1:管理端 2:终端
  112. type: integer
  113. required:
  114. - tablekey
  115. type: object
  116. common.QueryTraderMenuRsp:
  117. properties:
  118. OperationMenu:
  119. description: 功能菜单
  120. items:
  121. $ref: '#/definitions/models.OperationPrimaryMenu'
  122. type: array
  123. QuoteMenu:
  124. description: 报价牌分类菜单
  125. items:
  126. $ref: '#/definitions/models.QuotePrimaryMenu'
  127. type: array
  128. type: object
  129. cptrade.Cptradepositioncancel:
  130. properties:
  131. accountid:
  132. description: 申请人账户ID
  133. type: integer
  134. applystatus:
  135. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  136. type: integer
  137. applytime:
  138. description: 申请时间
  139. type: string
  140. cancelid:
  141. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  142. type: integer
  143. cancelqty:
  144. description: 注销数量
  145. type: integer
  146. createtime:
  147. description: 创建时间
  148. type: string
  149. creatorid:
  150. description: 创建人ID
  151. type: integer
  152. creatorname:
  153. description: 创建人
  154. type: string
  155. goodscode:
  156. description: 订单商品代码
  157. type: string
  158. goodsid:
  159. description: 商品ID
  160. type: integer
  161. goodsname:
  162. description: 订单商品名称
  163. type: string
  164. goodunit:
  165. description: 报价单位
  166. type: string
  167. handlestatus:
  168. description: 处理状态
  169. type: integer
  170. marketid:
  171. description: 市场ID
  172. type: integer
  173. marketname:
  174. description: 市场名称
  175. type: string
  176. tradedate:
  177. description: 交易日(yyyyMMdd)
  178. type: string
  179. userid:
  180. description: 申请人ID
  181. type: integer
  182. required:
  183. - cancelid
  184. type: object
  185. cptrade.Cptradepresaleapply:
  186. properties:
  187. accountid:
  188. description: 申请人账户ID
  189. type: integer
  190. applyid:
  191. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  192. type: integer
  193. applyremark:
  194. description: 申请备注
  195. type: string
  196. applystatus:
  197. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  198. type: integer
  199. applytime:
  200. description: 申请时间
  201. type: string
  202. attachmenturl:
  203. description: 附件地址
  204. type: string
  205. endtime:
  206. description: 预售结束时间
  207. type: string
  208. goodscode:
  209. description: 商品代码
  210. type: string
  211. goodsid:
  212. description: 商品ID
  213. type: integer
  214. goodsname:
  215. description: 商品名称
  216. type: string
  217. goodunit:
  218. description: 报价单位
  219. type: string
  220. handlestatus:
  221. description: 处理状态
  222. type: integer
  223. marketid:
  224. description: 预售市场ID
  225. type: integer
  226. marketname:
  227. description: 预售市场名称
  228. type: string
  229. presaleqty:
  230. description: 预售数量
  231. type: integer
  232. relatedgoodscode:
  233. description: 关联交易合约代码
  234. type: string
  235. relatedgoodsid:
  236. description: 关联交易合约ID
  237. type: integer
  238. relatedgoodsname:
  239. description: 关联交易合约名称
  240. type: string
  241. starttime:
  242. description: 预售开始时间
  243. type: string
  244. tradedate:
  245. description: 交易日(yyyyMMdd)
  246. type: string
  247. trademode:
  248. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  249. type: integer
  250. userid:
  251. description: 申请人ID
  252. type: integer
  253. required:
  254. - applyid
  255. type: object
  256. cptrade.Cptradeusergoodsdata:
  257. properties:
  258. EnabledQty:
  259. description: 可用量
  260. type: integer
  261. GoodsCode:
  262. description: 订单商品代码
  263. type: string
  264. GoodsName:
  265. description: 订单商品名称
  266. type: string
  267. WRStandardCode:
  268. description: 仓单标准代码
  269. type: string
  270. WRStandardName:
  271. description: 仓单标准名称
  272. type: string
  273. accountid:
  274. description: 账户ID
  275. type: integer
  276. cancelqty:
  277. description: 注销量
  278. type: integer
  279. curpresaleqty:
  280. description: 当前预售量
  281. type: integer
  282. deliveryqty:
  283. description: 交割量
  284. type: integer
  285. freezeamount:
  286. description: 冻结金额
  287. type: number
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodunit:
  292. description: 报价单位
  293. type: string
  294. hasspotfreeze:
  295. description: 是否有现货冻结 - 0:否 1:有
  296. type: integer
  297. inqty:
  298. description: 转入量(总数量)
  299. type: integer
  300. marketid:
  301. description: 市场ID
  302. type: integer
  303. presaledamount:
  304. description: 已预售总金额
  305. type: integer
  306. presaledqty:
  307. description: 已预售量
  308. type: integer
  309. userid:
  310. description: 用户ID
  311. type: integer
  312. wrstandardid:
  313. description: 仓单标准ID
  314. type: integer
  315. required:
  316. - accountid
  317. - goodsid
  318. type: object
  319. cptrade.QueryCPTradeMyBidRsp:
  320. properties:
  321. accountid:
  322. description: 账户ID[报价币种]
  323. type: integer
  324. goodsid:
  325. description: 商品ID
  326. type: integer
  327. goodunit:
  328. description: 报价单位
  329. type: string
  330. marketid:
  331. description: 市场ID
  332. type: integer
  333. orderid:
  334. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  335. type: integer
  336. orderprice:
  337. description: 委托价格
  338. type: number
  339. orderqty:
  340. description: 委托数量
  341. type: integer
  342. ordertime:
  343. description: 委托时间
  344. type: string
  345. ordertotalprice:
  346. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  347. type: number
  348. ordertotalweight:
  349. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  350. type: integer
  351. totaltotalprice:
  352. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  353. type: number
  354. tradeprice:
  355. description: 成交价格
  356. type: number
  357. tradeqty:
  358. description: 成交数量
  359. type: integer
  360. required:
  361. - accountid
  362. - goodsid
  363. - marketid
  364. - orderid
  365. - orderqty
  366. - ordertime
  367. - tradeprice
  368. - tradeqty
  369. type: object
  370. cptrade.QueryCPTradeOrderDetailRsq:
  371. properties:
  372. accountid:
  373. description: 账户ID[报价币种]
  374. type: integer
  375. buildtype:
  376. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  377. type: integer
  378. buyorsell:
  379. description: 买卖 - 0:买 1:卖
  380. type: integer
  381. cancelorderid:
  382. description: 撤单单号(撤单时填写)
  383. type: integer
  384. cancelqty:
  385. description: 撤单数量
  386. type: integer
  387. clientordertime:
  388. description: 客户端委托时间
  389. type: string
  390. clientticket:
  391. description: 客户端流水号
  392. type: string
  393. clienttype:
  394. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  395. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  396. type: integer
  397. closeexchagechargevalue:
  398. description: 平仓交易所手续费设置值
  399. type: number
  400. closefeealgorithm:
  401. description: 平仓手续费收取方式 1:比率 2:固定
  402. type: integer
  403. closefreezecharge:
  404. description: 平仓冻结手续费(先建后平操作,需要记录)
  405. type: number
  406. closememberchargevalue:
  407. description: 平仓会员手续费设置值
  408. type: number
  409. closeqty:
  410. description: 平仓数量(先建后平操作 需要记录)
  411. type: integer
  412. closetradeqty:
  413. description: 平仓成交数量(先建后平操作,需要记录)
  414. type: integer
  415. closeunfreezecharge:
  416. description: 平仓解冻手续费(先建后平操作,需要记录)
  417. type: number
  418. delistingtype:
  419. description: 摘牌类型 - 1:价格最优 2:点选成交
  420. type: integer
  421. freezecharge:
  422. description: 冻结手续费
  423. type: number
  424. freezemargin:
  425. description: 冻结保证金(冻结交易金额)
  426. type: number
  427. gcaccountid:
  428. description: 账户ID[合约币种]
  429. type: integer
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. isconfirmexercise:
  434. description: 是否确认行权- 0:否 1:是
  435. type: integer
  436. ispreexercise:
  437. description: 是否预申报- 0:否 1:是
  438. type: integer
  439. listingselecttype:
  440. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  441. type: integer
  442. marginalgorithm:
  443. description: 保证金收取方式 1:比率 2:固定
  444. type: integer
  445. marginvalue:
  446. description: 即市保证金设置值
  447. type: number
  448. marketid:
  449. description: 市场ID
  450. type: integer
  451. marketmaxsub:
  452. description: 市价最大偏移范围
  453. type: number
  454. memberuserid:
  455. description: 所属会员UserID
  456. type: integer
  457. openexchagechargevalue:
  458. description: 建仓交易所手续费设置值
  459. type: number
  460. openfeealgorithm:
  461. description: 建仓手续费收取方式 1:比率 2:固定
  462. type: integer
  463. openfreezecharge:
  464. description: 开仓冻结手续费(先建后平操作,需要记录)
  465. type: number
  466. openmemberchargevalue:
  467. description: 建仓会员手续费设置值
  468. type: number
  469. openqty:
  470. description: 开仓数量(先建后平操作,需要记录)
  471. type: integer
  472. opentradeqty:
  473. description: 开仓成交数量(先建后平操作,需要记录)
  474. type: integer
  475. openunfreezecharge:
  476. description: 开仓解冻手续费(先建后平操作,需要记录)
  477. type: number
  478. operatetype:
  479. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  480. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  481. 15:管理端协议转让
  482. type: integer
  483. operatorid:
  484. description: 登录账号(LoginID)
  485. type: integer
  486. optiontype:
  487. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  488. type: integer
  489. orderprice:
  490. description: 委托价格
  491. type: number
  492. orderqty:
  493. description: 委托数量
  494. type: integer
  495. ordersrc:
  496. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  497. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  498. type: integer
  499. orderstatus:
  500. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  501. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  502. 16:成交失败违约(荷兰式竞拍专用)
  503. type: integer
  504. ordertime:
  505. description: 委托时间
  506. type: string
  507. preexerciseprice:
  508. description: 预申报价格
  509. type: number
  510. premium:
  511. description: 权利金
  512. type: number
  513. preorderid:
  514. description: 关联预埋单号(止盈止损单时填写)
  515. type: integer
  516. pricemode:
  517. description: '取价方式 - 1:市价 2: 限价'
  518. type: integer
  519. quoteid:
  520. description: 报价单ID
  521. type: integer
  522. relatedid:
  523. description: 关联单号(交割单)
  524. type: integer
  525. retcode:
  526. description: 错误代码
  527. type: integer
  528. sessionid:
  529. description: 会话ID
  530. type: integer
  531. strorderid:
  532. description: 委托单号
  533. type: string
  534. tradedate:
  535. description: 交易日(yyyyMMdd)
  536. type: string
  537. tradeproperty:
  538. description: 交易属性
  539. type: integer
  540. tradeqty:
  541. description: 成交数量
  542. type: integer
  543. unfreezecharge:
  544. description: 解冻手续费
  545. type: number
  546. unfreezemargin:
  547. description: 解冻保证金
  548. type: number
  549. updatetime:
  550. description: 更新时间
  551. type: string
  552. uuid:
  553. description: 发起端唯一id
  554. type: string
  555. validtime:
  556. description: 有效期限
  557. type: string
  558. validtype:
  559. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  560. type: integer
  561. volumetype:
  562. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  563. type: integer
  564. required:
  565. - accountid
  566. - buildtype
  567. - buyorsell
  568. - goodsid
  569. - marketid
  570. - memberuserid
  571. - operatetype
  572. - orderqty
  573. - ordertime
  574. - pricemode
  575. - strorderid
  576. - tradedate
  577. - validtype
  578. type: object
  579. cptrade.QueryMyCPTradeGoodsRsp:
  580. properties:
  581. accountid:
  582. description: 卖方账户ID
  583. type: integer
  584. agreeunit:
  585. description: 合约单位
  586. type: number
  587. applyid:
  588. description: 关联申请ID
  589. type: integer
  590. attachmenturl:
  591. description: 附件地址
  592. type: string
  593. createtime:
  594. description: 创建时间
  595. type: string
  596. currencyid:
  597. description: 报价货币ID
  598. type: integer
  599. decimalplace:
  600. description: 报价小数位
  601. type: integer
  602. endtime:
  603. description: 预售结束时间
  604. type: string
  605. floorprice:
  606. description: 底价[大宗式竞拍]
  607. type: number
  608. goodscode:
  609. description: 商品代码(预售)
  610. type: string
  611. goodsdetail:
  612. description: 详情[大宗]
  613. type: string
  614. goodsid:
  615. description: 商品ID(自增ID SEQ_GOODS)
  616. type: integer
  617. goodsname:
  618. description: 商品名称(预售)
  619. type: string
  620. goodunit:
  621. description: 报价单位
  622. type: string
  623. goodunitid:
  624. description: 报价单位ID
  625. type: integer
  626. marketid:
  627. description: 所属市场ID
  628. type: integer
  629. marketname:
  630. description: 预售市场名称
  631. type: string
  632. presaledamount:
  633. description: 已预售总金额(预售结束时更新)
  634. type: number
  635. presaledqty:
  636. description: 已预售量(预售结束时更新)
  637. type: integer
  638. presalemode:
  639. description: 预售模式 - 1:一口价 2:大宗式竞拍
  640. type: integer
  641. presaleqty:
  642. description: 预售数量
  643. type: integer
  644. refprice:
  645. description: 参考价格[一口价]
  646. type: number
  647. relatedgoodscode:
  648. description: 商品代码(订单)
  649. type: string
  650. relatedgoodsid:
  651. description: 关联交易合约ID
  652. type: integer
  653. relatedgoodsname:
  654. description: 商品名称(订单)
  655. type: string
  656. relatedmarketid:
  657. description: 关联交易合约市场ID
  658. type: integer
  659. sellstatus:
  660. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  661. type: integer
  662. startprice:
  663. description: 起拍价[大宗式竞拍]
  664. type: number
  665. starttime:
  666. description: 预售开始时间
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeprice:
  672. description: 成交价[大宗]
  673. type: number
  674. userid:
  675. description: 卖方用户ID
  676. type: integer
  677. required:
  678. - goodscode
  679. - goodsid
  680. - goodsname
  681. - marketid
  682. - relatedgoodscode
  683. - relatedgoodsname
  684. type: object
  685. cptrade.QueryPresaleGoodsExRsp:
  686. properties:
  687. attachmenturl:
  688. description: 附件地址
  689. type: string
  690. createtime:
  691. description: 创建时间
  692. type: string
  693. endtime:
  694. description: 预售结束时间
  695. type: string
  696. floorprice:
  697. description: 底价[大宗式竞拍]
  698. type: number
  699. goodsdetail:
  700. description: 详情[大宗]
  701. type: string
  702. goodsid:
  703. description: 商品ID(预售)
  704. type: integer
  705. goodunit:
  706. description: 报价单位
  707. type: string
  708. marketid:
  709. description: 预售市场ID - 根据预售模式选择市场
  710. type: integer
  711. presaledamount:
  712. description: 已预售总金额(预售结束时更新)
  713. type: number
  714. presaledqty:
  715. description: 已预售量(预售结束时更新)
  716. type: integer
  717. presalemode:
  718. description: 预售模式 - 1:一口价 2:大宗式竞拍
  719. type: integer
  720. presaleqty:
  721. description: 预售数量
  722. type: integer
  723. refprice:
  724. description: 参考价格[一口价]
  725. type: number
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedmarketid:
  730. description: 关联交易合约市场ID
  731. type: integer
  732. sellstatus:
  733. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  734. type: integer
  735. startprice:
  736. description: 起拍价[大宗式竞拍]
  737. type: number
  738. starttime:
  739. description: 预售开始时间
  740. type: string
  741. tradedate:
  742. description: 交易日(yyyyMMdd)
  743. type: string
  744. tradeprice:
  745. description: 成交价[大宗]
  746. type: number
  747. required:
  748. - goodsid
  749. type: object
  750. delivery.QueryDeliveryRelationRsp:
  751. properties:
  752. begindate:
  753. description: 起始日期(yyyyMMdd)
  754. type: string
  755. buytemplateid:
  756. description: 买履约计划模板ID
  757. type: integer
  758. deliverygoodscode:
  759. description: 品种代码
  760. type: string
  761. deliverygoodsid:
  762. description: 交割商品
  763. type: integer
  764. deliverygoodsname:
  765. description: 品种名称
  766. type: string
  767. deliverymode:
  768. description: 交割方式 - 1:点选式 2:申报式
  769. type: integer
  770. deliverypricerule:
  771. description: 交割价规则- 1:行情价 2:建仓价
  772. type: integer
  773. deliverytype:
  774. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  775. type: integer
  776. enddate:
  777. description: 结束日期(yyyyMMdd)
  778. type: string
  779. goodscode:
  780. description: 商品代码
  781. type: string
  782. goodsid:
  783. description: 交易合约ID
  784. type: integer
  785. goodsname:
  786. description: 商品名称
  787. type: string
  788. marketid:
  789. description: 市场ID
  790. type: integer
  791. mindeliveryqty:
  792. description: 最小交割系数(K)
  793. type: integer
  794. p2deliveryprice:
  795. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  796. type: number
  797. p2deliveryratio:
  798. description: P2合约系数(p)
  799. type: integer
  800. p2goodsid:
  801. description: P2合约ID
  802. type: integer
  803. p2pricemode:
  804. description: P2合约价格方式 - 1:商品价 2:固定值
  805. type: integer
  806. pdeliveryprice:
  807. description: P合约价格(商品价时填写0,固定值时填写固定值)
  808. type: number
  809. pdeliveryratio:
  810. description: P合约系数(n)
  811. type: integer
  812. pgoodsid:
  813. description: P合约ID
  814. type: integer
  815. ppricemode:
  816. description: P合约价格方式 - 1:商品价 2:固定值
  817. type: integer
  818. rratio:
  819. description: 兑换系数(R)
  820. type: integer
  821. rratio1:
  822. description: 兑换系数(交易合约)(R1)
  823. type: integer
  824. rratio2:
  825. description: 兑换系数(仓单标准)(R2)
  826. type: integer
  827. selltemplateid:
  828. description: 卖履约计划模板ID
  829. type: integer
  830. wrstandardid:
  831. description: 仓单标准ID
  832. type: integer
  833. xdeliveryratio:
  834. description: 交易合约系数(m)
  835. type: integer
  836. required:
  837. - begindate
  838. - enddate
  839. - goodsid
  840. - mindeliveryqty
  841. - xdeliveryratio
  842. type: object
  843. ermcp.ExposureDetailRsp:
  844. properties:
  845. areauserid:
  846. description: 机构ID
  847. type: integer
  848. changeQty:
  849. description: 套保变动量
  850. type: number
  851. contracttype:
  852. description: 现货合同类型 - 1:采购 -1:销售
  853. type: integer
  854. convertfactor:
  855. description: 标仓系数
  856. type: number
  857. convertratio:
  858. description: 套保系数
  859. type: number
  860. createtime:
  861. description: 时间
  862. type: string
  863. enumdicname:
  864. description: 现货商品单位名称
  865. type: string
  866. logtype:
  867. description: 类型 - 1:套保计划 2:现货合同
  868. type: integer
  869. middlegoodsId:
  870. description: 套保商品id
  871. type: integer
  872. middlegoodscode:
  873. description: 套保商品代码
  874. type: string
  875. middlegoodsname:
  876. description: 套保商品名称
  877. type: string
  878. qty:
  879. description: 数量
  880. type: number
  881. relateNo:
  882. description: 现货合同/套保计划编号
  883. type: string
  884. wrstandardcode:
  885. description: 现货商品代码
  886. type: string
  887. wrstandardid:
  888. description: 现货商品ID
  889. type: integer
  890. wrstandardname:
  891. description: 现货商品名称
  892. type: string
  893. type: object
  894. ermcp.ExposureHedgePosDetailRsp:
  895. properties:
  896. buyorsell:
  897. description: 买卖方向 0-买 1-卖
  898. type: integer
  899. channelbuildtype:
  900. description: 开平方向 1-建仓 2-平仓
  901. type: integer
  902. goodscode:
  903. description: 商品代码
  904. type: string
  905. goodsname:
  906. description: 商品名称
  907. type: string
  908. hedgegoodsid:
  909. description: 商品id
  910. type: integer
  911. tradeqty:
  912. description: 数量(成交数量)
  913. type: integer
  914. tradetime:
  915. description: 时间(成交时间)
  916. type: string
  917. type: object
  918. ermcp.ExposureHedgePositionRsp:
  919. properties:
  920. accountid:
  921. description: 资金账号[外部母账户]
  922. type: integer
  923. curbuyposition:
  924. description: 期末买头寸
  925. type: integer
  926. cursellposition:
  927. description: 期末卖头寸
  928. type: integer
  929. curtdbuyposition:
  930. description: 期末今日买头寸
  931. type: integer
  932. curtdsellposition:
  933. description: 期末今日卖头寸
  934. type: integer
  935. curydbuyposition:
  936. description: 期末上日买头寸
  937. type: integer
  938. curydsellposition:
  939. description: 期末上日卖头寸
  940. type: integer
  941. decreaseqty:
  942. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  943. type: integer
  944. fretdbuyposition:
  945. description: 冻结今日买头寸
  946. type: integer
  947. fretdsellposition:
  948. description: 冻结今日卖头寸
  949. type: integer
  950. freydbuyposition:
  951. description: 冻结上日买头寸
  952. type: integer
  953. freydsellposition:
  954. description: 冻结上日卖头寸
  955. type: integer
  956. goodscode:
  957. description: 商品代码
  958. type: string
  959. goodsid:
  960. description: 商品id
  961. type: integer
  962. goodsname:
  963. description: 商品名称
  964. type: string
  965. hedgeaccountcode:
  966. description: 对冲账号
  967. type: string
  968. hedgegoodsid:
  969. description: 对冲合约ID
  970. type: integer
  971. increaseqty:
  972. description: 增加数量 = 期末买头寸 - 期初买头寸
  973. type: integer
  974. marketid:
  975. description: 市场ID
  976. type: integer
  977. relateduserid:
  978. description: 关联用户id
  979. type: integer
  980. totalcurqty:
  981. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  982. type: integer
  983. totalydqty:
  984. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  985. type: integer
  986. tradedate:
  987. description: 交易日(yyyyMMdd)
  988. type: string
  989. ydbuyposition:
  990. description: 期初买头寸
  991. type: integer
  992. ydsellposition:
  993. description: 期初卖头寸
  994. type: integer
  995. type: object
  996. ermcp.ExposureSpotDetailRsp:
  997. properties:
  998. contracttype:
  999. description: 合同类型 1-采购 -1-销售
  1000. type: integer
  1001. createtime:
  1002. description: 创建时间
  1003. type: string
  1004. enumdicname:
  1005. description: 现货商品单位名称
  1006. type: string
  1007. logtype:
  1008. description: 记录类型 1-套保 2-现货合同
  1009. type: integer
  1010. qty:
  1011. description: 数量
  1012. type: number
  1013. recordname:
  1014. description: 类型名称
  1015. type: string
  1016. relatedid:
  1017. description: 套保计划ID/现货合同ID
  1018. type: string
  1019. relatedno:
  1020. description: 编号
  1021. type: string
  1022. strtime:
  1023. description: 时间
  1024. type: string
  1025. wrstandardcode:
  1026. description: 现货商品代码
  1027. type: string
  1028. wrstandardname:
  1029. description: 现货商品名称
  1030. type: string
  1031. type: object
  1032. ermcp.ExposureSpotRsp:
  1033. properties:
  1034. areauserid:
  1035. description: 所属机构
  1036. type: integer
  1037. decreaseqty:
  1038. description: 减少数量=-(销售已定价数量+采购计划数量)
  1039. type: number
  1040. increaseqty:
  1041. description: 增加数量=销售计划数量+采购已定价数量
  1042. type: number
  1043. oritoalspotqty:
  1044. description: 昨日数量
  1045. type: number
  1046. totalspotqty:
  1047. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1048. type: number
  1049. updatetime:
  1050. description: 更新时间
  1051. type: string
  1052. wrstandardcode:
  1053. description: 现货品种代码
  1054. type: string
  1055. wrstandardid:
  1056. description: 现货商品ID
  1057. type: integer
  1058. wrstandardname:
  1059. description: 现货品种
  1060. type: string
  1061. type: object
  1062. ermcp.HisExposureRsp:
  1063. properties:
  1064. data:
  1065. description: 历史敞口
  1066. items:
  1067. $ref: '#/definitions/models.ErmcpHisExposure'
  1068. type: array
  1069. enumdicname:
  1070. description: 单位名称
  1071. type: string
  1072. middlegoodscode:
  1073. description: 套保品种代码
  1074. type: string
  1075. middlegoodsid:
  1076. description: 套保品种ID
  1077. type: integer
  1078. middlegoodsname:
  1079. description: 套保品种名称
  1080. type: string
  1081. type: object
  1082. ermcp.QryAvalidGPRsp:
  1083. properties:
  1084. goodsgroupid:
  1085. description: 期货品种id
  1086. type: integer
  1087. goodsgroupname:
  1088. description: 期货品种名称
  1089. type: string
  1090. goodunitid:
  1091. description: 品种单位id
  1092. type: integer
  1093. goodunitname:
  1094. description: 品种单位名称
  1095. type: string
  1096. outergroupcode:
  1097. description: 期货品种代码
  1098. type: string
  1099. type: object
  1100. ermcp.QryBusinessDjRsp:
  1101. properties:
  1102. amount:
  1103. description: 点价金额=(点价价格+升贴水)*点价数量
  1104. type: number
  1105. applyid:
  1106. description: 申请人
  1107. type: string
  1108. applyname:
  1109. description: 申请人名称
  1110. type: string
  1111. applystatus:
  1112. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1113. type: integer
  1114. applytime:
  1115. description: 申请时间
  1116. type: string
  1117. attachurl:
  1118. description: 附件
  1119. type: string
  1120. auditname:
  1121. description: 审核人名称
  1122. type: string
  1123. audittime:
  1124. description: 审核时间
  1125. type: string
  1126. buyusername:
  1127. description: 采购方名称
  1128. type: string
  1129. contractno:
  1130. description: 合同编号
  1131. type: string
  1132. contractstatus:
  1133. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1134. type: integer
  1135. contracttype:
  1136. description: 现货合同类型 - 1:采购 -1:销售
  1137. type: integer
  1138. enumdicname:
  1139. description: 单位名称
  1140. type: string
  1141. goodscode:
  1142. description: 点价合约
  1143. type: string
  1144. goodsname:
  1145. description: 商品名称
  1146. type: string
  1147. operateapplyid:
  1148. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1149. type: string
  1150. operateapplytype:
  1151. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1152. type: integer
  1153. pricedPrice:
  1154. description: 点价价格(非必填)
  1155. type: number
  1156. pricedQty:
  1157. description: 点价数量(非必填)
  1158. type: number
  1159. pricemove:
  1160. description: 升贴水
  1161. type: number
  1162. pricetype:
  1163. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1164. type: integer
  1165. relatedid:
  1166. description: 现货合同ID
  1167. type: string
  1168. sellusername:
  1169. description: 销售方名字
  1170. type: string
  1171. userid:
  1172. description: 用户ID
  1173. type: integer
  1174. type: object
  1175. ermcp.QryBussinessFpRsp:
  1176. properties:
  1177. applyid:
  1178. description: 申请人
  1179. type: string
  1180. applyname:
  1181. description: 申请人名称
  1182. type: string
  1183. applystatus:
  1184. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1185. type: integer
  1186. applytime:
  1187. description: 申请时间
  1188. type: string
  1189. attachurl:
  1190. description: 附件
  1191. type: string
  1192. auditname:
  1193. description: 审核人名称
  1194. type: string
  1195. audittime:
  1196. description: 审核时间
  1197. type: string
  1198. buyusername:
  1199. description: 采购方名称
  1200. type: string
  1201. contractno:
  1202. description: 合同编号
  1203. type: string
  1204. contractstatus:
  1205. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1206. type: integer
  1207. contracttype:
  1208. description: 现货合同类型 - 1:采购 -1:销售
  1209. type: integer
  1210. enumdicname:
  1211. description: 单位名称
  1212. type: string
  1213. goodscode:
  1214. description: 点价合约
  1215. type: string
  1216. goodsname:
  1217. description: 商品名称
  1218. type: string
  1219. invoiceAmount:
  1220. description: 已开收票金额(销售为开票,采购为收票)
  1221. type: number
  1222. operateapplyid:
  1223. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1224. type: string
  1225. operateapplytype:
  1226. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1227. type: integer
  1228. pricemove:
  1229. description: 升贴水
  1230. type: number
  1231. pricetype:
  1232. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1233. type: integer
  1234. relatedid:
  1235. description: 现货合同ID
  1236. type: string
  1237. sellusername:
  1238. description: 销售方名字
  1239. type: string
  1240. userid:
  1241. description: 用户ID
  1242. type: integer
  1243. type: object
  1244. ermcp.QryBussinessJsExRsp:
  1245. properties:
  1246. applyid:
  1247. description: 申请人
  1248. type: string
  1249. applyname:
  1250. description: 申请人名称
  1251. type: string
  1252. applystatus:
  1253. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1254. type: integer
  1255. applytime:
  1256. description: 申请时间
  1257. type: string
  1258. attachurl:
  1259. description: 附件
  1260. type: string
  1261. auditname:
  1262. description: 审核人名称
  1263. type: string
  1264. audittime:
  1265. description: 审核时间
  1266. type: string
  1267. buyusername:
  1268. description: 采购方名称
  1269. type: string
  1270. contractno:
  1271. description: 合同编号
  1272. type: string
  1273. contractstatus:
  1274. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1275. type: integer
  1276. contracttype:
  1277. description: 现货合同类型 - 1:采购 -1:销售
  1278. type: integer
  1279. enumdicname:
  1280. description: 单位名称
  1281. type: string
  1282. goodscode:
  1283. description: 点价合约
  1284. type: string
  1285. goodsname:
  1286. description: 商品名称
  1287. type: string
  1288. operateapplyid:
  1289. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1290. type: string
  1291. operateapplytype:
  1292. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1293. type: integer
  1294. pricemove:
  1295. description: 升贴水
  1296. type: number
  1297. pricetype:
  1298. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1299. type: integer
  1300. reckontype:
  1301. description: 结算类型
  1302. type: string
  1303. reckonvalue:
  1304. description: 值
  1305. type: number
  1306. relatedid:
  1307. description: 现货合同ID
  1308. type: string
  1309. sellusername:
  1310. description: 销售方名字
  1311. type: string
  1312. userid:
  1313. description: 用户ID
  1314. type: integer
  1315. type: object
  1316. ermcp.QryBussinessJsRsp:
  1317. properties:
  1318. addmargin:
  1319. description: 追加保证金(非必填)
  1320. type: number
  1321. applyid:
  1322. description: 申请人
  1323. type: string
  1324. applyname:
  1325. description: 申请人名称
  1326. type: string
  1327. applystatus:
  1328. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1329. type: integer
  1330. applytime:
  1331. description: 申请时间
  1332. type: string
  1333. attachurl:
  1334. description: 附件
  1335. type: string
  1336. auditname:
  1337. description: 审核人名称
  1338. type: string
  1339. audittime:
  1340. description: 审核时间
  1341. type: string
  1342. buyusername:
  1343. description: 采购方名称
  1344. type: string
  1345. contractno:
  1346. description: 合同编号
  1347. type: string
  1348. contractstatus:
  1349. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1350. type: integer
  1351. contracttype:
  1352. description: 现货合同类型 - 1:采购 -1:销售
  1353. type: integer
  1354. decmargin:
  1355. description: 减少保证金(非必填)
  1356. type: number
  1357. enumdicname:
  1358. description: 单位名称
  1359. type: string
  1360. goodscode:
  1361. description: 点价合约
  1362. type: string
  1363. goodsname:
  1364. description: 商品名称
  1365. type: string
  1366. operateapplyid:
  1367. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1368. type: string
  1369. operateapplytype:
  1370. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1371. type: integer
  1372. pricemove:
  1373. description: 升贴水
  1374. type: number
  1375. pricetype:
  1376. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1377. type: integer
  1378. reckonadjustamount:
  1379. description: 结算调整金额(非必填)
  1380. type: number
  1381. reckonosamount:
  1382. description: 结算溢短金额(非必填)
  1383. type: number
  1384. reckonotheramount:
  1385. description: 结算其他费用(非必填)
  1386. type: number
  1387. reckonrealqty:
  1388. description: 结算实际数量(非必填)
  1389. type: number
  1390. relatedid:
  1391. description: 现货合同ID
  1392. type: string
  1393. sellusername:
  1394. description: 销售方名字
  1395. type: string
  1396. userid:
  1397. description: 用户ID
  1398. type: integer
  1399. type: object
  1400. ermcp.QryBussinessKxRsp:
  1401. properties:
  1402. applyid:
  1403. description: 申请人
  1404. type: string
  1405. applyname:
  1406. description: 申请人名称
  1407. type: string
  1408. applystatus:
  1409. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1410. type: integer
  1411. applytime:
  1412. description: 申请时间
  1413. type: string
  1414. attachurl:
  1415. description: 附件
  1416. type: string
  1417. auditname:
  1418. description: 审核人名称
  1419. type: string
  1420. audittime:
  1421. description: 审核时间
  1422. type: string
  1423. buyusername:
  1424. description: 采购方名称
  1425. type: string
  1426. contractno:
  1427. description: 合同编号
  1428. type: string
  1429. contractstatus:
  1430. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1431. type: integer
  1432. contracttype:
  1433. description: 现货合同类型 - 1:采购 -1:销售
  1434. type: integer
  1435. deductamount:
  1436. description: 退款(非必填)
  1437. type: number
  1438. enumdicname:
  1439. description: 单位名称
  1440. type: string
  1441. goodscode:
  1442. description: 点价合约
  1443. type: string
  1444. goodsname:
  1445. description: 商品名称
  1446. type: string
  1447. kxtype:
  1448. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1449. type: integer
  1450. operateapplyid:
  1451. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1452. type: string
  1453. operateapplytype:
  1454. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1455. type: integer
  1456. payamount:
  1457. description: 收付款(非必填)
  1458. type: number
  1459. pricemove:
  1460. description: 升贴水
  1461. type: number
  1462. pricetype:
  1463. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1464. type: integer
  1465. relatedid:
  1466. description: 现货合同ID
  1467. type: string
  1468. sellusername:
  1469. description: 销售方名字
  1470. type: string
  1471. userid:
  1472. description: 用户ID
  1473. type: integer
  1474. type: object
  1475. ermcp.QryErmcpRsp:
  1476. properties:
  1477. accountname:
  1478. description: 账户名称
  1479. type: string
  1480. attachment:
  1481. description: 附件
  1482. type: string
  1483. audittime:
  1484. description: 审核时间
  1485. type: string
  1486. contracctstatus:
  1487. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1488. type: integer
  1489. contractmargin:
  1490. description: 合同保证金
  1491. type: number
  1492. contractno:
  1493. description: 合同编号
  1494. type: string
  1495. contracttype:
  1496. description: 合同类型 1-采购, -1-销售
  1497. type: integer
  1498. convertfactor:
  1499. description: 标仓系数
  1500. type: number
  1501. createtime:
  1502. description: 创建时间
  1503. type: string
  1504. daikaiamount:
  1505. description: 待开票额
  1506. type: number
  1507. deliveryenddate:
  1508. description: 交割结束日
  1509. type: string
  1510. deliverygoodscode:
  1511. description: 现货商品代码
  1512. type: string
  1513. deliverygoodsid:
  1514. description: 现货商品ID
  1515. type: integer
  1516. deliverygoodsname:
  1517. description: 现货商品名称
  1518. type: string
  1519. deliverystartdate:
  1520. description: 交割开始日
  1521. type: string
  1522. enddate:
  1523. description: 点价结束日
  1524. type: string
  1525. enumdicname:
  1526. description: 单位名称
  1527. type: string
  1528. goodscode:
  1529. description: 点价商品代码
  1530. type: string
  1531. goodsid:
  1532. description: 点价商品ID
  1533. type: integer
  1534. goodsname:
  1535. description: 点价商品名称
  1536. type: string
  1537. invoiceamount:
  1538. description: 已开票额
  1539. type: number
  1540. loanamount:
  1541. description: 贷款总额=已定价额+调整金额
  1542. type: number
  1543. margin:
  1544. description: 保证金
  1545. type: number
  1546. payamount:
  1547. description: 已收付额(收款或付款)
  1548. type: number
  1549. price:
  1550. description: 价格
  1551. type: number
  1552. pricedamount:
  1553. description: 已定价额
  1554. type: number
  1555. pricedavg:
  1556. description: 已点均价
  1557. type: number
  1558. pricedqty:
  1559. description: 已定价量
  1560. type: number
  1561. pricemove:
  1562. description: 升贴水
  1563. type: number
  1564. pricetype:
  1565. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1566. type: integer
  1567. producttype:
  1568. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1569. type: integer
  1570. qty:
  1571. description: 合同量
  1572. type: number
  1573. reckonadjustamount:
  1574. description: 调整金额
  1575. type: number
  1576. reckonedamount:
  1577. description: 已收付额(已确定额)
  1578. type: number
  1579. reckonotheramount:
  1580. description: 其它费用
  1581. type: number
  1582. reckonrealqty:
  1583. description: 已确定量
  1584. type: number
  1585. remark:
  1586. description: 备注
  1587. type: string
  1588. spotcontractid:
  1589. description: 合同ID
  1590. type: string
  1591. spotgoodsdesc:
  1592. description: 商品型号(商品规格)
  1593. type: string
  1594. startdate:
  1595. description: 点价开始日
  1596. type: string
  1597. totalamount:
  1598. description: 合计总额
  1599. type: number
  1600. unpayamount:
  1601. description: 待支收额(支付或收款)
  1602. type: number
  1603. unpricedqty:
  1604. description: 未定价量
  1605. type: number
  1606. unsureqty:
  1607. description: 未确定量
  1608. type: number
  1609. userid:
  1610. description: 用户ID
  1611. type: integer
  1612. type: object
  1613. ermcp.QryGGCovertCfgRsp:
  1614. properties:
  1615. convertratio:
  1616. description: 折算系数
  1617. type: number
  1618. destgoodsgroupid:
  1619. description: 目标品种ID
  1620. type: integer
  1621. dstcode:
  1622. description: 目录品种代码
  1623. type: string
  1624. dstname:
  1625. description: 目标品种名称
  1626. type: string
  1627. dstunitid:
  1628. description: 目标品种单位ID
  1629. type: integer
  1630. dstunitidname:
  1631. description: 目标品种单位名称
  1632. type: string
  1633. srccode:
  1634. description: 源品种代码
  1635. type: string
  1636. srcgoodsgroupid:
  1637. description: 源品种ID
  1638. type: integer
  1639. srcname:
  1640. description: 源品种名称
  1641. type: string
  1642. srcunitid:
  1643. description: 源品种单位ID
  1644. type: integer
  1645. srcunitidname:
  1646. description: 源品种单位名称
  1647. type: string
  1648. type: object
  1649. ermcp.QryHedgePlanRsp:
  1650. properties:
  1651. areauserid:
  1652. description: 用户ID
  1653. type: integer
  1654. contracttype:
  1655. description: 计划类型 - 1:采购 -1:销售
  1656. type: integer
  1657. convertfactor:
  1658. description: 标仓系数
  1659. type: number
  1660. createtime:
  1661. description: 创建时间
  1662. type: string
  1663. deliverygoodsid:
  1664. description: 现货品种ID
  1665. type: integer
  1666. deliverygoodsname:
  1667. description: 现货品种名称
  1668. type: string
  1669. hedgeplanid:
  1670. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  1671. type: string
  1672. hedgeplanno:
  1673. description: 套保计划编号(名称)
  1674. type: string
  1675. hedgeplanstatus:
  1676. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1677. type: integer
  1678. planqty:
  1679. description: 计划数量
  1680. type: number
  1681. plantime:
  1682. description: 计划时间
  1683. type: string
  1684. producttype:
  1685. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1686. type: integer
  1687. remark:
  1688. description: 备注
  1689. type: string
  1690. spotgoodsdesc:
  1691. description: 商品型号
  1692. type: string
  1693. wrstandardid:
  1694. description: 现货商品ID
  1695. type: integer
  1696. wrstandardname:
  1697. description: 现货商品名称
  1698. type: string
  1699. type: object
  1700. ermcp.QryMGChangeLogRsp:
  1701. properties:
  1702. aftervalue:
  1703. description: 变更后
  1704. type: number
  1705. applyid:
  1706. description: 操作人
  1707. type: integer
  1708. applyname:
  1709. description: 操作人名称
  1710. type: string
  1711. applysrc:
  1712. description: 操作来源 - 1:管理端 2:终端
  1713. type: integer
  1714. beforevalue:
  1715. description: 变更前
  1716. type: number
  1717. changelogtype:
  1718. description: 变更流水类型 - 1:套保比率变更
  1719. type: integer
  1720. handlestatus:
  1721. description: 处理状态
  1722. type: integer
  1723. logdatetime:
  1724. description: 流水日期
  1725. type: string
  1726. logid:
  1727. description: 流水ID
  1728. type: integer
  1729. logremark:
  1730. description: 流水备注
  1731. type: string
  1732. middlegoodsid:
  1733. description: 套保品种ID
  1734. type: integer
  1735. tradedate:
  1736. description: 交易日(yyyyMMdd)
  1737. type: string
  1738. updatetime:
  1739. description: 更新时间
  1740. type: string
  1741. type: object
  1742. ermcp.QryMiddleGoodsDetailRsp:
  1743. properties:
  1744. cvList:
  1745. description: 期货品种折算列表
  1746. items:
  1747. $ref: '#/definitions/models.GoodsGroupConvert'
  1748. type: array
  1749. mg:
  1750. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1751. description: 套保品种基本信息
  1752. type: object
  1753. ermcp.QryMiddleGoodsRsp:
  1754. properties:
  1755. areauserid:
  1756. description: 机构用户ID
  1757. type: integer
  1758. enumdicname:
  1759. description: 单位名称
  1760. type: string
  1761. evaluateratio:
  1762. description: 估价系数
  1763. type: number
  1764. goodsgroupid:
  1765. description: 关联期货品种ID
  1766. type: integer
  1767. isvalid:
  1768. description: 状态 0-无效(停用) 1-有效(正常)
  1769. type: integer
  1770. middlegoodscode:
  1771. description: 套保品种代码
  1772. type: string
  1773. middlegoodsid:
  1774. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1775. type: integer
  1776. middlegoodsname:
  1777. description: 套保品种名称
  1778. type: string
  1779. modifytime:
  1780. description: 修改时间
  1781. type: string
  1782. needhedgeratio:
  1783. description: 套保比率
  1784. type: number
  1785. qtydecimalplace:
  1786. description: 数量小数位
  1787. type: integer
  1788. relatedgoodsid:
  1789. description: 关联交易商品ID
  1790. type: integer
  1791. relatedgoodstype:
  1792. description: 关联商品类型 - 1:期货合约 2:现货品种
  1793. type: integer
  1794. type: object
  1795. ermcp.QryOPLogRsp:
  1796. properties:
  1797. aftervalue:
  1798. description: 变更后
  1799. type: number
  1800. applyid:
  1801. description: 操作人ID
  1802. type: string
  1803. applyname:
  1804. description: 操作人名称
  1805. type: string
  1806. beforevalue:
  1807. description: 变更前
  1808. type: number
  1809. biztype:
  1810. description: 业务类型 - 1:套保计划 2:现货合同
  1811. type: integer
  1812. contracttype:
  1813. description: 现货合同类型 - 1:采购 -1:销售
  1814. type: integer
  1815. logvalue:
  1816. description: 数值
  1817. type: number
  1818. operatelogtype:
  1819. description: 操作流水类型
  1820. type: integer
  1821. operatelogtypedesc:
  1822. description: 操作流水类型名称
  1823. type: string
  1824. relatedid:
  1825. description: 现货合同ID\套保计划
  1826. type: string
  1827. updatetime:
  1828. description: 更新时间
  1829. type: string
  1830. type: object
  1831. ermcp.QryReportDaySpotDetailRsp:
  1832. properties:
  1833. applyid:
  1834. description: 操作人
  1835. type: integer
  1836. applyname:
  1837. description: 操作人名称
  1838. type: string
  1839. biztype:
  1840. description: 业务类型 - 1:套保计划 2:现货合同
  1841. type: integer
  1842. contracttype:
  1843. description: 现货合同类型 - 1:采购 -1:销售
  1844. type: integer
  1845. enumdicName:
  1846. description: 单位名称
  1847. type: string
  1848. logdatetime:
  1849. description: 流水日期(时间)
  1850. type: string
  1851. logid:
  1852. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  1853. type: string
  1854. logtypename:
  1855. description: 合同类型(名称)
  1856. type: string
  1857. logvalue:
  1858. description: 数值
  1859. type: string
  1860. operatelogtype:
  1861. description: 操作流水类型 -
  1862. type: integer
  1863. optypename:
  1864. description: 流水类型名称
  1865. type: string
  1866. relatedid:
  1867. description: 现货合同ID\套保计划
  1868. type: string
  1869. relatedno:
  1870. description: 合同编号
  1871. type: string
  1872. tradedate:
  1873. description: 交易日(yyyyMMdd)
  1874. type: string
  1875. userid:
  1876. description: 机构ID
  1877. type: integer
  1878. wrstandardcode:
  1879. description: 现货商品代码
  1880. type: string
  1881. wrstandardid:
  1882. description: 现货商品ID
  1883. type: integer
  1884. wrstandardname:
  1885. description: 现货商品名称
  1886. type: string
  1887. type: object
  1888. ermcp.QryReportExposureDayRsp:
  1889. properties:
  1890. areauserid:
  1891. description: 所属机构
  1892. type: integer
  1893. buyfutureqty:
  1894. description: 买入期货数量
  1895. type: number
  1896. buyplanqty:
  1897. description: 采购计划数量
  1898. type: number
  1899. buypricedqty:
  1900. description: 采购合同已定价数量
  1901. type: number
  1902. diffFutuQty:
  1903. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  1904. type: number
  1905. diffSpotQty:
  1906. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  1907. type: number
  1908. enumdicname:
  1909. description: 单位名称
  1910. type: string
  1911. middlegoodscode:
  1912. description: 套保品种代码
  1913. type: string
  1914. middlegoodshedgeratio:
  1915. description: 应套保比例
  1916. type: number
  1917. middlegoodsid:
  1918. description: 套保品种ID
  1919. type: integer
  1920. middlegoodsname:
  1921. description: 套保品种名称
  1922. type: string
  1923. needhedgeexposoure:
  1924. description: 应套保敞口
  1925. type: number
  1926. needhedgeratio:
  1927. description: 应套保敞口比例
  1928. type: number
  1929. oriTotalFutuQty:
  1930. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  1931. type: number
  1932. oriTotalSpotQty:
  1933. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  1934. type: number
  1935. oribuyfutureqty:
  1936. description: 期初买入期货数量
  1937. type: number
  1938. oribuyplanqty:
  1939. description: 期初采购计划数量
  1940. type: number
  1941. oribuypricedqty:
  1942. description: 期初采购合同已定价数量
  1943. type: number
  1944. orisellfutureqty:
  1945. description: 期初卖出期货数量
  1946. type: number
  1947. orisellplanqty:
  1948. description: 期初销售计划数量
  1949. type: number
  1950. orisellpricedqty:
  1951. description: 期初销售合同已定价数量
  1952. type: number
  1953. reckondate:
  1954. description: 日照时期(yyyyMMdd)
  1955. type: string
  1956. sellfutureqty:
  1957. description: 卖出期货数量
  1958. type: number
  1959. sellplanqty:
  1960. description: 销售计划数量
  1961. type: number
  1962. sellpricedqty:
  1963. description: 销售合同已定价数量
  1964. type: number
  1965. totalexposure:
  1966. description: 总敞口
  1967. type: number
  1968. totalfutureqty:
  1969. description: 期货数量
  1970. type: number
  1971. totalhedgeratio:
  1972. description: 敞口比例
  1973. type: number
  1974. totalneedhedgeqty:
  1975. description: 期货应套保量
  1976. type: number
  1977. totalspotqty:
  1978. description: 现货数量
  1979. type: number
  1980. type: object
  1981. ermcp.QryReportFinanceDayRsp:
  1982. properties:
  1983. areauserid:
  1984. description: 所属机构
  1985. type: integer
  1986. collectinvoiceamount:
  1987. description: 今日开票金额
  1988. type: number
  1989. collectinvoicecount:
  1990. description: 今日开票笔数
  1991. type: integer
  1992. collectmoneyamount:
  1993. description: 今日收款金额
  1994. type: number
  1995. collectmoneycount:
  1996. description: 今日收款笔数
  1997. type: integer
  1998. payinvoiceamount:
  1999. description: 今日收票金额
  2000. type: number
  2001. payinvoicecount:
  2002. description: 今日收票笔数
  2003. type: integer
  2004. paymoneyamount:
  2005. description: 今日付款金额
  2006. type: number
  2007. paymoneycount:
  2008. description: 今日付款笔数
  2009. type: integer
  2010. reckondate:
  2011. description: 日照时期(yyyyMMdd)
  2012. type: string
  2013. updatetime:
  2014. description: 更新时间
  2015. type: string
  2016. type: object
  2017. ermcp.QryReportFinanceKxRsp:
  2018. properties:
  2019. applyid:
  2020. description: 操作人
  2021. type: integer
  2022. applyname:
  2023. description: 操作人名称
  2024. type: string
  2025. biztype:
  2026. description: 业务类型 - 1:套保计划 2:现货合同
  2027. type: integer
  2028. contracttype:
  2029. description: 现货合同类型 - 1:采购 -1:销售
  2030. type: integer
  2031. enumdicName:
  2032. description: 单位名称
  2033. type: string
  2034. logdatetime:
  2035. description: 流水日期(时间)
  2036. type: string
  2037. logid:
  2038. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2039. type: string
  2040. logtypename:
  2041. description: 合同类型(名称)
  2042. type: string
  2043. logvalue:
  2044. description: 数值
  2045. type: string
  2046. operatelogtype:
  2047. description: 操作流水类型 -
  2048. type: integer
  2049. optypename:
  2050. description: 流水类型名称
  2051. type: string
  2052. relatedid:
  2053. description: 现货合同ID\套保计划
  2054. type: string
  2055. relatedno:
  2056. description: 合同编号
  2057. type: string
  2058. tradedate:
  2059. description: 交易日(yyyyMMdd)
  2060. type: string
  2061. userid:
  2062. description: 机构ID
  2063. type: integer
  2064. wrstandardcode:
  2065. description: 现货商品代码
  2066. type: string
  2067. wrstandardid:
  2068. description: 现货商品ID
  2069. type: integer
  2070. wrstandardname:
  2071. description: 现货商品名称
  2072. type: string
  2073. type: object
  2074. ermcp.QryReportFinanceMonRsp:
  2075. properties:
  2076. areauserid:
  2077. description: 所属机构【原值】
  2078. type: integer
  2079. collectinvoiceamount:
  2080. description: 今日开票金额【汇总】
  2081. type: number
  2082. collectinvoicecount:
  2083. description: 今日开票笔数【汇总】
  2084. type: integer
  2085. collectmoneyamount:
  2086. description: 今日收款金额【汇总】
  2087. type: number
  2088. collectmoneycount:
  2089. description: 今日收款笔数 【汇总】
  2090. type: integer
  2091. cycletime:
  2092. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2093. type: string
  2094. cycletype:
  2095. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2096. type: integer
  2097. dayFr:
  2098. description: 日报表明细
  2099. items:
  2100. $ref: '#/definitions/models.ErmcpReportDayFR'
  2101. type: array
  2102. payinvoiceamount:
  2103. description: 今日收票金额【汇总】
  2104. type: number
  2105. payinvoicecount:
  2106. description: 今日收票笔数【汇总】
  2107. type: integer
  2108. paymoneyamount:
  2109. description: 今日付款金额【汇总】
  2110. type: number
  2111. paymoneycount:
  2112. description: 今日付款笔数【汇总】
  2113. type: integer
  2114. updatetime:
  2115. description: 更新时间
  2116. type: string
  2117. type: object
  2118. ermcp.QryReportSpotDayRsp:
  2119. properties:
  2120. areauserid:
  2121. description: 所属机构T
  2122. type: integer
  2123. enumdicname:
  2124. description: 现货商品单位名称
  2125. type: string
  2126. reckondate:
  2127. description: 日照时期(yyyyMMdd)
  2128. type: string
  2129. todaybuyreckonqty:
  2130. description: 采购确定量
  2131. type: number
  2132. todaysellreckonqty:
  2133. description: 销售确定量
  2134. type: number
  2135. totalbuypricedqty:
  2136. description: 采购定价量 = 期末 - 期初
  2137. type: number
  2138. totalsellpricedqty:
  2139. description: 销售定价量 = 期末 - 期初
  2140. type: number
  2141. wrstandardcode:
  2142. description: 现货商品代码
  2143. type: string
  2144. wrstandardid:
  2145. description: 现货商品ID
  2146. type: integer
  2147. wrstandardname:
  2148. description: 现货商品名称
  2149. type: string
  2150. type: object
  2151. ermcp.QryReportSpotMonRsp:
  2152. properties:
  2153. areauserid:
  2154. description: 所属机构T
  2155. type: integer
  2156. cycletime:
  2157. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2158. type: string
  2159. cycletype:
  2160. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2161. type: integer
  2162. enumdicname:
  2163. description: 现货商品单位名称
  2164. type: string
  2165. todaybuyreckonqty:
  2166. description: 采购确定量
  2167. type: number
  2168. todaysellreckonqty:
  2169. description: 销售确定量
  2170. type: number
  2171. totalbuypricedqty:
  2172. description: 采购定价量 = 期末 - 期初
  2173. type: number
  2174. totalsellpricedqty:
  2175. description: 销售定价量 = 期末 - 期初
  2176. type: number
  2177. wrstandardcode:
  2178. description: 现货商品代码
  2179. type: string
  2180. wrstandardid:
  2181. description: 现货商品ID
  2182. type: integer
  2183. wrstandardname:
  2184. description: 现货商品名称
  2185. type: string
  2186. type: object
  2187. ermcp.QryReportSpotMonthDetailRsp:
  2188. properties:
  2189. areauserid:
  2190. description: 所属机构T
  2191. type: integer
  2192. enumdicname:
  2193. description: 现货商品单位名称
  2194. type: string
  2195. reckondate:
  2196. description: 日照时期(yyyyMMdd)
  2197. type: string
  2198. todaybuyreckonqty:
  2199. description: 采购确定量
  2200. type: number
  2201. todaysellreckonqty:
  2202. description: 销售确定量
  2203. type: number
  2204. totalbuypricedqty:
  2205. description: 采购定价量 = 期末 - 期初
  2206. type: number
  2207. totalsellpricedqty:
  2208. description: 销售定价量 = 期末 - 期初
  2209. type: number
  2210. wrstandardcode:
  2211. description: 现货商品代码
  2212. type: string
  2213. wrstandardid:
  2214. description: 现货商品ID
  2215. type: integer
  2216. wrstandardname:
  2217. description: 现货商品名称
  2218. type: string
  2219. type: object
  2220. ermcp.QrySpotContractRsp:
  2221. properties:
  2222. amount:
  2223. description: 金额 [1:一口价、3:暂定价]
  2224. type: number
  2225. attachment:
  2226. description: 附件
  2227. type: string
  2228. auditremark:
  2229. description: 审核意见
  2230. type: string
  2231. audittime:
  2232. description: 审核时间
  2233. type: string
  2234. brandname:
  2235. description: 品牌名称
  2236. type: string
  2237. buyuserid:
  2238. description: 采购方ID
  2239. type: integer
  2240. buyusername:
  2241. description: 采购方名称
  2242. type: string
  2243. contracctstatus:
  2244. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2245. type: integer
  2246. contractmargin:
  2247. description: 合同保证金
  2248. type: number
  2249. contractno:
  2250. description: 现货合同编号
  2251. type: string
  2252. contracttype:
  2253. description: 现货合同类型 - 1:采购 -1:销售
  2254. type: integer
  2255. convertfactor:
  2256. description: 标仓系数
  2257. type: number
  2258. createtime:
  2259. description: 创建时间
  2260. type: string
  2261. deliveryenddate:
  2262. description: 交收期(结束)
  2263. type: string
  2264. deliverygoodscode:
  2265. description: 现货品种代码
  2266. type: string
  2267. deliverygoodsid:
  2268. description: 现货品种ID
  2269. type: integer
  2270. deliverygoodsname:
  2271. description: 现货品种名称
  2272. type: string
  2273. deliverystartdate:
  2274. description: 交收期(开始)
  2275. type: string
  2276. enddate:
  2277. description: 点价结束日期 [2:点价 3:暂定价]
  2278. type: string
  2279. enumdicname:
  2280. description: 单位名称
  2281. type: string
  2282. goodscode:
  2283. description: 点价合约代码
  2284. type: string
  2285. goodsid:
  2286. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  2287. type: integer
  2288. goodsname:
  2289. description: 点价商品名称
  2290. type: string
  2291. margin:
  2292. description: 当前保证金
  2293. type: number
  2294. modelname:
  2295. description: 型号名称
  2296. type: string
  2297. price:
  2298. description: 价格\暂定价 [1:一口价、3:暂定价]
  2299. type: number
  2300. pricemove:
  2301. description: 升贴水 [2:点价 3:暂定价]
  2302. type: number
  2303. pricetype:
  2304. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2305. type: integer
  2306. producttype:
  2307. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2308. type: integer
  2309. qty:
  2310. description: 数量
  2311. type: number
  2312. remark:
  2313. description: 备注
  2314. type: string
  2315. selluserid:
  2316. description: 销售方ID
  2317. type: integer
  2318. sellusername:
  2319. description: 销售方名称
  2320. type: string
  2321. spotcontractid:
  2322. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  2323. type: string
  2324. spotgoodsbrandid:
  2325. description: 现货品牌ID
  2326. type: integer
  2327. spotgoodsdesc:
  2328. description: 商品型号
  2329. type: string
  2330. spotgoodsmodelid:
  2331. description: 现货型号ID
  2332. type: integer
  2333. startdate:
  2334. description: 点价开始日期 [2:点价 3:暂定价]
  2335. type: string
  2336. userid:
  2337. description: 机构ID
  2338. type: integer
  2339. wrstandardid:
  2340. description: 现货商品ID
  2341. type: integer
  2342. type: object
  2343. ermcp.QryUserInfoRsp:
  2344. properties:
  2345. address:
  2346. description: 通讯地址
  2347. type: string
  2348. attachment1:
  2349. description: 附件1
  2350. type: string
  2351. cardfrontphotourl:
  2352. description: 证件正面图片地址
  2353. type: string
  2354. cardnum:
  2355. description: 证件号码
  2356. type: string
  2357. cardtype:
  2358. description: 证件类型
  2359. type: integer
  2360. cardtypename:
  2361. description: 证件类型名称
  2362. type: string
  2363. cityid:
  2364. description: 市
  2365. type: integer
  2366. countryid:
  2367. description: 国家
  2368. type: integer
  2369. createtime:
  2370. description: 创建时间
  2371. type: string
  2372. customername:
  2373. description: 企业名称
  2374. type: string
  2375. memberuserid:
  2376. description: 所属机构ID
  2377. type: integer
  2378. mobile:
  2379. description: 手机号码
  2380. type: string
  2381. provinceid:
  2382. description: 省
  2383. type: integer
  2384. remark:
  2385. description: 备注
  2386. type: string
  2387. status:
  2388. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2389. type: integer
  2390. statusdesc:
  2391. description: 账户状态中文描述
  2392. type: string
  2393. telphone:
  2394. description: 联系电话
  2395. type: string
  2396. userid:
  2397. description: 用户ID
  2398. type: integer
  2399. userinfotype:
  2400. description: 客户类型
  2401. type: string
  2402. type: object
  2403. ermcp.QryWrStandardDetailRsp:
  2404. properties:
  2405. gbList:
  2406. description: 品牌列表
  2407. items:
  2408. $ref: '#/definitions/models.GoodsBrand'
  2409. type: array
  2410. gtList:
  2411. description: 型号列表
  2412. items:
  2413. $ref: '#/definitions/models.GoodsTypeModel'
  2414. type: array
  2415. wrd:
  2416. $ref: '#/definitions/models.ErmcpWrstandard'
  2417. description: 基本信息
  2418. wrsList:
  2419. description: 套保信息列表
  2420. items:
  2421. $ref: '#/definitions/models.WRSConverTDetail'
  2422. type: array
  2423. type: object
  2424. ermcp.QryWrStandardRsp:
  2425. properties:
  2426. areauserid:
  2427. description: 所属机构
  2428. type: integer
  2429. createtime:
  2430. description: 创建时间
  2431. type: string
  2432. creatorid:
  2433. description: 创建人
  2434. type: integer
  2435. deliverygoodsid:
  2436. description: 品种ID
  2437. type: integer
  2438. enumdicname:
  2439. description: 单位名称
  2440. type: string
  2441. isvalid:
  2442. description: 是否有效 0-无效(停用) 1-有效(正常)
  2443. type: integer
  2444. minivalue:
  2445. description: 最小变动值
  2446. type: integer
  2447. minivaluedp:
  2448. description: 最小变动值小数位
  2449. type: integer
  2450. realminivalue:
  2451. description: 实际最小变动值
  2452. type: integer
  2453. realminivaluedp:
  2454. description: 实际最小变动值小数位
  2455. type: integer
  2456. remark:
  2457. description: 备注
  2458. type: string
  2459. unitid:
  2460. description: 单位ID
  2461. type: integer
  2462. updatetime:
  2463. description: 更新时间
  2464. type: string
  2465. wrstandardcode:
  2466. description: 现货商品代码
  2467. type: string
  2468. wrstandardid:
  2469. description: 现货商品ID(SEQ_WRSTANDARD)
  2470. type: integer
  2471. wrstandardname:
  2472. description: 现货商品名称
  2473. type: string
  2474. type: object
  2475. ermcp.RealtimeExposurePositionRsp:
  2476. properties:
  2477. agreeunit:
  2478. description: 合约单位
  2479. type: string
  2480. areauserid:
  2481. description: 所属机构id
  2482. type: integer
  2483. convertratio:
  2484. description: 期货品种系数(折算系数)
  2485. type: number
  2486. curqty:
  2487. description: 当前持仓
  2488. type: integer
  2489. diffhedgeqty:
  2490. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2491. type: number
  2492. diffqty:
  2493. description: 持仓变动量=当前持仓-昨日持仓
  2494. type: integer
  2495. goodscode:
  2496. description: 商品代码
  2497. type: string
  2498. goodsid:
  2499. description: 商品id
  2500. type: integer
  2501. goodsname:
  2502. description: 商品名称
  2503. type: string
  2504. middlegoodsid:
  2505. description: 套保商品id
  2506. type: integer
  2507. ydqty:
  2508. description: 昨日持仓
  2509. type: integer
  2510. type: object
  2511. ermcp.RealtimeExposureRsp:
  2512. properties:
  2513. areaUserID:
  2514. description: 所属机构
  2515. type: integer
  2516. buyFutureQty:
  2517. description: 买入期货数量
  2518. type: number
  2519. buyPlanQty:
  2520. description: 采购计划数量
  2521. type: number
  2522. buyPricedQty:
  2523. description: 采购合同已定价数量
  2524. type: number
  2525. diffFutuQty:
  2526. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  2527. type: number
  2528. diffSpotQty:
  2529. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  2530. type: number
  2531. enumdicname:
  2532. description: 单位名称
  2533. type: string
  2534. middleGoodsCode:
  2535. description: 套保品种代码
  2536. type: string
  2537. middleGoodsHedgeRatio:
  2538. description: 应套保比例
  2539. type: number
  2540. middleGoodsID:
  2541. description: 套保品种
  2542. type: integer
  2543. middleGoodsName:
  2544. description: 套保品种名称
  2545. type: string
  2546. needHedgeExposoure:
  2547. description: 应套保敞口
  2548. type: number
  2549. needHedgeRatio:
  2550. description: 应套保敞口比例
  2551. type: number
  2552. oriBuyFutureQty:
  2553. description: 期初买入期货数量
  2554. type: number
  2555. oriBuyPlanQty:
  2556. description: 期初采购计划数量
  2557. type: number
  2558. oriBuyPricedQty:
  2559. description: 期初采购合同已定价数量
  2560. type: number
  2561. oriSellFutureQty:
  2562. description: 期初卖出期货数量
  2563. type: number
  2564. oriSellPlanQty:
  2565. description: 期初销售计划数量
  2566. type: number
  2567. oriSellPricedQty:
  2568. description: 期初销售合同已定价数量
  2569. type: number
  2570. oriTotalFutuQty:
  2571. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2572. type: number
  2573. oriTotalSpotQty:
  2574. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2575. type: number
  2576. sellFutureQty:
  2577. description: 卖出期货数量
  2578. type: number
  2579. sellPlanQty:
  2580. description: 销售计划数量
  2581. type: number
  2582. sellPricedQty:
  2583. description: 销售合同已定价数量
  2584. type: number
  2585. totalExposure:
  2586. description: 总敞口
  2587. type: number
  2588. totalFutureQty:
  2589. description: 期货数量
  2590. type: number
  2591. totalHedgeRatio:
  2592. description: 敞口比例
  2593. type: number
  2594. totalNeedHedgeQty:
  2595. description: 期货应套保量
  2596. type: number
  2597. totalSpotQty:
  2598. description: 现货数量
  2599. type: number
  2600. type: object
  2601. erms2.QueryArbitrageStrategyRsp:
  2602. properties:
  2603. applybasis:
  2604. description: 申请基差
  2605. type: number
  2606. asapplyid:
  2607. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2608. type: string
  2609. asname:
  2610. description: 策略名称
  2611. type: string
  2612. asno:
  2613. description: 策略编号
  2614. type: string
  2615. basischangepl:
  2616. description: 基差变动损益[结算更新]
  2617. type: number
  2618. biztype:
  2619. description: 业务类型 - 1:正向套利 -1:反向套利
  2620. type: integer
  2621. closetradedate:
  2622. description: 完结交易日(yyyyMMdd)
  2623. type: string
  2624. curbasis:
  2625. description: 当前基差[结算更新]
  2626. type: number
  2627. deliverygoodsid:
  2628. description: 现货品种ID
  2629. type: integer
  2630. futureavgprice:
  2631. description: 期货建仓均价
  2632. type: number
  2633. futurecloseamount:
  2634. description: 期货平仓金额
  2635. type: number
  2636. futurecloseqty:
  2637. description: 期货平仓数量
  2638. type: number
  2639. futureopenamount:
  2640. description: 期货开仓金额
  2641. type: number
  2642. futureopenqty:
  2643. description: 期货开仓数量
  2644. type: number
  2645. futurepl:
  2646. description: 期货总盈亏[结算更新]
  2647. type: number
  2648. futureqty:
  2649. description: 期货持仓数量
  2650. type: number
  2651. futurequote:
  2652. description: 期货额度
  2653. type: number
  2654. goodsgroupid:
  2655. description: 期货品种ID
  2656. type: integer
  2657. marketid:
  2658. description: 市场ID
  2659. type: integer
  2660. netexposure:
  2661. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2662. type: number
  2663. netexposurepl:
  2664. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2665. type: number
  2666. netexposurerate:
  2667. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2668. type: number
  2669. openbasis:
  2670. description: 建仓基差
  2671. type: number
  2672. pricedspotqty:
  2673. description: 已定价现货数量
  2674. type: number
  2675. pricedspotqtynotax:
  2676. description: 已定价现货不含税数量
  2677. type: number
  2678. remark:
  2679. description: 备注
  2680. type: string
  2681. spotavgprice:
  2682. description: 现货均价
  2683. type: number
  2684. spotbuyamount:
  2685. description: 现货采购金额
  2686. type: number
  2687. spotbuyqty:
  2688. description: 现货采购数量
  2689. type: number
  2690. spotpl:
  2691. description: 现货总盈亏[结算更新]
  2692. type: number
  2693. spotquota:
  2694. description: 现货额度
  2695. type: number
  2696. spotsellamount:
  2697. description: 现货销售金额
  2698. type: number
  2699. spotsellqty:
  2700. description: 现货销售数量
  2701. type: number
  2702. spotusedquota:
  2703. description: 现货占用资金
  2704. type: number
  2705. strategystatus:
  2706. description: 策略状态 - 0:未结束 1:已结束
  2707. type: integer
  2708. totalpl:
  2709. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2710. type: number
  2711. tradedate:
  2712. description: 交易日(yyyyMMdd)
  2713. type: string
  2714. updatetime:
  2715. description: 更新时间
  2716. type: string
  2717. usedquota:
  2718. description: 已占用资金
  2719. type: number
  2720. userid:
  2721. description: 所属机构
  2722. type: integer
  2723. required:
  2724. - asapplyid
  2725. type: object
  2726. erms2.QueryInnerTradeDetailRsp:
  2727. properties:
  2728. accountid:
  2729. description: 账号ID
  2730. type: integer
  2731. agreeunit:
  2732. description: 合约单位
  2733. type: number
  2734. asapplyid:
  2735. description: 策略申请ID
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. buyorsell:
  2744. description: 方向 - 0:买 1:卖
  2745. type: integer
  2746. channelbuildtype:
  2747. description: 委托单据类型 0:无 1:建仓 2:平仓
  2748. type: integer
  2749. closetype:
  2750. description: 平仓方式 - 0:无 1:平今 2:平昨
  2751. type: integer
  2752. decimalplace:
  2753. description: 报价小数位
  2754. type: integer
  2755. detailtype:
  2756. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2757. type: integer
  2758. exexchangecode:
  2759. description: 外部交易所代码
  2760. type: string
  2761. exexchangename:
  2762. description: 外部交易所名称
  2763. type: string
  2764. goodscode:
  2765. description: 商品代码(合约)
  2766. type: string
  2767. goodsgroupid:
  2768. description: 商品组ID(品种ID)
  2769. type: integer
  2770. goodsgroupname:
  2771. description: 商品组名称(品种)
  2772. type: string
  2773. goodsid:
  2774. description: 商品ID
  2775. type: integer
  2776. goodsname:
  2777. description: 商品名称(合约)
  2778. type: string
  2779. goodunit:
  2780. description: 报价单位
  2781. type: string
  2782. marketid:
  2783. description: 市场ID
  2784. type: integer
  2785. orderid:
  2786. description: 委托单号
  2787. type: string
  2788. outgoodscode:
  2789. description: 商品代码(外部)
  2790. type: string
  2791. relatedouttradeid:
  2792. description: 关联外部成交单ID
  2793. type: string
  2794. remark:
  2795. description: 备注
  2796. type: string
  2797. spotcontractid:
  2798. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2799. type: integer
  2800. spotcontractno:
  2801. description: 现货合同编号
  2802. type: string
  2803. tradeid:
  2804. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2805. type: string
  2806. tradeprice:
  2807. description: 成交价格
  2808. type: number
  2809. tradeqty:
  2810. description: 成交数量
  2811. type: integer
  2812. tradetime:
  2813. description: 成交时间
  2814. type: string
  2815. updatetime:
  2816. description: 更新时间
  2817. type: string
  2818. required:
  2819. - asapplyid
  2820. - buyorsell
  2821. - goodscode
  2822. - goodsgroupid
  2823. - goodsgroupname
  2824. - goodsname
  2825. - tradeid
  2826. type: object
  2827. erms2.QuerySpotContractRsp:
  2828. properties:
  2829. accountid:
  2830. description: 资金账户ID
  2831. type: integer
  2832. areauserid:
  2833. description: 所属机构
  2834. type: integer
  2835. closedate:
  2836. description: 终止日期
  2837. type: string
  2838. closeremark:
  2839. description: 结束备注
  2840. type: string
  2841. closetradedate:
  2842. description: 完结交易日(yyyyMMdd)
  2843. type: string
  2844. closetype:
  2845. description: 终止类型 - 1:违约 2:提前终止
  2846. type: integer
  2847. contractamount:
  2848. description: 合同金额
  2849. type: number
  2850. contractattachment:
  2851. description: 合同附件
  2852. type: string
  2853. contractno:
  2854. description: 现货合同编号
  2855. type: string
  2856. contractqty:
  2857. description: 合同数量(数值) (用于计算)
  2858. type: number
  2859. contractqtychar:
  2860. description: 合同数量\已订价数量 (用于显示)
  2861. type: string
  2862. contractstatus:
  2863. description: 合同状态 - 0:未结束 1:已结束
  2864. type: integer
  2865. contracttype:
  2866. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2867. type: integer
  2868. customeraccountid:
  2869. description: 客户资金账户ID
  2870. type: integer
  2871. customeruserid:
  2872. description: 客户ID
  2873. type: integer
  2874. deliverygoodsdesc:
  2875. description: 品种说明
  2876. type: string
  2877. deliverygoodsid:
  2878. description: 现货品种ID
  2879. type: integer
  2880. handlestatus:
  2881. description: 处理状态
  2882. type: integer
  2883. invoiceatt:
  2884. description: 发票附件
  2885. type: string
  2886. invoicedatetime:
  2887. description: 开收票更新时间
  2888. type: string
  2889. invoiceopentime:
  2890. description: 开票时间
  2891. type: string
  2892. invoiceremark:
  2893. description: 发票备注
  2894. type: string
  2895. invoicestatus:
  2896. description: 开收票状态 - 0:未开票 1:已开票
  2897. type: integer
  2898. lastdate:
  2899. description: 交货时间
  2900. type: string
  2901. marketid:
  2902. description: 市场ID
  2903. type: integer
  2904. paydatetime:
  2905. description: 收付款更新时间
  2906. type: string
  2907. payremark:
  2908. description: 收付款备注
  2909. type: string
  2910. paystatus:
  2911. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2912. type: integer
  2913. positionqty:
  2914. description: 头寸数量 - 合同数量去小数部分
  2915. type: integer
  2916. producttype:
  2917. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2918. type: integer
  2919. relatedqty:
  2920. description: 已关联数量
  2921. type: number
  2922. relatedstatus:
  2923. description: 关联完结状态 - 0:未结束 1:已结束
  2924. type: integer
  2925. remark:
  2926. description: 备注
  2927. type: string
  2928. signdate:
  2929. description: 签订日期
  2930. type: string
  2931. spotcontractid:
  2932. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2933. type: string
  2934. spotdatetime:
  2935. description: 收发货更新时间
  2936. type: string
  2937. spotprice:
  2938. description: 价格
  2939. type: number
  2940. spotremark:
  2941. description: 收发货备注
  2942. type: string
  2943. spotstatus:
  2944. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2945. type: integer
  2946. tradedate:
  2947. description: 交易日(yyyyMMdd)
  2948. type: string
  2949. userid:
  2950. description: 业务员用户ID
  2951. type: integer
  2952. warehouseid:
  2953. description: 仓库ID
  2954. type: integer
  2955. wrfactortypeid:
  2956. description: 仓单要素类型ID
  2957. type: integer
  2958. wrstandardid:
  2959. description: 仓单标准ID(SEQ_WRSTANDARD)
  2960. type: integer
  2961. required:
  2962. - spotcontractid
  2963. type: object
  2964. erms3.AddErms2ASApplyReq:
  2965. properties:
  2966. applybasis:
  2967. description: 申请基差
  2968. type: number
  2969. applystatus:
  2970. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2971. type: integer
  2972. asapplyid:
  2973. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2974. type: integer
  2975. asname:
  2976. description: 策略名称
  2977. type: string
  2978. asno:
  2979. description: 策略编号
  2980. type: string
  2981. auditid:
  2982. description: 审核人
  2983. type: integer
  2984. auditremark:
  2985. description: 审核备注
  2986. type: string
  2987. audittime:
  2988. description: 审核时间
  2989. type: string
  2990. biztype:
  2991. description: 业务类型 - 1:正向套利 2:反向套利
  2992. type: integer
  2993. createtime:
  2994. description: 创建时间
  2995. type: string
  2996. creatorid:
  2997. description: 创建人
  2998. type: integer
  2999. deliverygoodsid:
  3000. description: 现货品种ID
  3001. type: integer
  3002. futurequote:
  3003. description: 期货额度
  3004. type: number
  3005. goodsgroupid:
  3006. description: 期货品种ID
  3007. type: integer
  3008. marketid:
  3009. description: 市场ID
  3010. type: integer
  3011. remark:
  3012. description: 备注
  3013. type: string
  3014. spotquota:
  3015. description: 现货额度
  3016. type: number
  3017. tradedate:
  3018. description: 交易日(yyyyMMdd)
  3019. type: string
  3020. userid:
  3021. description: 所属机构
  3022. type: integer
  3023. required:
  3024. - asapplyid
  3025. type: object
  3026. erms3.AddErms2SpotTradeApplyReq:
  3027. properties:
  3028. applyjsondetail:
  3029. description: 申请明细(JSON)
  3030. type: string
  3031. applystatus:
  3032. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3033. type: integer
  3034. areauserid:
  3035. description: 所属机构
  3036. type: integer
  3037. auditid:
  3038. description: 审核人
  3039. type: integer
  3040. auditremark:
  3041. description: 审核备注
  3042. type: string
  3043. audittime:
  3044. description: 审核时间
  3045. type: string
  3046. createtime:
  3047. description: 创建时间
  3048. type: string
  3049. creatorid:
  3050. description: 创建人
  3051. type: integer
  3052. deliverygoodsid:
  3053. description: 现货品种ID
  3054. type: integer
  3055. futureaccountid:
  3056. description: 期货资金账户
  3057. type: integer
  3058. goodsgroupid:
  3059. description: 期货品种
  3060. type: integer
  3061. marketid:
  3062. description: 市场ID
  3063. type: integer
  3064. remark:
  3065. description: 备注
  3066. type: string
  3067. spotaccountid:
  3068. description: 现货资金账户
  3069. type: integer
  3070. spottradeid:
  3071. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  3072. type: integer
  3073. spottradename:
  3074. description: 业务名称
  3075. type: string
  3076. spottradeno:
  3077. description: 业务编号
  3078. type: string
  3079. tradedate:
  3080. description: 交易日(yyyyMMdd)
  3081. type: string
  3082. wrstandardid:
  3083. description: 仓单标准ID
  3084. type: integer
  3085. required:
  3086. - spottradeid
  3087. type: object
  3088. erms3.AddSpotContractApplyReq:
  3089. properties:
  3090. accountid:
  3091. description: 资金账户ID
  3092. type: integer
  3093. areauserid:
  3094. description: 所属机构
  3095. type: integer
  3096. contractattachment:
  3097. description: 合同附件
  3098. type: string
  3099. contractno:
  3100. description: 现货合同编号
  3101. type: string
  3102. contracttype:
  3103. description: 现货合同类型 - 1:采购 -1:销售
  3104. type: integer
  3105. creatorid:
  3106. description: 申请人
  3107. type: integer
  3108. customeraccountid:
  3109. description: 客户资金账户ID
  3110. type: integer
  3111. customeruserid:
  3112. description: 客户ID
  3113. type: integer
  3114. details:
  3115. description: 明细
  3116. items:
  3117. $ref: '#/definitions/erms3.SoptContractDetail'
  3118. type: array
  3119. orimargin:
  3120. description: 初始保证金
  3121. type: number
  3122. remark:
  3123. description: 备注
  3124. type: string
  3125. signdate:
  3126. description: 签订日期
  3127. type: string
  3128. required:
  3129. - accountid
  3130. - areauserid
  3131. - contractno
  3132. - contracttype
  3133. - customeraccountid
  3134. - customeruserid
  3135. - details
  3136. - orimargin
  3137. - signdate
  3138. type: object
  3139. erms3.AddSpotContractApplyRsp:
  3140. properties:
  3141. contractno:
  3142. description: 现货合同编号
  3143. type: string
  3144. spotcontractid:
  3145. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  3146. type: integer
  3147. required:
  3148. - contractno
  3149. type: object
  3150. erms3.AddUserInfoApplyReq:
  3151. properties:
  3152. accountid:
  3153. description: 交易系统帐号Id (加密存储)
  3154. type: integer
  3155. areacode:
  3156. description: 机构代码
  3157. type: string
  3158. areaid:
  3159. description: 机构Id
  3160. type: integer
  3161. attachment1:
  3162. description: 附件1
  3163. type: string
  3164. attachment2:
  3165. description: 附件2
  3166. type: string
  3167. attachment3:
  3168. description: 附件3
  3169. type: string
  3170. attachment4:
  3171. description: 附件4
  3172. type: string
  3173. attachment5:
  3174. description: 附件5
  3175. type: string
  3176. auditedby:
  3177. description: 审核人
  3178. type: string
  3179. auditime:
  3180. description: 审核时间
  3181. type: string
  3182. bankaccount:
  3183. description: 银行帐号 (加密存储)
  3184. type: string
  3185. bankaccountname:
  3186. description: 收款人名称
  3187. type: string
  3188. bankcardbackphotourl:
  3189. description: 银行卡背面照地址
  3190. type: string
  3191. bankcardfrontphotourl:
  3192. description: 银行卡正面照地址
  3193. type: string
  3194. bankid:
  3195. description: 银行编码
  3196. type: string
  3197. bankname:
  3198. description: 银行名称
  3199. type: string
  3200. bankpictureurl:
  3201. description: 银行卡正面地址
  3202. type: string
  3203. biznature:
  3204. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3205. type: integer
  3206. bizscope:
  3207. description: 企业经营范围(企业)
  3208. type: string
  3209. biztype:
  3210. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3211. type: integer
  3212. brokerid:
  3213. description: 经纪人ID(加密存储)
  3214. type: string
  3215. cardaddress:
  3216. description: 证件地址 (加密存储)
  3217. type: string
  3218. cardbackphotourl:
  3219. description: 背面证件照地址
  3220. type: string
  3221. cardfrontphotourl:
  3222. description: 正面证件照地址
  3223. type: string
  3224. cardnum:
  3225. description: 证件号码 (加密存储)
  3226. type: string
  3227. cardtype:
  3228. description: 证件类型
  3229. type: integer
  3230. cityid:
  3231. description: 市
  3232. type: integer
  3233. company:
  3234. description: 公司(个人)
  3235. type: string
  3236. contactcardbackphotourl:
  3237. description: 联系人证件背面图片地址
  3238. type: string
  3239. contactcardfrontphotourl:
  3240. description: 联系人证件正面图片地址
  3241. type: string
  3242. contactname:
  3243. description: 联系人
  3244. type: string
  3245. countryid:
  3246. description: 国家
  3247. type: integer
  3248. createtime:
  3249. description: 开户申请时间
  3250. type: string
  3251. cusbankid:
  3252. description: 签约类型
  3253. type: string
  3254. cusbankname:
  3255. description: 签约类型名称
  3256. type: string
  3257. customername:
  3258. description: 客户名称(企业名称)
  3259. type: string
  3260. districtid:
  3261. description: 地区
  3262. type: integer
  3263. email:
  3264. description: Email地址(加密存储)
  3265. type: string
  3266. halfbodyphotourl:
  3267. description: 半身照地址
  3268. type: string
  3269. headurl:
  3270. description: 头像地址
  3271. type: string
  3272. ipaddress:
  3273. description: IP地址
  3274. type: string
  3275. isvalidate:
  3276. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3277. type: string
  3278. legalcardbackphotourl:
  3279. description: 法人身份证背面照地址
  3280. type: string
  3281. legalcardfrontphotourl:
  3282. description: 法人身份证正面照地址
  3283. type: string
  3284. legalpersonname:
  3285. description: 法人姓名(企业)
  3286. type: string
  3287. logincode:
  3288. description: 登录帐号 (加密存储)
  3289. type: string
  3290. memberareaid:
  3291. description: 所属会员ID
  3292. type: integer
  3293. mobile2:
  3294. description: 手机号码[明文-尚志]
  3295. type: string
  3296. mobilephone:
  3297. description: 手机号码 (加密存储)
  3298. type: string
  3299. modifiedby:
  3300. description: 修改人帐号
  3301. type: integer
  3302. modifiedtime:
  3303. description: 修改时间
  3304. type: string
  3305. nickname:
  3306. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3307. type: string
  3308. openmode:
  3309. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3310. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3311. type: integer
  3312. otherurl:
  3313. description: 其它图片地址[使用分号分隔]
  3314. type: string
  3315. postalcode:
  3316. description: 邮政编码
  3317. type: string
  3318. provinceid:
  3319. description: 省
  3320. type: integer
  3321. proxystatementurl:
  3322. description: 授权委托书
  3323. type: string
  3324. qq:
  3325. description: QQ(加密存储
  3326. type: string
  3327. referral:
  3328. description: 推荐人编码
  3329. type: string
  3330. remark:
  3331. description: 备注
  3332. type: string
  3333. removebeforestatus:
  3334. description: REMOVEBEFORESTATUS
  3335. type: integer
  3336. sex:
  3337. description: 性别 - 0:女 1:男
  3338. type: integer
  3339. signedstatus:
  3340. description: 账户一号签签约状态
  3341. type: integer
  3342. signpdfurl:
  3343. description: 签约pdf文件
  3344. type: string
  3345. subbranch:
  3346. description: 开户支行
  3347. type: string
  3348. telphone:
  3349. description: 联系电话(加密存储)
  3350. type: string
  3351. userid:
  3352. description: 用户ID(自增ID)
  3353. type: integer
  3354. userinfotype:
  3355. description: 用户信息类型 - 1:个人 2:企业
  3356. type: integer
  3357. username:
  3358. description: 用户姓名
  3359. type: string
  3360. userstate:
  3361. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3362. type: integer
  3363. usertype:
  3364. description: 用户类型 - 1:投资者 2:机构
  3365. type: integer
  3366. videourl:
  3367. description: 视频地址
  3368. type: string
  3369. wechat:
  3370. description: 微信号 (加密存储)
  3371. type: string
  3372. required:
  3373. - userid
  3374. type: object
  3375. erms3.CustomerInfo:
  3376. properties:
  3377. accountids:
  3378. description: 资金账户ID列表
  3379. items:
  3380. type: integer
  3381. type: array
  3382. customername:
  3383. description: 名称(企业名称)
  3384. type: string
  3385. mobile:
  3386. description: 手机号码
  3387. type: string
  3388. userid:
  3389. description: 用户ID
  3390. type: integer
  3391. required:
  3392. - userid
  3393. type: object
  3394. erms3.ModifyUserInfoApplyReq:
  3395. properties:
  3396. accountid:
  3397. description: 交易系统帐号Id (加密存储)
  3398. type: integer
  3399. areacode:
  3400. description: 机构代码
  3401. type: string
  3402. areaid:
  3403. description: 机构Id
  3404. type: integer
  3405. attachment1:
  3406. description: 附件1
  3407. type: string
  3408. attachment2:
  3409. description: 附件2
  3410. type: string
  3411. attachment3:
  3412. description: 附件3
  3413. type: string
  3414. attachment4:
  3415. description: 附件4
  3416. type: string
  3417. attachment5:
  3418. description: 附件5
  3419. type: string
  3420. auditedby:
  3421. description: 审核人
  3422. type: string
  3423. auditime:
  3424. description: 审核时间
  3425. type: string
  3426. bankaccount:
  3427. description: 银行帐号 (加密存储)
  3428. type: string
  3429. bankaccountname:
  3430. description: 收款人名称
  3431. type: string
  3432. bankcardbackphotourl:
  3433. description: 银行卡背面照地址
  3434. type: string
  3435. bankcardfrontphotourl:
  3436. description: 银行卡正面照地址
  3437. type: string
  3438. bankid:
  3439. description: 银行编码
  3440. type: string
  3441. bankname:
  3442. description: 银行名称
  3443. type: string
  3444. bankpictureurl:
  3445. description: 银行卡正面地址
  3446. type: string
  3447. biznature:
  3448. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3449. type: integer
  3450. bizscope:
  3451. description: 企业经营范围(企业)
  3452. type: string
  3453. biztype:
  3454. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3455. type: integer
  3456. brokerid:
  3457. description: 经纪人ID(加密存储)
  3458. type: string
  3459. cardaddress:
  3460. description: 证件地址 (加密存储)
  3461. type: string
  3462. cardbackphotourl:
  3463. description: 背面证件照地址
  3464. type: string
  3465. cardfrontphotourl:
  3466. description: 正面证件照地址
  3467. type: string
  3468. cardnum:
  3469. description: 证件号码 (加密存储)
  3470. type: string
  3471. cardtype:
  3472. description: 证件类型
  3473. type: integer
  3474. cityid:
  3475. description: 市
  3476. type: integer
  3477. company:
  3478. description: 公司(个人)
  3479. type: string
  3480. contactcardbackphotourl:
  3481. description: 联系人证件背面图片地址
  3482. type: string
  3483. contactcardfrontphotourl:
  3484. description: 联系人证件正面图片地址
  3485. type: string
  3486. contactname:
  3487. description: 联系人
  3488. type: string
  3489. countryid:
  3490. description: 国家
  3491. type: integer
  3492. createtime:
  3493. description: 开户申请时间
  3494. type: string
  3495. cusbankid:
  3496. description: 签约类型
  3497. type: string
  3498. cusbankname:
  3499. description: 签约类型名称
  3500. type: string
  3501. customername:
  3502. description: 客户名称(企业名称)
  3503. type: string
  3504. districtid:
  3505. description: 地区
  3506. type: integer
  3507. email:
  3508. description: Email地址(加密存储)
  3509. type: string
  3510. halfbodyphotourl:
  3511. description: 半身照地址
  3512. type: string
  3513. headurl:
  3514. description: 头像地址
  3515. type: string
  3516. ipaddress:
  3517. description: IP地址
  3518. type: string
  3519. isvalidate:
  3520. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3521. type: string
  3522. legalcardbackphotourl:
  3523. description: 法人身份证背面照地址
  3524. type: string
  3525. legalcardfrontphotourl:
  3526. description: 法人身份证正面照地址
  3527. type: string
  3528. legalpersonname:
  3529. description: 法人姓名(企业)
  3530. type: string
  3531. logincode:
  3532. description: 登录帐号 (加密存储)
  3533. type: string
  3534. memberareaid:
  3535. description: 所属会员ID
  3536. type: integer
  3537. mobile2:
  3538. description: 手机号码[明文-尚志]
  3539. type: string
  3540. mobilephone:
  3541. description: 手机号码 (加密存储)
  3542. type: string
  3543. modifiedby:
  3544. description: 修改人帐号
  3545. type: integer
  3546. modifiedtime:
  3547. description: 修改时间
  3548. type: string
  3549. nickname:
  3550. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3551. type: string
  3552. openmode:
  3553. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3554. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3555. type: integer
  3556. otherurl:
  3557. description: 其它图片地址[使用分号分隔]
  3558. type: string
  3559. postalcode:
  3560. description: 邮政编码
  3561. type: string
  3562. provinceid:
  3563. description: 省
  3564. type: integer
  3565. proxystatementurl:
  3566. description: 授权委托书
  3567. type: string
  3568. qq:
  3569. description: QQ(加密存储
  3570. type: string
  3571. referral:
  3572. description: 推荐人编码
  3573. type: string
  3574. remark:
  3575. description: 备注
  3576. type: string
  3577. removebeforestatus:
  3578. description: REMOVEBEFORESTATUS
  3579. type: integer
  3580. sex:
  3581. description: 性别 - 0:女 1:男
  3582. type: integer
  3583. signedstatus:
  3584. description: 账户一号签签约状态
  3585. type: integer
  3586. signpdfurl:
  3587. description: 签约pdf文件
  3588. type: string
  3589. subbranch:
  3590. description: 开户支行
  3591. type: string
  3592. telphone:
  3593. description: 联系电话(加密存储)
  3594. type: string
  3595. userid:
  3596. description: 用户ID(自增ID)
  3597. type: integer
  3598. userinfotype:
  3599. description: 用户信息类型 - 1:个人 2:企业
  3600. type: integer
  3601. username:
  3602. description: 用户姓名
  3603. type: string
  3604. userstate:
  3605. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3606. type: integer
  3607. usertype:
  3608. description: 用户类型 - 1:投资者 2:机构
  3609. type: integer
  3610. videourl:
  3611. description: 视频地址
  3612. type: string
  3613. wechat:
  3614. description: 微信号 (加密存储)
  3615. type: string
  3616. required:
  3617. - userid
  3618. type: object
  3619. erms3.QryAuditContractRsp:
  3620. properties:
  3621. accountid:
  3622. description: 交易员ID
  3623. type: string
  3624. applystatus:
  3625. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3626. type: integer
  3627. curdeliveryqty:
  3628. description: 未交收量
  3629. type: integer
  3630. customername:
  3631. description: 采购方ID
  3632. type: string
  3633. deliverygoodsid:
  3634. description: 品种ID
  3635. type: string
  3636. deliveryqty:
  3637. description: 交收量
  3638. type: integer
  3639. enumdicname:
  3640. description: 单位名称
  3641. type: string
  3642. matchaccountid:
  3643. description: 业务员ID
  3644. type: string
  3645. matchcustomername:
  3646. description: 销售方ID
  3647. type: string
  3648. pricedqty:
  3649. description: 定价量
  3650. type: number
  3651. signdate:
  3652. description: 签订日期
  3653. type: string
  3654. spotcontractid:
  3655. description: 合同ID
  3656. type: string
  3657. totaldqty:
  3658. description: 合同量
  3659. type: number
  3660. unpricedqty:
  3661. description: 未定价量
  3662. type: number
  3663. wrstandardname:
  3664. description: 商品名称
  3665. type: string
  3666. required:
  3667. - matchcustomername
  3668. - spotcontractid
  3669. type: object
  3670. erms3.QryPendingBizRsp:
  3671. properties:
  3672. accountid:
  3673. description: 现货账户
  3674. type: string
  3675. areaname:
  3676. description: 所属部门
  3677. type: string
  3678. bizid:
  3679. description: 业务ID
  3680. type: string
  3681. bizname:
  3682. description: 业务名称
  3683. type: string
  3684. status:
  3685. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3686. type: integer
  3687. type:
  3688. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3689. type: integer
  3690. type: object
  3691. erms3.QueryBusinessInfoRsp:
  3692. properties:
  3693. businessid:
  3694. description: 业务ID.
  3695. type: integer
  3696. buyamount:
  3697. description: 采购额.
  3698. type: number
  3699. buyqty:
  3700. description: 采购量.
  3701. type: string
  3702. futurepl:
  3703. description: 期货盈亏.
  3704. type: number
  3705. futureqty:
  3706. description: 期货敞口.
  3707. type: string
  3708. goodsid:
  3709. description: 商品名称/商品代码.
  3710. type: string
  3711. hedgingqty:
  3712. description: 套保量.
  3713. type: string
  3714. sellamount:
  3715. description: 销售额.
  3716. type: number
  3717. sellqty:
  3718. description: 销售量.
  3719. type: string
  3720. spotmarketvalue:
  3721. description: 现货市值.
  3722. type: number
  3723. spotpl:
  3724. description: 浮动权益.
  3725. type: number
  3726. spotqty:
  3727. description: 现货量.
  3728. type: string
  3729. statu:
  3730. description: 状态,0-未结束 1-已结束.
  3731. type: integer
  3732. totalpl:
  3733. description: 总盈亏.
  3734. type: number
  3735. totalqty:
  3736. description: 总敞口.
  3737. type: string
  3738. type:
  3739. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3740. type: integer
  3741. type: object
  3742. erms3.QuerySpotContractAppleFormRsp:
  3743. properties:
  3744. goodses:
  3745. description: 合约列表
  3746. items:
  3747. $ref: '#/definitions/models.GoodsIDAndName'
  3748. type: array
  3749. oppositeusers:
  3750. description: 对方账号列表
  3751. items:
  3752. $ref: '#/definitions/erms3.CustomerInfo'
  3753. type: array
  3754. ouruser:
  3755. $ref: '#/definitions/erms3.CustomerInfo'
  3756. description: 我方账号
  3757. warehouseinfos:
  3758. description: 仓库信息列表
  3759. items:
  3760. $ref: '#/definitions/models.Warehouseinfo'
  3761. type: array
  3762. wrstandards:
  3763. description: 仓单标准列表
  3764. items:
  3765. $ref: '#/definitions/models.WRStandardInfo'
  3766. type: array
  3767. type: object
  3768. erms3.QuerySpotContractInfoRsp:
  3769. properties:
  3770. accountid:
  3771. description: 表示交易员ID.
  3772. type: integer
  3773. curdeliveryqty:
  3774. description: 表示未交收量.
  3775. type: number
  3776. customername:
  3777. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3778. type: string
  3779. deliverygoodsid:
  3780. description: 表示品种ID.
  3781. type: string
  3782. deliveryqty:
  3783. description: 表示交收量.
  3784. type: number
  3785. matchaccountid:
  3786. description: 表示业务员ID.
  3787. type: integer
  3788. matchcustomername:
  3789. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3790. type: string
  3791. priceqty:
  3792. description: 表示定价量.
  3793. type: number
  3794. relatedbizid:
  3795. description: 表示业务ID.
  3796. type: string
  3797. signdate:
  3798. description: 表示签订日期.
  3799. type: string
  3800. spotcontractid:
  3801. description: 合同ID
  3802. type: string
  3803. status:
  3804. description: 表示状态,0-履约中 1-已完成.
  3805. type: integer
  3806. totalqty:
  3807. description: 表示合同量.
  3808. type: number
  3809. unpricedqty:
  3810. description: 表示未定价量.
  3811. type: number
  3812. wrstandardname:
  3813. description: 表示商品ID.
  3814. type: string
  3815. type: object
  3816. erms3.QueryUserInfoAppliesRsp:
  3817. properties:
  3818. biznature:
  3819. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3820. type: integer
  3821. contactname:
  3822. description: 联系人
  3823. type: string
  3824. createtime:
  3825. description: 开户申请时间
  3826. type: string
  3827. userid:
  3828. description: 用户ID(自增ID)
  3829. type: integer
  3830. userinfotype:
  3831. description: 用户信息类型 - 1:个人 2:企业
  3832. type: integer
  3833. username:
  3834. description: 用户姓名
  3835. type: string
  3836. userstate:
  3837. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3838. type: integer
  3839. required:
  3840. - userid
  3841. type: object
  3842. erms3.QueryUserInfosRsp:
  3843. properties:
  3844. biznature:
  3845. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3846. type: integer
  3847. contactname:
  3848. description: 联系人
  3849. type: string
  3850. customername:
  3851. description: 客户名称(企业名称)
  3852. type: string
  3853. userid:
  3854. description: 用户ID
  3855. type: integer
  3856. userinfotype:
  3857. description: 用户信息类型 - 1:个人 2:企业
  3858. type: integer
  3859. userstatus:
  3860. description: 用户状态 - 1:正常 2:注销
  3861. type: integer
  3862. required:
  3863. - userid
  3864. type: object
  3865. erms3.SoptContractDetail:
  3866. properties:
  3867. deliverygoodsdesc:
  3868. description: 现货品种说明
  3869. type: string
  3870. deliverygoodsid:
  3871. description: 现货品种ID
  3872. type: integer
  3873. deliverygoodsname:
  3874. description: 现货品种名称
  3875. type: string
  3876. pointdesc:
  3877. description: 点价描述
  3878. type: string
  3879. producttype:
  3880. description: 产品类型 1:标准仓单 2:等标 3:非标
  3881. type: integer
  3882. producttypename:
  3883. description: 产品类型名称
  3884. type: string
  3885. spotPointOrderVoList:
  3886. description: 点价列表
  3887. items:
  3888. $ref: '#/definitions/erms3.SpotPointOrder'
  3889. type: array
  3890. spotPriceOrderList:
  3891. description: 定价列表
  3892. items:
  3893. $ref: '#/definitions/erms3.SpotPriceOrder'
  3894. type: array
  3895. unitname:
  3896. description: 单位名称
  3897. type: string
  3898. warehouseid:
  3899. description: 仓库ID
  3900. type: integer
  3901. warehousename:
  3902. description: 仓库名称
  3903. type: string
  3904. wrstandardid:
  3905. description: 交易标的ID
  3906. type: integer
  3907. wrstandardname:
  3908. description: 交易标的名称
  3909. type: string
  3910. required:
  3911. - deliverygoodsid
  3912. - producttype
  3913. - unitname
  3914. - warehouseid
  3915. - wrstandardid
  3916. - wrstandardname
  3917. type: object
  3918. erms3.SpotPointOrder:
  3919. properties:
  3920. basic:
  3921. description: 基差
  3922. type: number
  3923. deliveryenddate:
  3924. description: 交收结束日期
  3925. type: string
  3926. deliverystartdate:
  3927. description: 交收开始日期
  3928. type: string
  3929. enddate:
  3930. description: 点价结束日期
  3931. type: string
  3932. goodsid:
  3933. description: 商品ID
  3934. type: integer
  3935. goodsname:
  3936. description: 商品名称
  3937. type: string
  3938. qty:
  3939. description: 数量
  3940. type: number
  3941. startdate:
  3942. description: 点价开始日期
  3943. type: string
  3944. required:
  3945. - basic
  3946. - goodsid
  3947. - qty
  3948. type: object
  3949. erms3.SpotPriceOrder:
  3950. properties:
  3951. amount:
  3952. description: 金额
  3953. type: number
  3954. deliveryenddate:
  3955. description: 交收结束日期
  3956. type: string
  3957. deliverystartdate:
  3958. description: 交收开始日期
  3959. type: string
  3960. price:
  3961. description: 价格
  3962. type: number
  3963. qty:
  3964. description: 数量
  3965. type: number
  3966. required:
  3967. - amount
  3968. - price
  3969. - qty
  3970. type: object
  3971. hsby.GetHsbyMyCountRsp:
  3972. properties:
  3973. myCouponCount:
  3974. description: 我的优惠卷数量
  3975. type: integer
  3976. myOrderDetailListingCount:
  3977. description: 我的订单求购中数量
  3978. type: integer
  3979. myOrderDetailPreCount:
  3980. description: 我的订单抢购中数量
  3981. type: integer
  3982. myPackageUnReceiveCount:
  3983. description: 我的包裹待收货数量
  3984. type: integer
  3985. myPackageUnSendCount:
  3986. description: 我的包裹待发货数量
  3987. type: integer
  3988. myPayOrderCount:
  3989. description: 我的订单待付款数量
  3990. type: integer
  3991. type: object
  3992. hsby.QueryProvincesAndCitiesRsp:
  3993. properties:
  3994. cities:
  3995. description: 市
  3996. items:
  3997. $ref: '#/definitions/models.Division'
  3998. type: array
  3999. province:
  4000. $ref: '#/definitions/models.Division'
  4001. description: 省
  4002. type: object
  4003. models.Clientfixedadconfig:
  4004. properties:
  4005. adsort:
  4006. description: 排序
  4007. type: integer
  4008. adtype:
  4009. description: 广告位类型 - 1:新品抢购(HSBY)
  4010. type: integer
  4011. areauserid:
  4012. description: 所属机构ID
  4013. type: integer
  4014. createdate:
  4015. description: 创建时间
  4016. type: string
  4017. creatorid:
  4018. description: 创建人
  4019. type: integer
  4020. imagepath:
  4021. description: 图片
  4022. type: string
  4023. isshow:
  4024. description: 是否展示 - 0:不展示 1:展示
  4025. type: integer
  4026. modifierid:
  4027. description: 操作人
  4028. type: integer
  4029. recsize:
  4030. description: 推荐尺寸
  4031. type: string
  4032. title:
  4033. description: 标题
  4034. type: string
  4035. updatedate:
  4036. description: 更新时间
  4037. type: string
  4038. urlcontent:
  4039. description: 链接(地址或商品ID)
  4040. type: string
  4041. urltype:
  4042. description: 链接类型 - 1:直接地址 2:商品ID
  4043. type: integer
  4044. required:
  4045. - adsort
  4046. - adtype
  4047. type: object
  4048. models.Division:
  4049. properties:
  4050. autoid:
  4051. description: 自增ID
  4052. type: integer
  4053. divisioncode:
  4054. description: 行政代码
  4055. type: string
  4056. divisionlevel:
  4057. description: 行政级别
  4058. type: string
  4059. divisionname:
  4060. description: 行政名称
  4061. type: string
  4062. modifierid:
  4063. description: 修改人
  4064. type: integer
  4065. modifytime:
  4066. description: 修改时间
  4067. type: string
  4068. parentcode:
  4069. description: 上级行政代码
  4070. type: string
  4071. pathname:
  4072. description: 路径名称
  4073. type: string
  4074. postcode:
  4075. description: 邮政编码
  4076. type: string
  4077. separablename:
  4078. description: 可拆分的全称
  4079. type: string
  4080. shortcode:
  4081. description: 地区简码
  4082. type: string
  4083. required:
  4084. - autoid
  4085. - divisioncode
  4086. type: object
  4087. models.Enumdicitem:
  4088. properties:
  4089. autoid:
  4090. description: 自增ID
  4091. type: integer
  4092. bankmappedvalue:
  4093. description: 银行服务对应值
  4094. type: string
  4095. enumdiccode:
  4096. description: 所属枚举代码
  4097. type: string
  4098. enumdicid:
  4099. description: 所属枚举ID
  4100. type: integer
  4101. enumdicname:
  4102. description: 枚举项名称
  4103. type: string
  4104. enumitemname:
  4105. description: 枚举项值
  4106. type: integer
  4107. enumitemstatus:
  4108. description: 枚举项状态 - 1.启用 2.不启用
  4109. type: integer
  4110. enumitemvalue:
  4111. description: 通用值 - [币种通用简写]
  4112. type: string
  4113. param1:
  4114. description: 参数1[币种:币种小数位]
  4115. type: string
  4116. param2:
  4117. description: 参数1[币种:币种显示单位]
  4118. type: string
  4119. remark:
  4120. description: 备注
  4121. type: string
  4122. required:
  4123. - autoid
  4124. - enumdiccode
  4125. - enumdicid
  4126. - enumitemname
  4127. type: object
  4128. models.ErmcpHisExposure:
  4129. properties:
  4130. needhedgeexposoure:
  4131. description: 应套保敞口
  4132. type: number
  4133. reckondate:
  4134. description: 日照时期(yyyyMMdd)
  4135. type: string
  4136. totalexposure:
  4137. description: 总敞口
  4138. type: number
  4139. type: object
  4140. models.ErmcpMiddleGoodsModel:
  4141. properties:
  4142. areauserid:
  4143. description: 机构用户ID
  4144. type: integer
  4145. enumdicname:
  4146. description: 单位名称
  4147. type: string
  4148. evaluateratio:
  4149. description: 估价系数
  4150. type: number
  4151. goodsgroupid:
  4152. description: 关联期货品种ID
  4153. type: integer
  4154. isvalid:
  4155. description: 状态 0-无效(停用) 1-有效(正常)
  4156. type: integer
  4157. middlegoodscode:
  4158. description: 套保品种代码
  4159. type: string
  4160. middlegoodsid:
  4161. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4162. type: integer
  4163. middlegoodsname:
  4164. description: 套保品种名称
  4165. type: string
  4166. modifytime:
  4167. description: 修改时间
  4168. type: string
  4169. needhedgeratio:
  4170. description: 套保比率
  4171. type: number
  4172. qtydecimalplace:
  4173. description: 数量小数位
  4174. type: integer
  4175. relatedgoodsid:
  4176. description: 关联交易商品ID
  4177. type: integer
  4178. relatedgoodstype:
  4179. description: 关联商品类型 - 1:期货合约 2:现货品种
  4180. type: integer
  4181. type: object
  4182. models.ErmcpReportDayFR:
  4183. properties:
  4184. areauserid:
  4185. description: 所属机构
  4186. type: integer
  4187. collectinvoiceamount:
  4188. description: 今日开票金额
  4189. type: number
  4190. collectinvoicecount:
  4191. description: 今日开票笔数
  4192. type: integer
  4193. collectmoneyamount:
  4194. description: 今日收款金额
  4195. type: number
  4196. collectmoneycount:
  4197. description: 今日收款笔数
  4198. type: integer
  4199. payinvoiceamount:
  4200. description: 今日收票金额
  4201. type: number
  4202. payinvoicecount:
  4203. description: 今日收票笔数
  4204. type: integer
  4205. paymoneyamount:
  4206. description: 今日付款金额
  4207. type: number
  4208. paymoneycount:
  4209. description: 今日付款笔数
  4210. type: integer
  4211. reckondate:
  4212. description: 日照时期(yyyyMMdd)
  4213. type: string
  4214. updatetime:
  4215. description: 更新时间
  4216. type: string
  4217. type: object
  4218. models.ErmcpWrstandard:
  4219. properties:
  4220. areauserid:
  4221. description: 所属机构
  4222. type: integer
  4223. createtime:
  4224. description: 创建时间
  4225. type: string
  4226. creatorid:
  4227. description: 创建人
  4228. type: integer
  4229. deliverygoodsid:
  4230. description: 品种ID
  4231. type: integer
  4232. enumdicname:
  4233. description: 单位名称
  4234. type: string
  4235. isvalid:
  4236. description: 是否有效 0-无效(停用) 1-有效(正常)
  4237. type: integer
  4238. minivalue:
  4239. description: 最小变动值
  4240. type: integer
  4241. minivaluedp:
  4242. description: 最小变动值小数位
  4243. type: integer
  4244. realminivalue:
  4245. description: 实际最小变动值
  4246. type: integer
  4247. realminivaluedp:
  4248. description: 实际最小变动值小数位
  4249. type: integer
  4250. remark:
  4251. description: 备注
  4252. type: string
  4253. unitid:
  4254. description: 单位ID
  4255. type: integer
  4256. updatetime:
  4257. description: 更新时间
  4258. type: string
  4259. wrstandardcode:
  4260. description: 现货商品代码
  4261. type: string
  4262. wrstandardid:
  4263. description: 现货商品ID(SEQ_WRSTANDARD)
  4264. type: integer
  4265. wrstandardname:
  4266. description: 现货商品名称
  4267. type: string
  4268. type: object
  4269. models.Goods:
  4270. properties:
  4271. agreeunit:
  4272. description: 合约单位
  4273. type: number
  4274. auditaccountid:
  4275. description: 审核操作员账号
  4276. type: integer
  4277. audittime:
  4278. description: 审核时间
  4279. type: string
  4280. cancelaccountid:
  4281. description: 注销操作员账号
  4282. type: integer
  4283. canceltime:
  4284. description: 注销时间
  4285. type: string
  4286. closepricemode:
  4287. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4288. type: integer
  4289. closepriceparam:
  4290. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  4291. type: number
  4292. createtime:
  4293. description: 创建时间
  4294. type: string
  4295. creatorid:
  4296. description: 创建人
  4297. type: integer
  4298. currencyid:
  4299. description: 报价货币ID
  4300. type: integer
  4301. cutmode:
  4302. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  4303. type: integer
  4304. decimalplace:
  4305. description: 报价小数位
  4306. type: integer
  4307. delistingdate:
  4308. description: 商品退市时间(状态:退市) -- 已作废
  4309. type: string
  4310. delistingmode:
  4311. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  4312. type: integer
  4313. deliveryflag:
  4314. description: 交割标志 - 0:不可交割 1:可交割
  4315. type: integer
  4316. forceclosemode:
  4317. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  4318. type: integer
  4319. forceclosevalue:
  4320. description: 定期强平参数 [收益权]
  4321. type: integer
  4322. goodscode:
  4323. description: 商品代码(内部)
  4324. type: string
  4325. goodscurrencyid:
  4326. description: 合约货币ID
  4327. type: integer
  4328. goodsgroupid:
  4329. description: 所属商品组ID
  4330. type: integer
  4331. goodsid:
  4332. description: 商品ID(自增ID SEQ_GOODS)
  4333. type: integer
  4334. goodsname:
  4335. description: 商品名称
  4336. type: string
  4337. goodsquotetype:
  4338. description: '合约报价类型: 1-直接报价 2-间接报价'
  4339. type: integer
  4340. goodsstatus:
  4341. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  4342. type: integer
  4343. goodstradetype:
  4344. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  4345. type: integer
  4346. goodunitid:
  4347. description: 报价单位ID
  4348. type: integer
  4349. hasquoter:
  4350. description: 是否有报价商 - 0:无报价商 1:有报价商
  4351. type: integer
  4352. hqprotecttime:
  4353. description: 行情保护时间(秒)
  4354. type: integer
  4355. innerdealmode:
  4356. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4357. type: integer
  4358. isbuylimited:
  4359. description: 是否限制建仓量 - 0:不限制 1:限制
  4360. type: integer
  4361. lasttradedate:
  4362. description: 最后交易日期(状态:待退市)
  4363. type: string
  4364. listingdate:
  4365. description: 交易开始日期
  4366. type: string
  4367. marketid:
  4368. description: 所属市场ID
  4369. type: integer
  4370. modifierid:
  4371. description: 修改人
  4372. type: integer
  4373. modifystatus:
  4374. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  4375. type: integer
  4376. modifytime:
  4377. description: 修改时间
  4378. type: string
  4379. outerdealmode:
  4380. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4381. type: integer
  4382. outgoodscode:
  4383. description: 商品代码(外部)
  4384. type: string
  4385. qtydecimalplace:
  4386. description: 成交量小数位
  4387. type: integer
  4388. quotegear:
  4389. description: 行情档位(1-10)
  4390. type: integer
  4391. quoteminunit:
  4392. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4393. type: integer
  4394. quoteshowtype:
  4395. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  4396. type: integer
  4397. quoteshowtypeinterval:
  4398. description: 行情报价间隔时间(秒)(成交价时为0)
  4399. type: integer
  4400. remark:
  4401. description: 备注
  4402. type: string
  4403. required:
  4404. - goodscode
  4405. - goodsid
  4406. - goodsname
  4407. - marketid
  4408. type: object
  4409. models.GoodsBrand:
  4410. properties:
  4411. brandid:
  4412. description: 品牌ID
  4413. type: integer
  4414. brandname:
  4415. description: 品牌名称
  4416. type: string
  4417. isvalid:
  4418. description: 是否有效 - 0:无效 1:有效
  4419. type: integer
  4420. type: object
  4421. models.GoodsGroupConvert:
  4422. properties:
  4423. convertratio:
  4424. description: 折算系数
  4425. type: number
  4426. dstgoodsgroupid:
  4427. description: 目标期货品种ID
  4428. type: integer
  4429. goodsgroupname:
  4430. description: 期货品种名称
  4431. type: string
  4432. outergroupcode:
  4433. description: 期货品种代码
  4434. type: string
  4435. srcgoodsgroupid:
  4436. description: 源期货品种ID
  4437. type: integer
  4438. type: object
  4439. models.GoodsIDAndName:
  4440. properties:
  4441. goodscode:
  4442. description: 商品代码(内部)
  4443. type: string
  4444. goodsid:
  4445. description: 商品ID(自增ID SEQ_GOODS)
  4446. type: integer
  4447. goodsname:
  4448. description: 商品名称
  4449. type: string
  4450. marketid:
  4451. description: 所属市场ID
  4452. type: integer
  4453. required:
  4454. - goodscode
  4455. - goodsid
  4456. - goodsname
  4457. - marketid
  4458. type: object
  4459. models.GoodsTypeModel:
  4460. properties:
  4461. modelid:
  4462. description: 型号ID
  4463. type: integer
  4464. modelname:
  4465. description: 型号名称
  4466. type: string
  4467. updatetime:
  4468. description: 更新时间
  4469. type: string
  4470. type: object
  4471. models.HsbyBuyMyPayOrder:
  4472. properties:
  4473. agreeunit:
  4474. description: 合约单位
  4475. type: number
  4476. buyaccountid:
  4477. description: 买方账号ID[报价币种]
  4478. type: integer
  4479. buyorderid:
  4480. description: 买方委托单号
  4481. type: string
  4482. createtime:
  4483. description: 创建时间
  4484. type: string
  4485. currencysign:
  4486. description: 货币符号
  4487. type: string
  4488. decimalplace:
  4489. description: 报价小数位
  4490. type: integer
  4491. goodscode:
  4492. description: 商品代码(内部)
  4493. type: string
  4494. goodsid:
  4495. description: 商品ID
  4496. type: integer
  4497. goodsname:
  4498. description: 商品名称
  4499. type: string
  4500. marketid:
  4501. description: 市场ID
  4502. type: integer
  4503. offamount:
  4504. description: 优惠金额
  4505. type: number
  4506. payamount:
  4507. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  4508. type: number
  4509. payflag:
  4510. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  4511. type: integer
  4512. paylimitedtime:
  4513. description: 支付期限
  4514. type: string
  4515. paytime:
  4516. description: 付款时间
  4517. type: string
  4518. picurls1:
  4519. description: 预售商品介绍图片[多张用逗号分隔]
  4520. type: string
  4521. picurls2:
  4522. description: 挂牌商品介绍图片[多张用逗号分隔]
  4523. type: string
  4524. sellaccountid:
  4525. description: 卖方账号ID[报价币种]
  4526. type: integer
  4527. sellorderid:
  4528. description: 卖方委托单号
  4529. type: string
  4530. tradeamount:
  4531. description: 成交金额
  4532. type: number
  4533. tradecharge:
  4534. description: 成交手续费(买方)
  4535. type: number
  4536. tradedate:
  4537. description: 交易日(yyyyMMdd)
  4538. type: string
  4539. tradeid:
  4540. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4541. type: string
  4542. trademode:
  4543. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4544. 21:竞拍-大宗式 22:受托竞价
  4545. type: integer
  4546. tradeprice:
  4547. description: 成交价格
  4548. type: number
  4549. tradeqty:
  4550. description: 成交数量
  4551. type: integer
  4552. vendorname1:
  4553. description: 预售商品供应商名称
  4554. type: string
  4555. vendorname2:
  4556. description: 挂牌商品供应商名称
  4557. type: string
  4558. required:
  4559. - goodscode
  4560. - goodsname
  4561. - tradeid
  4562. - trademode
  4563. type: object
  4564. models.HsbyBuyMyTradeDetail:
  4565. properties:
  4566. accountid:
  4567. description: 账户ID[报价币种]
  4568. type: integer
  4569. agreeunit:
  4570. description: 合约单位
  4571. type: number
  4572. amount:
  4573. description: 金额 = 价格 * 数量 * 合约单位
  4574. type: number
  4575. buyorsell:
  4576. description: 买卖 - 0:买 1:卖
  4577. type: integer
  4578. currencysign:
  4579. description: 货币符号
  4580. type: string
  4581. decimalplace:
  4582. description: 报价小数位
  4583. type: integer
  4584. goodscode:
  4585. description: 商品代码(内部)
  4586. type: string
  4587. goodsid:
  4588. description: 商品ID
  4589. type: integer
  4590. goodsname:
  4591. description: 商品名称
  4592. type: string
  4593. marketid:
  4594. description: 市场ID
  4595. type: integer
  4596. orderid:
  4597. description: 单号(成交单号)
  4598. type: string
  4599. picurls1:
  4600. description: 预售商品介绍图片[多张用逗号分隔]
  4601. type: string
  4602. picurls2:
  4603. description: 挂牌商品介绍图片[多张用逗号分隔]
  4604. type: string
  4605. price:
  4606. description: 价格
  4607. type: number
  4608. qty:
  4609. description: 数量
  4610. type: integer
  4611. time:
  4612. description: 时间
  4613. type: string
  4614. trademode:
  4615. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4616. 21:竞拍-大宗式 22:受托竞价
  4617. type: integer
  4618. vendorname1:
  4619. description: 预售商品供应商名称
  4620. type: string
  4621. vendorname2:
  4622. description: 挂牌商品供应商名称
  4623. type: string
  4624. required:
  4625. - accountid
  4626. - buyorsell
  4627. - goodscode
  4628. - goodsid
  4629. - goodsname
  4630. - marketid
  4631. - orderid
  4632. - qty
  4633. - time
  4634. - trademode
  4635. type: object
  4636. models.HsbyGoodsOrderDetail:
  4637. properties:
  4638. buyorsell:
  4639. description: 买卖 - 0:买 1:卖
  4640. type: integer
  4641. currencysign:
  4642. description: 货币符号
  4643. type: string
  4644. customername:
  4645. description: 客户名称(企业名称),已脱敏
  4646. type: string
  4647. enableqty:
  4648. description: 可用数量
  4649. type: integer
  4650. goodunit:
  4651. description: 报价单位
  4652. type: string
  4653. orderid:
  4654. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4655. type: string
  4656. orderprice:
  4657. description: 委托价格
  4658. type: number
  4659. ordertime:
  4660. description: 委托时间
  4661. type: string
  4662. required:
  4663. - buyorsell
  4664. - orderid
  4665. - ordertime
  4666. type: object
  4667. models.HsbyListingGoodsDetail:
  4668. properties:
  4669. agreeunit:
  4670. description: 合约单位
  4671. type: number
  4672. buymaxqty:
  4673. description: 购买上限 [71] - 0为不限
  4674. type: integer
  4675. currency:
  4676. description: 货币
  4677. type: string
  4678. currencysign:
  4679. description: 货币符号
  4680. type: string
  4681. decimalplace:
  4682. description: 报价小数位
  4683. type: integer
  4684. desccityid:
  4685. description: 目的地(市)ID
  4686. type: integer
  4687. descprovinceid:
  4688. description: 目的地(省)ID
  4689. type: integer
  4690. goodscode:
  4691. description: 商品代码(内部)
  4692. type: string
  4693. goodsdesc:
  4694. description: 商品详情
  4695. type: string
  4696. goodsid:
  4697. description: 商品ID(自增ID SEQ_GOODS)
  4698. type: integer
  4699. goodsname:
  4700. description: 商品名称
  4701. type: string
  4702. goodsprice:
  4703. description: 商品价格
  4704. type: number
  4705. hotindex:
  4706. description: 景点热度
  4707. type: integer
  4708. last:
  4709. description: 现价
  4710. type: number
  4711. limitdown:
  4712. description: 跌停价
  4713. type: number
  4714. limitup:
  4715. description: 涨停价
  4716. type: number
  4717. lotsize:
  4718. description: 手数最小变动单位
  4719. type: integer
  4720. marketid:
  4721. description: 所属市场ID
  4722. type: integer
  4723. picurls:
  4724. description: 介绍图片[多张用逗号分隔]
  4725. type: string
  4726. quoteminunit:
  4727. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4728. type: integer
  4729. stepvalue:
  4730. description: 价格最小变动单位
  4731. type: number
  4732. trademode:
  4733. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4734. 21:竞拍-大宗式 22:受托竞价
  4735. type: integer
  4736. vendorattr:
  4737. description: 供应商附件(多张,逗号分隔)
  4738. type: string
  4739. vendorname:
  4740. description: 供应商名称
  4741. type: string
  4742. vendorphone:
  4743. description: 供应商客服电话
  4744. type: string
  4745. videourls:
  4746. description: 介绍视频[多张用逗号分隔]
  4747. type: string
  4748. required:
  4749. - goodscode
  4750. - goodsid
  4751. - goodsname
  4752. - marketid
  4753. - trademode
  4754. type: object
  4755. models.HsbyMarketGoods:
  4756. properties:
  4757. accountid:
  4758. description: 账户ID[报价币种]
  4759. type: integer
  4760. agreeunit:
  4761. description: 合约单位
  4762. type: number
  4763. buyorsell:
  4764. description: 买卖 - 0:买 1:卖
  4765. type: integer
  4766. categoryid:
  4767. description: 类别ID(WRCATEGORY)
  4768. type: integer
  4769. currency:
  4770. description: 货币
  4771. type: string
  4772. currencysign:
  4773. description: 货币符号
  4774. type: string
  4775. customername:
  4776. description: 卖家名称
  4777. type: string
  4778. decimalplace:
  4779. description: 报价小数位
  4780. type: integer
  4781. goodscode:
  4782. description: 商品代码(内部)
  4783. type: string
  4784. goodsid:
  4785. description: 商品ID
  4786. type: integer
  4787. goodsname:
  4788. description: 商品名称
  4789. type: string
  4790. goodsprice:
  4791. description: 商品价格
  4792. type: number
  4793. hascoupon:
  4794. description: 是否可用优惠卷
  4795. type: boolean
  4796. hotindex:
  4797. description: 景点热度
  4798. type: integer
  4799. marketid:
  4800. description: 市场ID
  4801. type: integer
  4802. orderid:
  4803. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4804. type: string
  4805. orderprice:
  4806. description: 委托价格
  4807. type: number
  4808. orderstatus:
  4809. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4810. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4811. 16:成交失败违约(荷兰式竞拍专用)
  4812. type: integer
  4813. picurls:
  4814. description: 介绍图片[多张用逗号分隔]
  4815. type: string
  4816. quoteminunit:
  4817. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4818. type: integer
  4819. sellUserID:
  4820. description: 卖方UserID
  4821. type: integer
  4822. trademode:
  4823. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4824. 21:竞拍-大宗式 22:受托竞价
  4825. type: integer
  4826. videourls:
  4827. description: 介绍视频[多张用逗号分隔]
  4828. type: string
  4829. required:
  4830. - accountid
  4831. - buyorsell
  4832. - goodscode
  4833. - goodsid
  4834. - goodsname
  4835. - marketid
  4836. - orderid
  4837. - trademode
  4838. type: object
  4839. models.HsbyMarketGoodsDetail:
  4840. properties:
  4841. accountid:
  4842. description: 账户ID[报价币种]
  4843. type: integer
  4844. agreeunit:
  4845. description: 合约单位
  4846. type: number
  4847. buymaxqty:
  4848. description: 购买上限 [71] - 0为不限
  4849. type: integer
  4850. buyorsell:
  4851. description: 买卖 - 0:买 1:卖
  4852. type: integer
  4853. cancelqty:
  4854. description: 撤单数量
  4855. type: integer
  4856. categoryid:
  4857. description: 类别ID(WRCATEGORY)
  4858. type: integer
  4859. currency:
  4860. description: 货币
  4861. type: string
  4862. currencysign:
  4863. description: 货币符号
  4864. type: string
  4865. customername:
  4866. description: 卖家名称
  4867. type: string
  4868. decimalplace:
  4869. description: 报价小数位
  4870. type: integer
  4871. goodscode:
  4872. description: 商品代码(内部)
  4873. type: string
  4874. goodsdesc:
  4875. description: 商品详情
  4876. type: string
  4877. goodsid:
  4878. description: 商品ID
  4879. type: integer
  4880. goodsname:
  4881. description: 商品名称
  4882. type: string
  4883. goodsprice:
  4884. description: 商品价格
  4885. type: number
  4886. hotindex:
  4887. description: 景点热度
  4888. type: integer
  4889. lotsize:
  4890. description: 手数最小变动单位
  4891. type: integer
  4892. marketid:
  4893. description: 市场ID
  4894. type: integer
  4895. orderid:
  4896. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4897. type: string
  4898. orderprice:
  4899. description: 委托价格
  4900. type: number
  4901. orderqty:
  4902. description: 委托数量
  4903. type: integer
  4904. orderstatus:
  4905. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4906. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4907. 16:成交失败违约(荷兰式竞拍专用)
  4908. type: integer
  4909. picurls:
  4910. description: 介绍图片[多张用逗号分隔]
  4911. type: string
  4912. quoteminunit:
  4913. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4914. type: integer
  4915. sellUserID:
  4916. description: 卖方UserID
  4917. type: integer
  4918. trademode:
  4919. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4920. 21:竞拍-大宗式 22:受托竞价
  4921. type: integer
  4922. tradeqty:
  4923. description: 成交数量
  4924. type: integer
  4925. vendorattr:
  4926. description: 供应商附件(多张,逗号分隔)
  4927. type: string
  4928. vendorname:
  4929. description: 供应商名称
  4930. type: string
  4931. vendorphone:
  4932. description: 供应商客服电话
  4933. type: string
  4934. videourls:
  4935. description: 介绍视频[多张用逗号分隔]
  4936. type: string
  4937. required:
  4938. - accountid
  4939. - buyorsell
  4940. - goodscode
  4941. - goodsid
  4942. - goodsname
  4943. - marketid
  4944. - orderid
  4945. - orderqty
  4946. - trademode
  4947. type: object
  4948. models.HsbyMarketInfo:
  4949. properties:
  4950. marketid:
  4951. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  4952. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  4953. type: integer
  4954. marketname:
  4955. description: 市场名称
  4956. type: string
  4957. marketstatus:
  4958. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  4959. type: integer
  4960. trademode:
  4961. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4962. 21:竞拍-大宗式 22:受托竞价
  4963. type: integer
  4964. required:
  4965. - marketid
  4966. - marketstatus
  4967. - trademode
  4968. type: object
  4969. models.HsbyMyGoods:
  4970. properties:
  4971. accountid:
  4972. description: 账号Id
  4973. type: integer
  4974. agreeunit:
  4975. description: 合约单位
  4976. type: number
  4977. buyaverageprice:
  4978. description: 持仓均价
  4979. type: number
  4980. buycurholderamount:
  4981. description: 买当前持仓总金额[商品币种]
  4982. type: number
  4983. buycurpositionqty:
  4984. description: 买当前持仓总数量
  4985. type: integer
  4986. buymaxqty:
  4987. description: 购买上限 [71] - 0为不限
  4988. type: integer
  4989. currencysign:
  4990. description: 货币符号
  4991. type: string
  4992. decimalplace:
  4993. description: 报价小数位
  4994. type: integer
  4995. enableqty:
  4996. description: 可用数量
  4997. type: integer
  4998. goodscode:
  4999. description: 商品代码(内部)
  5000. type: string
  5001. goodsid:
  5002. description: 商品Id
  5003. type: integer
  5004. goodsname:
  5005. description: 商品名称
  5006. type: string
  5007. goodsprice:
  5008. description: 商品价格
  5009. type: number
  5010. goodsstatus:
  5011. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5012. type: integer
  5013. last:
  5014. description: 现价(仅使用于挂牌点选)
  5015. type: number
  5016. limitdown:
  5017. description: 跌停价(仅使用于挂牌点选)
  5018. type: number
  5019. limitup:
  5020. description: 涨停价(仅使用于挂牌点选)
  5021. type: number
  5022. lotsize:
  5023. description: 手数最小变动单位
  5024. type: integer
  5025. marketid:
  5026. description: 所属市场ID
  5027. type: integer
  5028. picurls:
  5029. description: 介绍图片[多张用逗号分隔]
  5030. type: string
  5031. quoteminunit:
  5032. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5033. type: integer
  5034. stepvalue:
  5035. description: 价格最小变动单位
  5036. type: number
  5037. trademode:
  5038. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5039. 21:竞拍-大宗式 22:受托竞价
  5040. type: integer
  5041. required:
  5042. - accountid
  5043. - goodscode
  5044. - goodsid
  5045. - goodsname
  5046. - marketid
  5047. - trademode
  5048. type: object
  5049. models.HsbyMyPackage:
  5050. properties:
  5051. accountid:
  5052. description: 账户ID
  5053. type: integer
  5054. address:
  5055. description: 提货人详细地址
  5056. type: string
  5057. agreeunit:
  5058. description: 合约单位
  5059. type: number
  5060. amount:
  5061. description: 提货金额
  5062. type: number
  5063. auditer:
  5064. description: 审核人
  5065. type: integer
  5066. audittime:
  5067. description: 审核时间
  5068. type: string
  5069. averageprice:
  5070. description: 均价
  5071. type: number
  5072. cardnum:
  5073. description: 提货人证件号码
  5074. type: string
  5075. cardtypeid:
  5076. description: 提货人证件类型
  5077. type: integer
  5078. checkremark:
  5079. description: 审核备注
  5080. type: string
  5081. currencysign:
  5082. description: 货币符号
  5083. type: string
  5084. decimalplace:
  5085. description: 报价小数位
  5086. type: integer
  5087. goodscode:
  5088. description: 商品代码(内部)
  5089. type: string
  5090. goodsid:
  5091. description: 商品ID
  5092. type: integer
  5093. goodsname:
  5094. description: 商品名称
  5095. type: string
  5096. handlestatus:
  5097. description: 处理状态
  5098. type: integer
  5099. marketid:
  5100. description: 市场ID
  5101. type: integer
  5102. phonenum:
  5103. description: 提货人联系方式
  5104. type: string
  5105. picurls:
  5106. description: 介绍图片[多张用逗号分隔]
  5107. type: string
  5108. qty:
  5109. description: 提货数量
  5110. type: number
  5111. recivername:
  5112. description: 提货人姓名
  5113. type: string
  5114. reqtime:
  5115. description: 更新时间
  5116. type: string
  5117. takemode:
  5118. description: 提货方式 - 2:自提 3:配送
  5119. type: integer
  5120. takeorderid:
  5121. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  5122. type: string
  5123. takeorderstatus:
  5124. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5125. type: integer
  5126. takeremark:
  5127. description: 提货备注
  5128. type: string
  5129. tradedate:
  5130. description: 交易日(yyyyMMdd)
  5131. type: string
  5132. trademode:
  5133. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5134. 21:竞拍-大宗式 22:受托竞价
  5135. type: integer
  5136. userid:
  5137. description: 用户ID
  5138. type: integer
  5139. vendorname:
  5140. description: 供应商名称
  5141. type: string
  5142. required:
  5143. - goodscode
  5144. - goodsname
  5145. - takeorderid
  5146. - trademode
  5147. type: object
  5148. models.HsbyPreGoods:
  5149. properties:
  5150. agreeunit:
  5151. description: 合约单位
  5152. type: number
  5153. currency:
  5154. description: 货币
  5155. type: string
  5156. currencysign:
  5157. description: 货币符号
  5158. type: string
  5159. decimalplace:
  5160. description: 报价小数位
  5161. type: integer
  5162. desccityid:
  5163. description: 目的地(市)
  5164. type: integer
  5165. descprovinceid:
  5166. description: 目的地(省)
  5167. type: integer
  5168. enableqty:
  5169. description: 剩余数量
  5170. type: integer
  5171. goodscode:
  5172. description: 商品代码(内部)
  5173. type: string
  5174. goodsid:
  5175. description: 商品ID(自增ID SEQ_GOODS)
  5176. type: integer
  5177. goodsname:
  5178. description: 商品名称
  5179. type: string
  5180. goodsstatus:
  5181. description: 商品状态- 2:未上市 3:上市
  5182. type: integer
  5183. lasttradedate:
  5184. description: 最后交易日期(状态:待退市)
  5185. type: string
  5186. listingdate:
  5187. description: 交易开始日期
  5188. type: string
  5189. marketid:
  5190. description: 所属市场ID
  5191. type: integer
  5192. picurls:
  5193. description: 介绍图片[多张用逗号分隔]
  5194. type: string
  5195. presaledqty:
  5196. description: 已预售量(预售结束时更新)
  5197. type: integer
  5198. presaleqty:
  5199. description: 预售数量
  5200. type: integer
  5201. quoteminunit:
  5202. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5203. type: integer
  5204. refprice:
  5205. description: 参考价格[一口价]
  5206. type: number
  5207. relatedgoodsid:
  5208. description: 关联交易合约ID
  5209. type: integer
  5210. trademode:
  5211. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5212. 21:竞拍-大宗式 22:受托竞价
  5213. type: integer
  5214. videourls:
  5215. description: 介绍视频[多张用逗号分隔]
  5216. type: string
  5217. required:
  5218. - goodscode
  5219. - goodsid
  5220. - goodsname
  5221. - marketid
  5222. - trademode
  5223. type: object
  5224. models.HsbyPreGoodsDetail:
  5225. properties:
  5226. agreeunit:
  5227. description: 合约单位
  5228. type: number
  5229. buymaxqty:
  5230. description: 购买上限 [71] - 0为不限
  5231. type: integer
  5232. currency:
  5233. description: 货币
  5234. type: string
  5235. currencysign:
  5236. description: 货币符号
  5237. type: string
  5238. customername:
  5239. description: 发行单位
  5240. type: string
  5241. decimalplace:
  5242. description: 报价小数位
  5243. type: integer
  5244. desccityid:
  5245. description: 目的地(市)ID
  5246. type: integer
  5247. descprovinceid:
  5248. description: 目的地(省)ID
  5249. type: integer
  5250. enableqty:
  5251. description: 剩余数量
  5252. type: integer
  5253. goodscode:
  5254. description: 商品代码(内部)
  5255. type: string
  5256. goodsdesc:
  5257. description: 商品详情
  5258. type: string
  5259. goodsid:
  5260. description: 商品ID(自增ID SEQ_GOODS)
  5261. type: integer
  5262. goodsname:
  5263. description: 商品名称
  5264. type: string
  5265. goodsstatus:
  5266. description: 商品状态- 2:未上市 3:上市
  5267. type: integer
  5268. goodunit:
  5269. description: 报价单位
  5270. type: string
  5271. lasttradedate:
  5272. description: 最后交易日期(状态:待退市)
  5273. type: string
  5274. listingdate:
  5275. description: 交易开始日期
  5276. type: string
  5277. lotsize:
  5278. description: 手数最小变动单位
  5279. type: integer
  5280. marketid:
  5281. description: 所属市场ID
  5282. type: integer
  5283. picurls:
  5284. description: 介绍图片[多张用逗号分隔]
  5285. type: string
  5286. presaledqty:
  5287. description: 已预售量(预售结束时更新)
  5288. type: integer
  5289. presaleqty:
  5290. description: 预售数量
  5291. type: integer
  5292. quoteminunit:
  5293. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5294. type: integer
  5295. refprice:
  5296. description: 参考价格[一口价]
  5297. type: number
  5298. relatedgoodsid:
  5299. description: 关联交易合约ID
  5300. type: integer
  5301. stepvalue:
  5302. description: 价格最小变动单位
  5303. type: number
  5304. trademode:
  5305. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5306. 21:竞拍-大宗式 22:受托竞价
  5307. type: integer
  5308. vendorattr:
  5309. description: 供应商附件(多张,逗号分隔)
  5310. type: string
  5311. vendorname:
  5312. description: 供应商名称
  5313. type: string
  5314. vendorphone:
  5315. description: 供应商客服电话
  5316. type: string
  5317. videourls:
  5318. description: 介绍视频[多张用逗号分隔]
  5319. type: string
  5320. required:
  5321. - goodscode
  5322. - goodsid
  5323. - goodsname
  5324. - marketid
  5325. - trademode
  5326. type: object
  5327. models.HsbySellCollectionOrder:
  5328. properties:
  5329. agreeunit:
  5330. description: 合约单位
  5331. type: number
  5332. buyaccountid:
  5333. description: 买方账号ID[报价币种]
  5334. type: integer
  5335. buyorderid:
  5336. description: 买方委托单号
  5337. type: string
  5338. createtime:
  5339. description: 创建时间
  5340. type: string
  5341. currencysign:
  5342. description: 货币符号
  5343. type: string
  5344. decimalplace:
  5345. description: 报价小数位
  5346. type: integer
  5347. goodscode:
  5348. description: 商品代码(内部)
  5349. type: string
  5350. goodsid:
  5351. description: 商品ID
  5352. type: integer
  5353. goodsname:
  5354. description: 商品名称
  5355. type: string
  5356. marketid:
  5357. description: 市场ID
  5358. type: integer
  5359. offamount:
  5360. description: 优惠金额
  5361. type: number
  5362. payamount:
  5363. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  5364. type: number
  5365. payflag:
  5366. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  5367. type: integer
  5368. paylimitedtime:
  5369. description: 支付期限
  5370. type: string
  5371. paytime:
  5372. description: 付款时间
  5373. type: string
  5374. picurls:
  5375. description: 商品介绍图片[多张用逗号分隔]
  5376. type: string
  5377. sellaccountid:
  5378. description: 卖方账号ID[报价币种]
  5379. type: integer
  5380. sellorderid:
  5381. description: 卖方委托单号
  5382. type: string
  5383. tradeamount:
  5384. description: 成交金额
  5385. type: number
  5386. tradecharge:
  5387. description: 成交手续费(买方)
  5388. type: number
  5389. tradedate:
  5390. description: 交易日(yyyyMMdd)
  5391. type: string
  5392. tradeid:
  5393. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5394. type: string
  5395. trademode:
  5396. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5397. 21:竞拍-大宗式 22:受托竞价
  5398. type: integer
  5399. tradeprice:
  5400. description: 成交价格
  5401. type: number
  5402. tradeqty:
  5403. description: 成交数量
  5404. type: integer
  5405. required:
  5406. - goodscode
  5407. - goodsname
  5408. - tradeid
  5409. - trademode
  5410. type: object
  5411. models.HsbySellMyDetail:
  5412. properties:
  5413. accountid:
  5414. description: 账户ID[报价币种]
  5415. type: integer
  5416. agreeunit:
  5417. description: 合约单位
  5418. type: number
  5419. buyorsell:
  5420. description: 买卖 - 0:买 1:卖
  5421. type: integer
  5422. currencysign:
  5423. description: 货币符号
  5424. type: string
  5425. decimalplace:
  5426. description: 报价小数位
  5427. type: integer
  5428. goodscode:
  5429. description: 商品代码(内部)
  5430. type: string
  5431. goodsid:
  5432. description: 商品ID
  5433. type: integer
  5434. goodsname:
  5435. description: 商品名称
  5436. type: string
  5437. marketid:
  5438. description: 市场ID
  5439. type: integer
  5440. orderid:
  5441. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  5442. type: string
  5443. ordertype:
  5444. description: 单据类型:0 - 发布中, 1 - 已完成
  5445. type: integer
  5446. picurls:
  5447. description: 介绍图片[多张用逗号分隔]
  5448. type: string
  5449. price:
  5450. description: 价格
  5451. type: number
  5452. qty:
  5453. description: 数量
  5454. type: integer
  5455. time:
  5456. description: 时间
  5457. type: string
  5458. trademode:
  5459. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5460. 21:竞拍-大宗式 22:受托竞价
  5461. type: integer
  5462. vendorname:
  5463. description: 供应商名称
  5464. type: string
  5465. required:
  5466. - accountid
  5467. - buyorsell
  5468. - goodscode
  5469. - goodsid
  5470. - goodsname
  5471. - marketid
  5472. - orderid
  5473. - time
  5474. - trademode
  5475. type: object
  5476. models.HsbyTopGoods:
  5477. properties:
  5478. agreeunit:
  5479. description: 合约单位
  5480. type: number
  5481. currency:
  5482. description: 货币
  5483. type: string
  5484. currencysign:
  5485. description: 货币符号
  5486. type: string
  5487. decimalplace:
  5488. description: 报价小数位
  5489. type: integer
  5490. desccityid:
  5491. description: 目的地(市)
  5492. type: integer
  5493. descprovinceid:
  5494. description: 目的地(省)
  5495. type: integer
  5496. goodscode:
  5497. description: 商品代码(内部)
  5498. type: string
  5499. goodsid:
  5500. description: 商品ID(自增ID SEQ_GOODS)
  5501. type: integer
  5502. goodsname:
  5503. description: 商品名称
  5504. type: string
  5505. hotindex:
  5506. description: 景点热度
  5507. type: integer
  5508. last:
  5509. description: 现价
  5510. type: number
  5511. marketid:
  5512. description: 所属市场ID
  5513. type: integer
  5514. picurls:
  5515. description: 介绍图片[多张用逗号分隔]
  5516. type: string
  5517. quoteminunit:
  5518. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5519. type: integer
  5520. trademode:
  5521. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5522. 21:竞拍-大宗式 22:受托竞价
  5523. type: integer
  5524. videourls:
  5525. description: 介绍视频[多张用逗号分隔]
  5526. type: string
  5527. required:
  5528. - goodscode
  5529. - goodsid
  5530. - goodsname
  5531. - marketid
  5532. - trademode
  5533. type: object
  5534. models.HybsMyBuyOrderDetail:
  5535. properties:
  5536. accountid:
  5537. description: 账户ID[报价币种]
  5538. type: integer
  5539. agreeunit:
  5540. description: 合约单位
  5541. type: number
  5542. buyorsell:
  5543. description: 买卖 - 0:买 1:卖
  5544. type: integer
  5545. cancelqty:
  5546. description: 撤单数量
  5547. type: integer
  5548. currencysign:
  5549. description: 货币符号
  5550. type: string
  5551. decimalplace:
  5552. description: 报价小数位
  5553. type: integer
  5554. goodscode:
  5555. description: 商品代码(内部)
  5556. type: string
  5557. goodsid:
  5558. description: 商品ID
  5559. type: integer
  5560. goodsname:
  5561. description: 商品名称
  5562. type: string
  5563. listingselecttype:
  5564. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5565. type: integer
  5566. marketid:
  5567. description: 市场ID
  5568. type: integer
  5569. mybuystatus:
  5570. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  5571. type: integer
  5572. orderamount:
  5573. description: 委托金额
  5574. type: number
  5575. orderid:
  5576. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5577. type: string
  5578. orderprice:
  5579. description: 委托价格
  5580. type: number
  5581. orderqty:
  5582. description: 委托数量
  5583. type: integer
  5584. orderstatus:
  5585. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5586. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5587. 16:成交失败违约(荷兰式竞拍专用)
  5588. type: integer
  5589. ordertime:
  5590. description: 委托时间
  5591. type: string
  5592. picurls1:
  5593. description: 预售商品介绍图片[多张用逗号分隔]
  5594. type: string
  5595. picurls2:
  5596. description: 挂牌商品介绍图片[多张用逗号分隔]
  5597. type: string
  5598. trademode:
  5599. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5600. 21:竞拍-大宗式 22:受托竞价
  5601. type: integer
  5602. tradeqty:
  5603. description: 成交数量
  5604. type: integer
  5605. vendorname1:
  5606. description: 预售商品供应商名称
  5607. type: string
  5608. vendorname2:
  5609. description: 挂牌商品供应商名称
  5610. type: string
  5611. required:
  5612. - accountid
  5613. - buyorsell
  5614. - goodscode
  5615. - goodsid
  5616. - goodsname
  5617. - marketid
  5618. - orderid
  5619. - orderqty
  5620. - ordertime
  5621. - trademode
  5622. type: object
  5623. models.Market:
  5624. properties:
  5625. auctionwrtype:
  5626. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  5627. type: integer
  5628. canacceptquote:
  5629. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  5630. type: integer
  5631. cangoodsexercise:
  5632. description: '[期权]是否可现货行权- 0:否 1:是'
  5633. type: integer
  5634. cangoodsexercisetype:
  5635. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  5636. type: integer
  5637. canmanualquotestrike:
  5638. description: 是否可手动报行权价- 0:否 1:是 [期权]
  5639. type: integer
  5640. canmutistage:
  5641. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  5642. type: integer
  5643. canpreexercise:
  5644. description: '[期权]是否可预申报- 0:否 1:是'
  5645. type: integer
  5646. clearinterval:
  5647. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  5648. type: integer
  5649. contracttmp:
  5650. description: 合同模板[荷兰式][竞价式][仓单贸易]
  5651. type: string
  5652. exchareaid:
  5653. description: 所属交易所,可以没有
  5654. type: integer
  5655. goodstype:
  5656. description: 商品类型 - 1:交易商品 2:仓单商品
  5657. type: integer
  5658. hasrebate:
  5659. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  5660. type: integer
  5661. hastradecredit:
  5662. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  5663. type: integer
  5664. haswr:
  5665. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  5666. type: integer
  5667. isdeductmargin:
  5668. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  5669. type: integer
  5670. isrecordsource:
  5671. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  5672. type: integer
  5673. isreleasemargin:
  5674. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  5675. type: integer
  5676. marginformula:
  5677. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  5678. type: integer
  5679. marginformula2:
  5680. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  5681. type: integer
  5682. marketid:
  5683. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  5684. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  5685. type: integer
  5686. marketname:
  5687. description: 市场名称
  5688. type: string
  5689. marketserviceid:
  5690. description: 市场服务ID
  5691. type: integer
  5692. marketstatus:
  5693. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  5694. type: integer
  5695. markettype:
  5696. description: 市场类型- 1:非交易服务 2:交易服务
  5697. type: integer
  5698. matchermode:
  5699. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  5700. type: integer
  5701. openmethod:
  5702. description: 开盘模式 - 0 自动 1手动
  5703. type: integer
  5704. otcuserid:
  5705. description: 场外期权做市商[场外期权]
  5706. type: integer
  5707. outersynctime:
  5708. description: 外部同步时间点(h24:mi:ss)[场外期权]
  5709. type: string
  5710. pendingflag:
  5711. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  5712. type: integer
  5713. pendingtime:
  5714. description: 待开市时间[通道交易-对冲](HH:mm)
  5715. type: string
  5716. performancetempid:
  5717. description: 履约计划模板ID - 作废
  5718. type: integer
  5719. premiumquotemode:
  5720. description: 权利金报价方式 - 1:自动 2:手动
  5721. type: integer
  5722. rebateratio:
  5723. description: 返利比率[竞价式]
  5724. type: number
  5725. reckonorder:
  5726. description: 结算顺序
  5727. type: integer
  5728. reckonpricealgorithm:
  5729. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  5730. 6.卖一价 7.买一卖一均价 8.外部结算价'
  5731. type: integer
  5732. reckonpriceparam:
  5733. description: 结算价参数
  5734. type: integer
  5735. reckontime:
  5736. description: 结算时间[通道交易-对冲](HH:mm)
  5737. type: string
  5738. roleprioritytype:
  5739. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  5740. type: integer
  5741. selllistingauditflag:
  5742. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  5743. type: integer
  5744. trademarkettype:
  5745. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  5746. type: integer
  5747. trademode:
  5748. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5749. 21:竞拍-大宗式 22:受托竞价
  5750. type: integer
  5751. tradeproperty:
  5752. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  5753. 8:场外期权
  5754. type: integer
  5755. tradetype:
  5756. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  5757. type: integer
  5758. required:
  5759. - marketid
  5760. - marketstatus
  5761. - openmethod
  5762. - reckonpricealgorithm
  5763. - trademode
  5764. - tradeproperty
  5765. type: object
  5766. models.Marketrun:
  5767. properties:
  5768. afternexttradedate:
  5769. description: 下下交易日
  5770. type: string
  5771. clearquoteflag:
  5772. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  5773. type: integer
  5774. lastreckondate:
  5775. description: 最新交易日(结算成功)
  5776. type: string
  5777. machinedate:
  5778. description: 机器时间
  5779. type: string
  5780. manualflag:
  5781. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  5782. type: integer
  5783. marketid:
  5784. description: 市场ID
  5785. type: integer
  5786. nexttradedate:
  5787. description: 下一交易日
  5788. type: string
  5789. pretradedate:
  5790. description: 上一交易日
  5791. type: string
  5792. reckonflag:
  5793. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  5794. type: integer
  5795. runstatus:
  5796. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  5797. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  5798. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  5799. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  5800. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  5801. 62.今日免清算
  5802. type: integer
  5803. sectionid:
  5804. description: 时间段号[多时段时用]
  5805. type: integer
  5806. tradedate:
  5807. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  5808. type: string
  5809. tradedate2:
  5810. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  5811. type: string
  5812. updatetime:
  5813. description: 更新时间
  5814. type: string
  5815. required:
  5816. - marketid
  5817. - nexttradedate
  5818. - reckonflag
  5819. - runstatus
  5820. - tradedate
  5821. - tradedate2
  5822. type: object
  5823. models.Messageboard:
  5824. properties:
  5825. createtime:
  5826. description: 创建时间
  5827. type: string
  5828. message:
  5829. description: 留言信息
  5830. type: string
  5831. messageboardid:
  5832. description: 留言簿ID(SEQ_MessageBoard)
  5833. type: integer
  5834. userid:
  5835. description: 用户ID
  5836. type: integer
  5837. required:
  5838. - messageboardid
  5839. type: object
  5840. models.MyCoupon:
  5841. properties:
  5842. accountid:
  5843. description: 资金账户ID
  5844. type: integer
  5845. areauserid:
  5846. description: 所属机构
  5847. type: integer
  5848. conditionvalue:
  5849. description: 条件阈值(可为0)
  5850. type: number
  5851. couponcategroy:
  5852. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  5853. type: integer
  5854. couponname:
  5855. description: 优惠券名称
  5856. type: string
  5857. coupontypeid:
  5858. description: 优惠券类型ID
  5859. type: string
  5860. couponvalue:
  5861. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  5862. type: number
  5863. curfreezeqty:
  5864. description: 期末冻结数量
  5865. type: integer
  5866. curqty:
  5867. description: 期末数量
  5868. type: integer
  5869. isgeneral:
  5870. description: 是否通用券 - 0:否 1:是
  5871. type: integer
  5872. isunusable:
  5873. description: 是否不可用
  5874. type: boolean
  5875. limitedflag:
  5876. description: 是否指定商品 - 0:不限 1:限制
  5877. type: integer
  5878. limitedgoodsids:
  5879. description: 指定商品IDs[逗号分隔,前后加逗号]
  5880. type: string
  5881. orifreezeqty:
  5882. description: 期初冻结数量
  5883. type: integer
  5884. oriqty:
  5885. description: 期初数量
  5886. type: integer
  5887. reasontype:
  5888. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  5889. type: integer
  5890. todaydecrease:
  5891. description: 今日减少
  5892. type: integer
  5893. todayincrease:
  5894. description: 今日增加
  5895. type: integer
  5896. userid:
  5897. description: 用户ID
  5898. type: integer
  5899. userscope:
  5900. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  5901. type: string
  5902. required:
  5903. - accountid
  5904. - coupontypeid
  5905. type: object
  5906. models.MyCouponHold:
  5907. properties:
  5908. accountid:
  5909. description: 资金账户ID
  5910. type: integer
  5911. conditionvalue:
  5912. description: 条件阈值(可为0)
  5913. type: number
  5914. couponcategroy:
  5915. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  5916. type: integer
  5917. couponholdid:
  5918. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  5919. type: string
  5920. couponname:
  5921. description: 优惠券名称
  5922. type: string
  5923. coupontypeid:
  5924. description: 优惠券类型ID - SEQ_COUPONTYPE
  5925. type: string
  5926. couponvalue:
  5927. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  5928. type: number
  5929. createtime:
  5930. description: 创建时间
  5931. type: string
  5932. enddate:
  5933. description: 结束日期
  5934. type: string
  5935. giveapplyid:
  5936. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  5937. type: integer
  5938. holdstatus:
  5939. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  5940. type: integer
  5941. isgeneral:
  5942. description: 是否通用券 - 0:否 1:是
  5943. type: integer
  5944. limitedflag:
  5945. description: 是否指定商品 - 0:不限 1:限制
  5946. type: integer
  5947. limitedgoodsids:
  5948. description: 指定商品IDs[逗号分隔]
  5949. type: string
  5950. qty:
  5951. description: 数量(按1平铺)
  5952. type: integer
  5953. startdate:
  5954. description: 开始日期
  5955. type: string
  5956. userid:
  5957. description: 用户ID
  5958. type: integer
  5959. userscope:
  5960. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  5961. type: string
  5962. required:
  5963. - couponholdid
  5964. type: object
  5965. models.MyUsedCoupon:
  5966. properties:
  5967. accountid:
  5968. description: 资金账户ID(买方)
  5969. type: integer
  5970. conditionvalue:
  5971. description: 条件阈值(可为0)
  5972. type: number
  5973. couponcategroy:
  5974. description: 种类 - 1:现金券 2:折扣券
  5975. type: integer
  5976. couponname:
  5977. description: 优惠券名称
  5978. type: string
  5979. coupontypeid:
  5980. description: 优惠券类型ID(买方)
  5981. type: string
  5982. couponvalue:
  5983. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  5984. type: number
  5985. createtime:
  5986. description: 创建时间
  5987. type: string
  5988. goodsid:
  5989. description: 商品ID
  5990. type: integer
  5991. handlestatus:
  5992. description: 处理状态
  5993. type: integer
  5994. marketid:
  5995. description: 市场ID
  5996. type: integer
  5997. offamount:
  5998. description: 优惠金额
  5999. type: number
  6000. orderid:
  6001. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6002. type: string
  6003. sellaccountid:
  6004. description: 资金账户ID(卖方)
  6005. type: integer
  6006. tradeamount:
  6007. description: 成交金额
  6008. type: number
  6009. tradeid:
  6010. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6011. type: string
  6012. usedqty:
  6013. description: 使用数量
  6014. type: integer
  6015. required:
  6016. - coupontypeid
  6017. - orderid
  6018. type: object
  6019. models.OperationPrimaryMenu:
  6020. properties:
  6021. Children:
  6022. description: 二级功能菜单
  6023. items:
  6024. $ref: '#/definitions/models.OperationSecondaryMenu'
  6025. type: array
  6026. Key:
  6027. description: 菜单KEY
  6028. type: string
  6029. Label:
  6030. description: 菜单标题
  6031. type: string
  6032. type: object
  6033. models.OperationSecondaryMenu:
  6034. properties:
  6035. Key:
  6036. description: 菜单KEY
  6037. type: string
  6038. Label:
  6039. description: 菜单标题
  6040. type: string
  6041. TabList:
  6042. description: 三级功能菜单
  6043. items:
  6044. $ref: '#/definitions/models.OperationTabMenu'
  6045. type: array
  6046. type: object
  6047. models.OperationTabMenu:
  6048. properties:
  6049. Key:
  6050. description: 菜单KEY
  6051. type: string
  6052. Label:
  6053. description: 菜单标题
  6054. type: string
  6055. type: object
  6056. models.QueryErrorInfosRsp:
  6057. properties:
  6058. description:
  6059. description: 异常描述
  6060. type: string
  6061. errorcode:
  6062. description: 异常代码
  6063. type: string
  6064. errorid:
  6065. description: 异常ID
  6066. type: integer
  6067. modulecode:
  6068. description: 所属模块
  6069. type: string
  6070. operatecode:
  6071. description: 所属操作
  6072. type: string
  6073. rownumber:
  6074. description: 行号
  6075. type: string
  6076. required:
  6077. - errorid
  6078. type: object
  6079. models.QuotePrimaryMenu:
  6080. properties:
  6081. Index:
  6082. description: 序号
  6083. type: integer
  6084. Key:
  6085. description: 键名
  6086. type: string
  6087. Name:
  6088. description: 菜单名称
  6089. type: string
  6090. SubMenus:
  6091. description: 子菜单
  6092. items:
  6093. $ref: '#/definitions/models.QuoteSecondaryMenu'
  6094. type: array
  6095. SubTitleType:
  6096. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  6097. type: integer
  6098. TradeModes:
  6099. description: 包含市场交易类型
  6100. type: string
  6101. type: object
  6102. models.QuoteSecondaryMenu:
  6103. properties:
  6104. ExExchangeCode:
  6105. description: 外部交易所代码
  6106. type: string
  6107. ExExchangeID:
  6108. description: 外部交易所ID
  6109. type: integer
  6110. GoodsGroupIDs:
  6111. description: 商品组ID列表
  6112. items:
  6113. type: integer
  6114. type: array
  6115. Index:
  6116. description: 序号
  6117. type: integer
  6118. MarketID:
  6119. description: 市场ID
  6120. type: integer
  6121. MenuTitle:
  6122. description: 菜单标题(市场名称或外部交易所名称)
  6123. type: string
  6124. TradeMode:
  6125. description: 交易模式
  6126. type: integer
  6127. type: object
  6128. models.SearchGoods:
  6129. properties:
  6130. goodscode:
  6131. description: 商品代码(内部)
  6132. type: string
  6133. goodsid:
  6134. description: 商品ID(自增ID SEQ_GOODS)
  6135. type: integer
  6136. goodsname:
  6137. description: 商品名称
  6138. type: string
  6139. marketid:
  6140. description: 所属市场ID
  6141. type: integer
  6142. marketname:
  6143. description: 市场名称
  6144. type: string
  6145. trademode:
  6146. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6147. 21:竞拍-大宗式 22:受托竞价
  6148. type: integer
  6149. required:
  6150. - goodscode
  6151. - goodsid
  6152. - goodsname
  6153. - marketid
  6154. - trademode
  6155. type: object
  6156. models.Szdz2imageconfig:
  6157. properties:
  6158. configid:
  6159. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  6160. type: integer
  6161. imagepath:
  6162. description: 图片
  6163. type: string
  6164. imagetype:
  6165. description: 类型 - 1:App首页轮播 2:我的
  6166. type: integer
  6167. sort:
  6168. description: 排序
  6169. type: integer
  6170. title:
  6171. description: 标题
  6172. type: string
  6173. url:
  6174. description: 链接
  6175. type: string
  6176. required:
  6177. - configid
  6178. type: object
  6179. models.Szdz3convertconfig:
  6180. properties:
  6181. canin:
  6182. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  6183. type: integer
  6184. canout:
  6185. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  6186. type: integer
  6187. converttype:
  6188. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  6189. 6:交易转花生米(不设置)
  6190. type: integer
  6191. createtime:
  6192. description: 创建时间
  6193. type: string
  6194. creatorid:
  6195. description: 创建人
  6196. type: integer
  6197. daymaxvalue:
  6198. description: 当日最大转入限制
  6199. type: number
  6200. freezedays:
  6201. description: 冻结天数 [5:花生米转交易]
  6202. type: integer
  6203. innergoodsid:
  6204. description: 内部商品ID[交易]
  6205. type: integer
  6206. inratio:
  6207. description: 目标值
  6208. type: integer
  6209. modifierid:
  6210. description: 修改人
  6211. type: integer
  6212. modifytime:
  6213. description: 修改时间
  6214. type: string
  6215. outergoodscode:
  6216. description: 外部商品代码[JD\PD]
  6217. type: string
  6218. outratio:
  6219. description: 源值
  6220. type: integer
  6221. pddecimalplace:
  6222. description: PD小数位
  6223. type: integer
  6224. timemaxvalue:
  6225. description: 单次最大转入限制
  6226. type: number
  6227. timeminvalue:
  6228. description: 单次最小转入限制
  6229. type: number
  6230. required:
  6231. - converttype
  6232. - innergoodsid
  6233. - outergoodscode
  6234. type: object
  6235. models.Szdz3searchwhitelist:
  6236. properties:
  6237. createtime:
  6238. description: 创建时间
  6239. type: string
  6240. creatorid:
  6241. description: 创建人
  6242. type: integer
  6243. modifierid:
  6244. description: 修改人
  6245. type: integer
  6246. modifytime:
  6247. description: 修改时间
  6248. type: string
  6249. userid:
  6250. description: 用户ID
  6251. type: integer
  6252. required:
  6253. - userid
  6254. type: object
  6255. models.Taaccount:
  6256. properties:
  6257. accountflag:
  6258. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  6259. type: integer
  6260. accountid:
  6261. description: 资金账户ID
  6262. type: integer
  6263. accountname:
  6264. description: 账户名称
  6265. type: string
  6266. balance:
  6267. description: 期初余额
  6268. type: number
  6269. capitalbalance:
  6270. description: 本金余额[外部子账户实际出入金余额]
  6271. type: number
  6272. changeflag:
  6273. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  6274. type: integer
  6275. changetime:
  6276. description: 账户状态变更时间
  6277. type: string
  6278. closepl:
  6279. description: 今日平仓盈亏
  6280. type: number
  6281. creditdecrease:
  6282. description: 今日授信减少
  6283. type: number
  6284. creditincrease:
  6285. description: 今日授信增加
  6286. type: number
  6287. currencyid:
  6288. description: 货币ID
  6289. type: integer
  6290. currentbalance:
  6291. description: 期末余额
  6292. type: number
  6293. freezecharge:
  6294. description: 手续费冻结
  6295. type: number
  6296. freezemargin:
  6297. description: 冻结保证金
  6298. type: number
  6299. fromaccountid:
  6300. description: 所属上级账户
  6301. type: integer
  6302. inamount:
  6303. description: 今日入金金额(包括三方入金)
  6304. type: number
  6305. ismain:
  6306. description: 是否母账号 0:不是母账户 1:是母账户
  6307. type: integer
  6308. ismarketaccount:
  6309. description: 是否机构接单账号 0:不是 1:是
  6310. type: integer
  6311. isreckonaccount:
  6312. description: 是否机构分润账号 0:不是 1:是
  6313. type: integer
  6314. mortgagecredit:
  6315. description: 授信金额
  6316. type: number
  6317. orifreezecharge:
  6318. description: 期初手续费冻结
  6319. type: number
  6320. orifreezemargin:
  6321. description: 期初冻结保证金
  6322. type: number
  6323. orimortgagecredit:
  6324. description: 期初授信金额
  6325. type: number
  6326. oriothercredit:
  6327. description: 期初其它授信金额
  6328. type: number
  6329. oriotherfreezemargin:
  6330. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6331. type: number
  6332. orioutamountfreeze:
  6333. description: 期初出金冻结
  6334. type: number
  6335. oriusedmargin:
  6336. description: 期初占用保证金
  6337. type: number
  6338. othercredit:
  6339. description: 其它授信金额
  6340. type: number
  6341. othercreditdecrease:
  6342. description: 今日其它授信减少
  6343. type: number
  6344. othercreditincrease:
  6345. description: 今日其它授信增加
  6346. type: number
  6347. otherfreezemargin:
  6348. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6349. type: number
  6350. otherincome:
  6351. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  6352. type: number
  6353. otherpay:
  6354. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  6355. type: number
  6356. outamount:
  6357. description: 今日出金金额(包括三方出金)
  6358. type: number
  6359. outamountfreeze:
  6360. description: 出金冻结
  6361. type: number
  6362. outthreshold:
  6363. description: 出金阈值
  6364. type: number
  6365. parentaccountid:
  6366. description: 所属根账号
  6367. type: integer
  6368. paycharge:
  6369. description: 今日手续费支出
  6370. type: number
  6371. relatedaccountstatus:
  6372. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  6373. type: integer
  6374. relateduserid:
  6375. description: 关联用户
  6376. type: integer
  6377. serivcegroup:
  6378. description: 服务分组
  6379. type: integer
  6380. signstatus:
  6381. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6382. type: integer
  6383. sublevelpath:
  6384. description: 账号层级路径(逗号分隔,首尾加逗号)
  6385. type: string
  6386. taaccounttype:
  6387. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6388. type: integer
  6389. thirdinamount:
  6390. description: 今日三方入金
  6391. type: number
  6392. thirdoutamount:
  6393. description: 今日三方出金
  6394. type: number
  6395. tradestatus:
  6396. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6397. type: integer
  6398. tradestatuschangetime:
  6399. description: 激活时间
  6400. type: string
  6401. transferamount:
  6402. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6403. type: number
  6404. usedmargin:
  6405. description: 占用保证金
  6406. type: number
  6407. userid:
  6408. description: 用户ID
  6409. type: integer
  6410. required:
  6411. - accountid
  6412. - userid
  6413. type: object
  6414. models.Tablecolumnconfig:
  6415. properties:
  6416. aligntype:
  6417. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  6418. type: integer
  6419. autoid:
  6420. description: AutoID
  6421. type: integer
  6422. columnfield:
  6423. description: 列字段
  6424. type: string
  6425. columntitle:
  6426. description: 列Title
  6427. type: string
  6428. columnwidth:
  6429. description: 列宽
  6430. type: string
  6431. formatterstring:
  6432. description: 格式化字符
  6433. type: string
  6434. formattertype:
  6435. description: 格式化类型
  6436. type: string
  6437. groupname:
  6438. description: 表头分组名称
  6439. type: string
  6440. isshow:
  6441. description: 是否显示 - 0:不显示 1:显示
  6442. type: integer
  6443. needsummary:
  6444. description: 是否需要汇总 - 0:不需要 1:需要
  6445. type: integer
  6446. orderindex:
  6447. description: 顺序
  6448. type: integer
  6449. remark:
  6450. description: 备注
  6451. type: string
  6452. summarytype:
  6453. description: 汇总类型 - 1:加总 2:最后一个
  6454. type: integer
  6455. tablekey:
  6456. description: 列表Key
  6457. type: string
  6458. required:
  6459. - autoid
  6460. type: object
  6461. models.Useraccount:
  6462. properties:
  6463. accountname:
  6464. description: 账户名称(机构名称)
  6465. type: string
  6466. accountstatus:
  6467. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6468. type: integer
  6469. auditremark:
  6470. description: 审核备注
  6471. type: string
  6472. audittime:
  6473. description: 审核时间
  6474. type: string
  6475. audituserid:
  6476. description: 审核人
  6477. type: integer
  6478. broker:
  6479. description: 所属经纪人ID
  6480. type: integer
  6481. canceltime:
  6482. description: 销户时间
  6483. type: string
  6484. canceluserid:
  6485. description: 销户人
  6486. type: integer
  6487. createtime:
  6488. description: 创建时间
  6489. type: string
  6490. creatorid:
  6491. description: 创建人
  6492. type: integer
  6493. hasauth:
  6494. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6495. type: integer
  6496. isanonymous:
  6497. description: 是否匿名下单 - 0:否 1:是
  6498. type: integer
  6499. maxinvestornum:
  6500. description: 最大用户数(经纪会员下投资者个数)
  6501. type: integer
  6502. memberuserid:
  6503. description: 所属会员ID
  6504. type: integer
  6505. modifierid:
  6506. description: 修改人
  6507. type: integer
  6508. modifyremark:
  6509. description: 变更备注
  6510. type: string
  6511. modifystatus:
  6512. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6513. type: integer
  6514. modifytime:
  6515. description: 修改时间
  6516. type: string
  6517. parentuserid:
  6518. description: 所属机构ID
  6519. type: integer
  6520. reckonaccountid:
  6521. description: 默认结算资金账号ID(机构分润使用) 作废
  6522. type: integer
  6523. refercount:
  6524. description: 推荐总人数
  6525. type: integer
  6526. refereeuserid:
  6527. description: 推荐人ID
  6528. type: integer
  6529. refernum:
  6530. description: 推荐码
  6531. type: string
  6532. subarealevelpath:
  6533. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6534. type: string
  6535. userid:
  6536. description: 用户ID
  6537. type: integer
  6538. usertype:
  6539. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  6540. type: integer
  6541. required:
  6542. - userid
  6543. type: object
  6544. models.Userfavoritegoods:
  6545. properties:
  6546. goodsid:
  6547. description: 商品ID
  6548. type: integer
  6549. required:
  6550. - goodsid
  6551. type: object
  6552. models.Userinfo:
  6553. properties:
  6554. address:
  6555. description: 地址
  6556. type: string
  6557. attachment1:
  6558. description: 附件1
  6559. type: string
  6560. attachment2:
  6561. description: 附件2
  6562. type: string
  6563. bankaccount:
  6564. description: 银行帐号 (加密存储)
  6565. type: string
  6566. bankaccountname:
  6567. description: 收款人名称
  6568. type: string
  6569. bankcardfrontphotourl:
  6570. description: 银行卡正面照地址
  6571. type: string
  6572. bankid:
  6573. description: 银行编码
  6574. type: string
  6575. bankname:
  6576. description: 银行名称
  6577. type: string
  6578. biznature:
  6579. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  6580. type: integer
  6581. bizscope:
  6582. description: 企业经营范围(企业)
  6583. type: string
  6584. cardbackphotourl:
  6585. description: 证件背面图片地址
  6586. type: string
  6587. cardfrontphotourl:
  6588. description: 证件正面图片地址
  6589. type: string
  6590. cardnum:
  6591. description: 证件号码(加密存储)
  6592. type: string
  6593. cardtypeid:
  6594. description: 证件类型ID
  6595. type: integer
  6596. cityid:
  6597. description: 市
  6598. type: integer
  6599. company:
  6600. description: 公司(个人)
  6601. type: string
  6602. contactname:
  6603. description: 联系人
  6604. type: string
  6605. countryid:
  6606. description: 国家
  6607. type: integer
  6608. createtime:
  6609. description: 创建时间
  6610. type: string
  6611. creatorid:
  6612. description: 创建人
  6613. type: integer
  6614. customername:
  6615. description: 客户名称(企业名称)
  6616. type: string
  6617. districtid:
  6618. description: 地区
  6619. type: integer
  6620. email:
  6621. description: 邮件(加密存储)
  6622. type: string
  6623. fax:
  6624. description: 传真(加密存储)
  6625. type: string
  6626. halfbodyphotourl:
  6627. description: 半身照地址
  6628. type: string
  6629. hasencrypt:
  6630. description: 数据是否已加密 - 0:未加密 1:已加密
  6631. type: integer
  6632. headurl:
  6633. description: 头像地址
  6634. type: string
  6635. legalcardbackphotourl:
  6636. description: 法人身份证背面照地址
  6637. type: string
  6638. legalcardfrontphotourl:
  6639. description: 法人身份证正面照地址
  6640. type: string
  6641. legalpersonname:
  6642. description: 法人姓名(企业)
  6643. type: string
  6644. mobile:
  6645. description: 手机号码(加密存储)
  6646. type: string
  6647. mobile2:
  6648. description: 手机号码[明文-尚志]
  6649. type: string
  6650. modifierid:
  6651. description: 修改人
  6652. type: integer
  6653. modifiertime:
  6654. description: 修改时间
  6655. type: string
  6656. needinvoice:
  6657. description: 是否需要发票 - 0:不需要 1:需要
  6658. type: integer
  6659. nickname:
  6660. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  6661. type: string
  6662. openmode:
  6663. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  6664. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  6665. type: integer
  6666. otherurl:
  6667. description: 其它图片地址[使用分号分隔]
  6668. type: string
  6669. postalcode:
  6670. description: 邮政编码
  6671. type: string
  6672. provinceid:
  6673. description: 省
  6674. type: integer
  6675. qq:
  6676. description: QQ(加密存储
  6677. type: string
  6678. remark:
  6679. description: 备注
  6680. type: string
  6681. sex:
  6682. description: '用户性别 0: 女 1: 男'
  6683. type: integer
  6684. signpdfurl:
  6685. description: 签约pdf文件
  6686. type: string
  6687. telphone:
  6688. description: 联系电话(加密存储)
  6689. type: string
  6690. userid:
  6691. description: 用户ID
  6692. type: integer
  6693. userinfotype:
  6694. description: 用户信息类型 - 1:个人 2:企业
  6695. type: integer
  6696. userstatus:
  6697. description: 用户状态 - 1:正常 2:注销
  6698. type: integer
  6699. usertype:
  6700. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  6701. type: integer
  6702. wechat:
  6703. description: 微信(加密存储)
  6704. type: string
  6705. wskhinfo:
  6706. description: 开户申请信息(JSON)
  6707. type: string
  6708. required:
  6709. - userid
  6710. type: object
  6711. models.WRCategoryTree:
  6712. properties:
  6713. areauserid:
  6714. description: 所属机构
  6715. type: integer
  6716. categorydesc:
  6717. description: 类别描述
  6718. type: string
  6719. categoryid:
  6720. description: 类别ID(SEQ_WRCATEGORY)
  6721. type: integer
  6722. categoryname:
  6723. description: 类别名称
  6724. type: string
  6725. iconurl:
  6726. description: 图标地址
  6727. type: string
  6728. orderindex:
  6729. description: 顺序
  6730. type: integer
  6731. parentcategoryid:
  6732. description: 父类别ID
  6733. type: integer
  6734. subcategory:
  6735. description: 子分类
  6736. items:
  6737. $ref: '#/definitions/models.WRCategoryTree'
  6738. type: array
  6739. required:
  6740. - categoryid
  6741. type: object
  6742. models.WRSConverTDetail:
  6743. properties:
  6744. convertratio:
  6745. description: 套保系数
  6746. type: number
  6747. deliverygoodsid:
  6748. description: 现货品种ID
  6749. type: integer
  6750. middlegoodscode:
  6751. description: 套保品种代码
  6752. type: string
  6753. middlegoodsid:
  6754. description: 套保品种ID
  6755. type: integer
  6756. middlegoodsname:
  6757. description: 套保品种名称
  6758. type: string
  6759. modifytime:
  6760. description: 修改时间
  6761. type: string
  6762. wrstandardid:
  6763. description: 现货商品ID
  6764. type: integer
  6765. type: object
  6766. models.WRStandardInfo:
  6767. properties:
  6768. createtime:
  6769. description: 创建时间
  6770. type: string
  6771. creatorid:
  6772. description: 创建人
  6773. type: integer
  6774. deliverygoodsid:
  6775. description: 品种ID
  6776. type: integer
  6777. deliverygoodsname:
  6778. description: 交割商品名称
  6779. type: string
  6780. factoryitemjson:
  6781. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  6782. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  6783. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  6784. 逗号分隔'
  6785. type: string
  6786. isvalid:
  6787. description: 是否有效 - 0:无效 1:有效
  6788. type: integer
  6789. minivalue:
  6790. description: 最小变动值
  6791. type: integer
  6792. minivaluedp:
  6793. description: 最小变动值小数位
  6794. type: integer
  6795. realminivalue:
  6796. description: 实际最小变动值
  6797. type: integer
  6798. realminivaluedp:
  6799. description: 实际最小变动值小数位
  6800. type: integer
  6801. unitid:
  6802. description: 单位ID
  6803. type: integer
  6804. unitname:
  6805. description: 单位
  6806. type: string
  6807. updatetime:
  6808. description: 更新时间
  6809. type: string
  6810. updatorid:
  6811. description: 更新人
  6812. type: integer
  6813. wrsstatus:
  6814. description: 状态 - 作废 - 0:未激活 1:正常
  6815. type: integer
  6816. wrstandardcode:
  6817. description: 仓单标准代码
  6818. type: string
  6819. wrstandardid:
  6820. description: 仓单标准ID(SEQ_WRSTANDARD)
  6821. type: integer
  6822. wrstandardname:
  6823. description: 仓单标准名称
  6824. type: string
  6825. required:
  6826. - wrstandardid
  6827. type: object
  6828. models.Warehouseinfo:
  6829. properties:
  6830. address:
  6831. description: 详细地址
  6832. type: string
  6833. areauserid:
  6834. description: 所属机构
  6835. type: integer
  6836. autoid:
  6837. description: 自增ID
  6838. type: integer
  6839. cityid:
  6840. description: 市
  6841. type: integer
  6842. contactname:
  6843. description: 联系人
  6844. type: string
  6845. contactnum:
  6846. description: 联系电话
  6847. type: string
  6848. countryid:
  6849. description: 国家
  6850. type: integer
  6851. createtime:
  6852. description: 创建时间
  6853. type: string
  6854. districtid:
  6855. description: 区
  6856. type: integer
  6857. hasvideo:
  6858. description: 是否有视频 - 0:无 1:有
  6859. type: integer
  6860. provinceid:
  6861. description: 省
  6862. type: integer
  6863. remark:
  6864. description: 审核备注
  6865. type: string
  6866. videourl:
  6867. description: 视频地址
  6868. type: string
  6869. warehousecode:
  6870. description: 仓库代码
  6871. type: string
  6872. warehousename:
  6873. description: 仓库名称
  6874. type: string
  6875. warehousestatus:
  6876. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6877. type: integer
  6878. warehousetype:
  6879. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6880. type: integer
  6881. required:
  6882. - autoid
  6883. - warehousecode
  6884. type: object
  6885. order.QueryHisTradeDetailRsp:
  6886. properties:
  6887. accountid:
  6888. description: 账户ID[报价币种]
  6889. type: integer
  6890. buildtype:
  6891. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  6892. type: integer
  6893. buyorsell:
  6894. description: 方向 - 0:买 1:卖
  6895. type: integer
  6896. charge:
  6897. description: 手续费
  6898. type: number
  6899. closecharge:
  6900. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  6901. type: number
  6902. closeexchagechargevalue:
  6903. description: 平仓交易所手续费设置值
  6904. type: number
  6905. closefeealgorithm:
  6906. description: 平仓手续费收取方式 1:比率 2:固定
  6907. type: integer
  6908. closememberchargevalue:
  6909. description: 平仓会员手续费设置值
  6910. type: number
  6911. closepl:
  6912. description: 平仓盈亏
  6913. type: number
  6914. closepl2:
  6915. description: 平仓盈亏[逐笔]
  6916. type: number
  6917. closeqty:
  6918. description: 平仓数量(先建后平操作 需要记录)
  6919. type: integer
  6920. creditamount:
  6921. description: 授信金额
  6922. type: number
  6923. gcaccountid:
  6924. description: 账户ID[合约币种]
  6925. type: integer
  6926. goodscode:
  6927. description: 商品代码
  6928. type: string
  6929. goodsid:
  6930. description: 商品ID
  6931. type: integer
  6932. goodsname:
  6933. description: 商品名称
  6934. type: string
  6935. histradedate:
  6936. description: 历史交易日
  6937. type: string
  6938. intclosepl:
  6939. description: 整型盈亏(用于交易结算试算平衡-收益权)
  6940. type: integer
  6941. isconfirmexercise:
  6942. description: 是否确认行权- 0:否 1:是
  6943. type: integer
  6944. ismain:
  6945. description: 是否主单 - 0:不是 1:是
  6946. type: integer
  6947. ispreexercise:
  6948. description: 是否预申报- 0:否 1:是
  6949. type: integer
  6950. isreckoned:
  6951. description: 是否结算 - 0:未结算 1:已结算
  6952. type: integer
  6953. isvaliddata:
  6954. description: 是否有效 - 0:无效 1:有效
  6955. type: integer
  6956. listingselecttype:
  6957. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6958. type: integer
  6959. marketid:
  6960. description: 市场ID
  6961. type: integer
  6962. marketname:
  6963. description: 市场名称
  6964. type: string
  6965. matchaccountid:
  6966. description: 对手账号id
  6967. type: integer
  6968. memberuserid:
  6969. description: 会员id 个人投资者 需要填写
  6970. type: integer
  6971. opencharge:
  6972. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  6973. type: number
  6974. openexchagechargevalue:
  6975. description: 建仓交易所手续费设置值
  6976. type: number
  6977. openfeealgorithm:
  6978. description: 建仓手续费收取方式 1:比率 2:固定
  6979. type: integer
  6980. openmemberchargevalue:
  6981. description: 建仓会员手续费设置值
  6982. type: number
  6983. openqty:
  6984. description: 开仓数量(先建后平操作 需要记录)
  6985. type: integer
  6986. optiontype:
  6987. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  6988. type: integer
  6989. orderid:
  6990. description: 委托单号
  6991. type: string
  6992. performanceplanid:
  6993. description: 履约计划ID[期权]
  6994. type: integer
  6995. performancestatus:
  6996. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  6997. type: integer
  6998. preexerciseprice:
  6999. description: 预申报价格
  7000. type: number
  7001. premium:
  7002. description: 权利金 - [持仓单的权利金]
  7003. type: number
  7004. relatedouttradeid:
  7005. description: 关联外部成交单ID
  7006. type: integer
  7007. status:
  7008. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  7009. type: integer
  7010. tradeamount:
  7011. description: 成交金额[账户币种,用于所有权]
  7012. type: number
  7013. tradedate:
  7014. description: 交易日(yyyyMMdd)
  7015. type: string
  7016. tradeid:
  7017. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7018. type: string
  7019. trademode:
  7020. description: 交易模式
  7021. type: integer
  7022. tradeprice:
  7023. description: 成交价格
  7024. type: number
  7025. tradeproperty:
  7026. description: 交易属性
  7027. type: integer
  7028. tradeqty:
  7029. description: 成交数量
  7030. type: integer
  7031. tradetime:
  7032. description: 成交时间
  7033. type: string
  7034. tradetype:
  7035. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  7036. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  7037. type: integer
  7038. required:
  7039. - accountid
  7040. - buyorsell
  7041. - goodsid
  7042. - histradedate
  7043. - marketid
  7044. - memberuserid
  7045. - orderid
  7046. - tradeamount
  7047. - tradedate
  7048. - tradeid
  7049. - tradeprice
  7050. - tradeqty
  7051. - tradetime
  7052. type: object
  7053. order.QueryHisTradeOrderDetailRsp:
  7054. properties:
  7055. accountid:
  7056. description: 账户ID[报价币种]
  7057. type: integer
  7058. buildtype:
  7059. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  7060. type: integer
  7061. buyorsell:
  7062. description: 买卖 - 0:买 1:卖
  7063. type: integer
  7064. cancelorderid:
  7065. description: 撤单单号(撤单时填写)
  7066. type: string
  7067. cancelqty:
  7068. description: 撤单数量
  7069. type: integer
  7070. clientordertime:
  7071. description: 客户端委托时间
  7072. type: string
  7073. clientticket:
  7074. description: 客户端流水号
  7075. type: string
  7076. clienttype:
  7077. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  7078. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7079. type: integer
  7080. closeexchagechargevalue:
  7081. description: 平仓交易所手续费设置值
  7082. type: number
  7083. closefeealgorithm:
  7084. description: 平仓手续费收取方式 1:比率 2:固定
  7085. type: integer
  7086. closefreezecharge:
  7087. description: 平仓冻结手续费(先建后平操作,需要记录)
  7088. type: number
  7089. closememberchargevalue:
  7090. description: 平仓会员手续费设置值
  7091. type: number
  7092. closeqty:
  7093. description: 平仓数量(先建后平操作 需要记录)
  7094. type: integer
  7095. closetradeqty:
  7096. description: 平仓成交数量(先建后平操作,需要记录)
  7097. type: integer
  7098. closeunfreezecharge:
  7099. description: 平仓解冻手续费(先建后平操作,需要记录)
  7100. type: number
  7101. delistingtype:
  7102. description: 摘牌类型 - 1:价格最优 2:点选成交
  7103. type: integer
  7104. freezecharge:
  7105. description: 冻结手续费
  7106. type: number
  7107. freezemargin:
  7108. description: 冻结保证金(冻结交易金额)
  7109. type: number
  7110. gcaccountid:
  7111. description: 账户ID[合约币种]
  7112. type: integer
  7113. goodscode:
  7114. description: 商品代码
  7115. type: string
  7116. goodsid:
  7117. description: 商品ID
  7118. type: integer
  7119. goodsname:
  7120. description: 商品名称
  7121. type: string
  7122. histradedate:
  7123. description: 历史交易日
  7124. type: string
  7125. isconfirmexercise:
  7126. description: 是否确认行权- 0:否 1:是
  7127. type: integer
  7128. ispreexercise:
  7129. description: 是否预申报- 0:否 1:是
  7130. type: integer
  7131. isvaliddata:
  7132. description: 是否有效 - 0:无效 1:有效
  7133. type: integer
  7134. listingselecttype:
  7135. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7136. type: integer
  7137. marginalgorithm:
  7138. description: 保证金收取方式 1:比率 2:固定
  7139. type: integer
  7140. marginvalue:
  7141. description: 即市保证金设置值
  7142. type: number
  7143. marketid:
  7144. description: 市场ID
  7145. type: integer
  7146. marketmaxsub:
  7147. description: 市价最大偏移范围
  7148. type: number
  7149. marketname:
  7150. description: 市场名称
  7151. type: string
  7152. memberuserid:
  7153. description: 所属会员UserID
  7154. type: integer
  7155. openexchagechargevalue:
  7156. description: 建仓交易所手续费设置值
  7157. type: number
  7158. openfeealgorithm:
  7159. description: 建仓手续费收取方式 1:比率 2:固定
  7160. type: integer
  7161. openfreezecharge:
  7162. description: 开仓冻结手续费(先建后平操作,需要记录)
  7163. type: number
  7164. openmemberchargevalue:
  7165. description: 建仓会员手续费设置值
  7166. type: number
  7167. openqty:
  7168. description: 开仓数量(先建后平操作,需要记录)
  7169. type: integer
  7170. opentradeqty:
  7171. description: 开仓成交数量(先建后平操作,需要记录)
  7172. type: integer
  7173. openunfreezecharge:
  7174. description: 开仓解冻手续费(先建后平操作,需要记录)
  7175. type: number
  7176. operatetype:
  7177. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  7178. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  7179. 15:管理端协议转让
  7180. type: integer
  7181. operatorid:
  7182. description: 登录账号(LoginID)
  7183. type: integer
  7184. optiontype:
  7185. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7186. type: integer
  7187. orderid:
  7188. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7189. type: string
  7190. orderprice:
  7191. description: 委托价格
  7192. type: number
  7193. orderqty:
  7194. description: 委托数量
  7195. type: integer
  7196. ordersrc:
  7197. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  7198. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  7199. type: integer
  7200. orderstatus:
  7201. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7202. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7203. 16:成交失败违约(荷兰式竞拍专用)
  7204. type: integer
  7205. ordertime:
  7206. description: 委托时间
  7207. type: string
  7208. preexerciseprice:
  7209. description: 预申报价格
  7210. type: number
  7211. premium:
  7212. description: 权利金
  7213. type: number
  7214. preorderid:
  7215. description: 关联预埋单号(止盈止损单时填写)
  7216. type: string
  7217. pricemode:
  7218. description: '取价方式 - 1:市价 2: 限价'
  7219. type: integer
  7220. quoteid:
  7221. description: 报价单ID
  7222. type: integer
  7223. relatedid:
  7224. description: 关联单号(交割单)
  7225. type: string
  7226. retcode:
  7227. description: 错误代码
  7228. type: integer
  7229. sessionid:
  7230. description: 会话ID
  7231. type: integer
  7232. tradedate:
  7233. description: 交易日(yyyyMMdd)
  7234. type: string
  7235. trademode:
  7236. description: 交易模式
  7237. type: integer
  7238. tradeproperty:
  7239. description: 交易属性
  7240. type: integer
  7241. tradeqty:
  7242. description: 成交数量
  7243. type: integer
  7244. unfreezecharge:
  7245. description: 解冻手续费
  7246. type: number
  7247. unfreezemargin:
  7248. description: 解冻保证金
  7249. type: number
  7250. updatetime:
  7251. description: 更新时间
  7252. type: string
  7253. uuid:
  7254. description: 发起端唯一id
  7255. type: string
  7256. validtime:
  7257. description: 有效期限
  7258. type: string
  7259. validtype:
  7260. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  7261. type: integer
  7262. volumetype:
  7263. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  7264. type: integer
  7265. required:
  7266. - accountid
  7267. - buildtype
  7268. - buyorsell
  7269. - goodsid
  7270. - histradedate
  7271. - marketid
  7272. - memberuserid
  7273. - operatetype
  7274. - orderid
  7275. - orderqty
  7276. - ordertime
  7277. - pricemode
  7278. - tradedate
  7279. - validtype
  7280. type: object
  7281. order.QueryTradeDetailRsp:
  7282. properties:
  7283. accountid:
  7284. description: 账户ID[报价币种]
  7285. type: integer
  7286. buildtype:
  7287. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  7288. type: integer
  7289. buyorsell:
  7290. description: 方向 - 0:买 1:卖
  7291. type: integer
  7292. charge:
  7293. description: 手续费
  7294. type: number
  7295. closecharge:
  7296. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7297. type: number
  7298. closeexchagechargevalue:
  7299. description: 平仓交易所手续费设置值
  7300. type: number
  7301. closefeealgorithm:
  7302. description: 平仓手续费收取方式 1:比率 2:固定
  7303. type: integer
  7304. closememberchargevalue:
  7305. description: 平仓会员手续费设置值
  7306. type: number
  7307. closepl:
  7308. description: 平仓盈亏
  7309. type: number
  7310. closepl2:
  7311. description: 平仓盈亏[逐笔]
  7312. type: number
  7313. closeqty:
  7314. description: 平仓数量(先建后平操作 需要记录)
  7315. type: integer
  7316. creditamount:
  7317. description: 授信金额
  7318. type: number
  7319. gcaccountid:
  7320. description: 账户ID[合约币种]
  7321. type: integer
  7322. goodscode:
  7323. description: 商品代码
  7324. type: string
  7325. goodsid:
  7326. description: 商品ID
  7327. type: integer
  7328. goodsname:
  7329. description: 商品名称
  7330. type: string
  7331. intclosepl:
  7332. description: 整型盈亏(用于交易结算试算平衡-收益权)
  7333. type: integer
  7334. isconfirmexercise:
  7335. description: 是否确认行权- 0:否 1:是
  7336. type: integer
  7337. ismain:
  7338. description: 是否主单 - 0:不是 1:是
  7339. type: integer
  7340. ispreexercise:
  7341. description: 是否预申报- 0:否 1:是
  7342. type: integer
  7343. isreckoned:
  7344. description: 是否结算 - 0:未结算 1:已结算
  7345. type: integer
  7346. listingselecttype:
  7347. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7348. type: integer
  7349. marketid:
  7350. description: 市场ID
  7351. type: integer
  7352. marketname:
  7353. description: 市场名称
  7354. type: string
  7355. matchaccountid:
  7356. description: 对手账号id
  7357. type: integer
  7358. memberuserid:
  7359. description: 会员id 个人投资者 需要填写
  7360. type: integer
  7361. opencharge:
  7362. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7363. type: number
  7364. openexchagechargevalue:
  7365. description: 建仓交易所手续费设置值
  7366. type: number
  7367. openfeealgorithm:
  7368. description: 建仓手续费收取方式 1:比率 2:固定
  7369. type: integer
  7370. openmemberchargevalue:
  7371. description: 建仓会员手续费设置值
  7372. type: number
  7373. openqty:
  7374. description: 开仓数量(先建后平操作 需要记录)
  7375. type: integer
  7376. optiontype:
  7377. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7378. type: integer
  7379. orderid:
  7380. description: 委托单号
  7381. type: string
  7382. performanceplanid:
  7383. description: 履约计划ID[期权]
  7384. type: integer
  7385. performancestatus:
  7386. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  7387. type: integer
  7388. preexerciseprice:
  7389. description: 预申报价格
  7390. type: number
  7391. premium:
  7392. description: 权利金 - [持仓单的权利金]
  7393. type: number
  7394. relatedouttradeid:
  7395. description: 关联外部成交单ID
  7396. type: integer
  7397. status:
  7398. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  7399. type: integer
  7400. tradeamount:
  7401. description: 成交金额[账户币种,用于所有权]
  7402. type: number
  7403. tradedate:
  7404. description: 交易日(yyyyMMdd)
  7405. type: string
  7406. tradeid:
  7407. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7408. type: string
  7409. trademode:
  7410. description: 交易模式
  7411. type: integer
  7412. tradeprice:
  7413. description: 成交价格
  7414. type: number
  7415. tradeproperty:
  7416. description: 交易属性
  7417. type: integer
  7418. tradeqty:
  7419. description: 成交数量
  7420. type: integer
  7421. tradetime:
  7422. description: 成交时间
  7423. type: string
  7424. tradetype:
  7425. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  7426. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  7427. type: integer
  7428. required:
  7429. - accountid
  7430. - buyorsell
  7431. - goodsid
  7432. - marketid
  7433. - memberuserid
  7434. - orderid
  7435. - tradeamount
  7436. - tradedate
  7437. - tradeid
  7438. - tradeprice
  7439. - tradeqty
  7440. - tradetime
  7441. type: object
  7442. order.QueryTradeOrderDetailRsp:
  7443. properties:
  7444. accountid:
  7445. description: 账户ID[报价币种]
  7446. type: integer
  7447. buildtype:
  7448. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  7449. type: integer
  7450. buyorsell:
  7451. description: 买卖 - 0:买 1:卖
  7452. type: integer
  7453. cancelorderid:
  7454. description: 撤单单号(撤单时填写)
  7455. type: string
  7456. cancelqty:
  7457. description: 撤单数量
  7458. type: integer
  7459. clienttype:
  7460. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  7461. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7462. type: integer
  7463. closefreezecharge:
  7464. description: 平仓冻结手续费(先建后平操作,需要记录)
  7465. type: number
  7466. closeqty:
  7467. description: 平仓数量(先建后平操作 需要记录)
  7468. type: integer
  7469. closetradeqty:
  7470. description: 平仓成交数量(先建后平操作,需要记录)
  7471. type: integer
  7472. closeunfreezecharge:
  7473. description: 平仓解冻手续费(先建后平操作,需要记录)
  7474. type: number
  7475. delistingtype:
  7476. description: 摘牌类型 - 1:价格最优 2:点选成交
  7477. type: integer
  7478. enableqty:
  7479. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  7480. type: integer
  7481. freezecharge:
  7482. description: 冻结手续费
  7483. type: number
  7484. freezemargin:
  7485. description: 冻结保证金(冻结交易金额)
  7486. type: number
  7487. goodscode:
  7488. description: 商品代码
  7489. type: string
  7490. goodsid:
  7491. description: 商品ID
  7492. type: integer
  7493. goodsname:
  7494. description: 商品名称
  7495. type: string
  7496. listingselecttype:
  7497. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7498. type: integer
  7499. marketid:
  7500. description: 市场ID
  7501. type: integer
  7502. marketname:
  7503. description: 市场名称
  7504. type: string
  7505. openfreezecharge:
  7506. description: 开仓冻结手续费(先建后平操作,需要记录)
  7507. type: number
  7508. openqty:
  7509. description: 开仓数量(先建后平操作,需要记录)
  7510. type: integer
  7511. opentradeqty:
  7512. description: 开仓成交数量(先建后平操作,需要记录)
  7513. type: integer
  7514. openunfreezecharge:
  7515. description: 开仓解冻手续费(先建后平操作,需要记录)
  7516. type: number
  7517. operatetype:
  7518. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  7519. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  7520. 15:管理端协议转让
  7521. type: integer
  7522. operatorid:
  7523. description: 登录账号(LoginID)
  7524. type: integer
  7525. orderid:
  7526. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7527. type: string
  7528. orderprice:
  7529. description: 委托价格
  7530. type: number
  7531. orderqty:
  7532. description: 委托数量
  7533. type: integer
  7534. ordersrc:
  7535. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  7536. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  7537. type: integer
  7538. orderstatus:
  7539. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7540. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7541. 16:成交失败违约(荷兰式竞拍专用)
  7542. type: integer
  7543. ordertime:
  7544. description: 委托时间
  7545. type: string
  7546. preorderid:
  7547. description: 关联预埋单号(止盈止损单时填写)
  7548. type: string
  7549. pricemode:
  7550. description: '取价方式 - 1:市价 2: 限价'
  7551. type: integer
  7552. relatedid:
  7553. description: 关联单号(交割单)
  7554. type: string
  7555. tradedate:
  7556. description: 交易日(yyyyMMdd)
  7557. type: string
  7558. trademode:
  7559. description: 交易模式
  7560. type: integer
  7561. tradeqty:
  7562. description: 成交数量
  7563. type: integer
  7564. unfreezecharge:
  7565. description: 解冻手续费
  7566. type: number
  7567. unfreezemargin:
  7568. description: 解冻保证金
  7569. type: number
  7570. validtime:
  7571. description: 有效期限
  7572. type: string
  7573. validtype:
  7574. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  7575. type: integer
  7576. volumetype:
  7577. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  7578. type: integer
  7579. required:
  7580. - accountid
  7581. - buildtype
  7582. - buyorsell
  7583. - goodsid
  7584. - marketid
  7585. - operatetype
  7586. - orderqty
  7587. - ordertime
  7588. - pricemode
  7589. - tradedate
  7590. - validtype
  7591. type: object
  7592. order.QueryTradePositionRsp:
  7593. properties:
  7594. accountid:
  7595. description: 资金账户
  7596. type: integer
  7597. agreeunit:
  7598. description: 合约单位
  7599. type: number
  7600. averageprice:
  7601. description: 持仓均价
  7602. type: number
  7603. buyorsell:
  7604. description: 方向 - 0:买 1:卖
  7605. type: integer
  7606. closetotalqty:
  7607. description: 平仓总数量
  7608. type: integer
  7609. curholderamount:
  7610. description: 当前持仓总金额[商品币种]
  7611. type: number
  7612. curpositionqty:
  7613. description: 当前持仓总数量
  7614. type: integer
  7615. currencyid:
  7616. description: 报价货币ID
  7617. type: integer
  7618. curtdposition:
  7619. description: 期末今日头寸
  7620. type: integer
  7621. decimalplace:
  7622. description: 报价小数位
  7623. type: integer
  7624. enableqty:
  7625. description: 可用量
  7626. type: integer
  7627. fretdposition:
  7628. description: 冻结今日头寸
  7629. type: integer
  7630. frozenqty:
  7631. description: 持仓冻结数量
  7632. type: integer
  7633. goodscode:
  7634. description: 商品代码
  7635. type: string
  7636. goodsid:
  7637. description: 商品Id
  7638. type: integer
  7639. goodsname:
  7640. description: 商品名称
  7641. type: string
  7642. goodunit:
  7643. description: 报价单位
  7644. type: string
  7645. goodunitid:
  7646. description: 报价单位ID
  7647. type: integer
  7648. holderamount:
  7649. description: 期初持仓总金额[商品币种]
  7650. type: number
  7651. marketid:
  7652. description: 所属市场ID
  7653. type: integer
  7654. openreqqty:
  7655. description: 开仓申请数量(用于比较最大持仓数量)
  7656. type: integer
  7657. opentotalqty:
  7658. description: 开仓总数量
  7659. type: integer
  7660. otherfrozenqty:
  7661. description: 持仓其他冻结数量(交割冻结)
  7662. type: integer
  7663. positionqty:
  7664. description: 期初持仓数量
  7665. type: integer
  7666. tnqty:
  7667. description: T+N冻结总量
  7668. type: integer
  7669. tnusedqty:
  7670. description: T+N使用量(可以使用T+N的冻结数量)
  7671. type: integer
  7672. trademode:
  7673. description: 交易模式
  7674. type: integer
  7675. usedmargin:
  7676. description: 占用保证金[商品币种]
  7677. type: number
  7678. required:
  7679. - goodsid
  7680. type: object
  7681. quote.HistoryData:
  7682. properties:
  7683. c:
  7684. description: 收盘价
  7685. type: number
  7686. f:
  7687. description: 是否补充数据
  7688. type: boolean
  7689. h:
  7690. description: 最高价
  7691. type: number
  7692. hv:
  7693. description: 持仓量
  7694. type: integer
  7695. l:
  7696. description: 最低价
  7697. type: number
  7698. o:
  7699. description: 开盘价
  7700. type: number
  7701. s:
  7702. description: 结算价,日线周期(包括)以上才有
  7703. type: number
  7704. ts:
  7705. description: 时间
  7706. type: string
  7707. tt:
  7708. description: 总金额
  7709. type: number
  7710. tv:
  7711. description: 总量
  7712. type: integer
  7713. type: object
  7714. quote.QueryTSDataRsp:
  7715. properties:
  7716. decimalPlace:
  7717. description: 小数位
  7718. type: integer
  7719. endTime:
  7720. description: 结束时间
  7721. type: string
  7722. goodsCode:
  7723. description: 商品代码
  7724. type: string
  7725. historyDatas:
  7726. description: 历史数据
  7727. items:
  7728. $ref: '#/definitions/quote.HistoryData'
  7729. type: array
  7730. outGoodsCode:
  7731. description: 外部商品代码
  7732. type: string
  7733. preSettle:
  7734. description: 昨结
  7735. type: number
  7736. startTime:
  7737. description: 开始时间
  7738. type: string
  7739. tradeDate:
  7740. description: 交易日
  7741. type: string
  7742. type: object
  7743. szdz.QueryConvertLogRsp:
  7744. properties:
  7745. accountid:
  7746. description: 资金账户ID
  7747. type: integer
  7748. clientticket:
  7749. description: 客户端流水号
  7750. type: string
  7751. converttype:
  7752. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  7753. type: integer
  7754. createtime:
  7755. description: 记账时间
  7756. type: string
  7757. daymaxvalue:
  7758. description: 配置当日最大转入限制
  7759. type: number
  7760. daymaxvalue2:
  7761. description: 配置当日最大转入限制(转入)
  7762. type: number
  7763. goodscode:
  7764. description: 商品代码
  7765. type: string
  7766. goodsname:
  7767. description: 商品名称
  7768. type: string
  7769. handlestatus:
  7770. description: 处理状态
  7771. type: integer
  7772. innergoodsid:
  7773. description: 内部商品ID
  7774. type: integer
  7775. inratio:
  7776. description: 配置转入比值
  7777. type: integer
  7778. invalue:
  7779. description: 目标值
  7780. type: number
  7781. logid:
  7782. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7783. type: integer
  7784. mobile:
  7785. description: 手机号码(加密存储)
  7786. type: string
  7787. outergoodscode:
  7788. description: 外部商品代码[JD\PD]
  7789. type: string
  7790. outratio:
  7791. description: 配置转出比值
  7792. type: integer
  7793. outvalue:
  7794. description: 源值
  7795. type: number
  7796. pddecimalplace:
  7797. description: PD小数位
  7798. type: integer
  7799. qty:
  7800. description: 数量
  7801. type: string
  7802. remark:
  7803. description: 备注
  7804. type: string
  7805. sessionid:
  7806. description: 会话ID
  7807. type: integer
  7808. timemaxvalue:
  7809. description: 配置单次最大转入限制
  7810. type: number
  7811. timemaxvalue2:
  7812. description: 配置单次最大转入限制(转入)
  7813. type: number
  7814. timeminvalue:
  7815. description: 配置单次最小数量限制
  7816. type: number
  7817. timeminvalue2:
  7818. description: 配置单次最小数量限制(转入)
  7819. type: number
  7820. tradedate:
  7821. description: 交易日(yyyyMMdd)
  7822. type: string
  7823. userid:
  7824. description: 用户ID
  7825. type: integer
  7826. required:
  7827. - logid
  7828. type: object
  7829. szdz.QueryGoodsPickupRsp:
  7830. properties:
  7831. accountid:
  7832. description: 账户ID
  7833. type: integer
  7834. address:
  7835. description: 提货人详细地址
  7836. type: string
  7837. auditer:
  7838. description: 审核人
  7839. type: integer
  7840. audittime:
  7841. description: 审核时间
  7842. type: string
  7843. cardnum:
  7844. description: 提货人证件号码
  7845. type: string
  7846. cardtypeid:
  7847. description: 提货人证件类型
  7848. type: integer
  7849. checkremark:
  7850. description: 审核备注
  7851. type: string
  7852. goodscode:
  7853. description: 商品代码
  7854. type: string
  7855. goodsid:
  7856. description: 商品ID
  7857. type: integer
  7858. goodsname:
  7859. description: 商品名称
  7860. type: string
  7861. handlestatus:
  7862. description: 处理状态
  7863. type: integer
  7864. marketid:
  7865. description: 市场ID
  7866. type: integer
  7867. phonenum:
  7868. description: 提货人联系方式
  7869. type: string
  7870. qty:
  7871. description: 提货数量
  7872. type: number
  7873. recivername:
  7874. description: 提货人姓名
  7875. type: string
  7876. reqtime:
  7877. description: 更新时间
  7878. type: string
  7879. takemode:
  7880. description: 提货方式 - 2:自提 3:配送
  7881. type: integer
  7882. takeorderid:
  7883. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7884. type: string
  7885. takeorderstatus:
  7886. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7887. type: integer
  7888. takeremark:
  7889. description: 提货备注
  7890. type: string
  7891. tradedate:
  7892. description: 交易日(yyyyMMdd)
  7893. type: string
  7894. userid:
  7895. description: 用户ID
  7896. type: integer
  7897. required:
  7898. - takeorderid
  7899. type: object
  7900. szdz.QueryRecieptOrderRsp:
  7901. properties:
  7902. accountName:
  7903. description: 所属账号名称(已脱敏)
  7904. type: string
  7905. accountid:
  7906. description: 资金账号
  7907. type: integer
  7908. buyorsell:
  7909. description: 方向 - 0:买 1:卖
  7910. type: integer
  7911. enableqty:
  7912. description: 可摘数量
  7913. type: integer
  7914. goodscode:
  7915. description: 商品代码
  7916. type: string
  7917. goodsid:
  7918. description: 商品ID
  7919. type: integer
  7920. goodsname:
  7921. description: 商品名称
  7922. type: string
  7923. orderid:
  7924. description: 委托单号
  7925. type: string
  7926. orderprice:
  7927. description: 委托价格
  7928. type: number
  7929. ordertime:
  7930. description: 委托时间
  7931. type: string
  7932. tradedate:
  7933. description: 交易日(yyyyMMdd)
  7934. type: string
  7935. required:
  7936. - ordertime
  7937. type: object
  7938. szdz.QuerySZDZTradePositionRsp:
  7939. properties:
  7940. accountid:
  7941. description: 账号Id
  7942. type: integer
  7943. agreeunit:
  7944. description: 合约单位
  7945. type: number
  7946. averageprice:
  7947. description: 持仓均价
  7948. type: number
  7949. buyorsell:
  7950. description: 方向 - 0:买 1:卖
  7951. type: integer
  7952. closetotalqty:
  7953. description: 平仓总数量
  7954. type: integer
  7955. curholderamount:
  7956. description: 当前持仓总金额
  7957. type: number
  7958. curpositionqty:
  7959. description: 当前持仓总数量
  7960. type: integer
  7961. currencyid:
  7962. description: 报价货币ID
  7963. type: integer
  7964. curtdposition:
  7965. description: 期末今日头寸
  7966. type: integer
  7967. decimalplace:
  7968. description: 报价小数位
  7969. type: integer
  7970. enableqty:
  7971. description: 可用量
  7972. type: integer
  7973. fretdposition:
  7974. description: 冻结今日头寸
  7975. type: integer
  7976. frozenqty:
  7977. description: 持仓冻结数量
  7978. type: integer
  7979. goodscode:
  7980. description: 商品代码(内部)
  7981. type: string
  7982. goodsid:
  7983. description: 商品Id
  7984. type: integer
  7985. goodsname:
  7986. description: 商品名称
  7987. type: string
  7988. goodunit:
  7989. description: 报价单位
  7990. type: string
  7991. goodunitid:
  7992. description: 报价单位ID
  7993. type: integer
  7994. holderamount:
  7995. description: 期初持仓总金额
  7996. type: number
  7997. marketid:
  7998. description: 市场ID
  7999. type: integer
  8000. openreqqty:
  8001. description: 开仓申请数量
  8002. type: integer
  8003. opentotalqty:
  8004. description: 开仓总数量
  8005. type: integer
  8006. otherfrozenqty:
  8007. description: 持仓其他冻结数量(交割冻结)
  8008. type: integer
  8009. positionqty:
  8010. description: 期初持仓数量
  8011. type: integer
  8012. szdz3freezqty:
  8013. description: 尚志大宗转换冻结总数量
  8014. type: integer
  8015. tnqty:
  8016. description: T+N冻结总量
  8017. type: integer
  8018. tnusedqty:
  8019. description: T+N使用量
  8020. type: integer
  8021. trademode:
  8022. description: 交易模式
  8023. type: integer
  8024. usedmargin:
  8025. description: 占用保证金
  8026. type: number
  8027. type: object
  8028. taaccount.QueryAmountLogRsp:
  8029. properties:
  8030. OPERATETYPENAME:
  8031. description: 资金操作类型名称
  8032. type: string
  8033. accountid:
  8034. description: 资金账户ID
  8035. type: integer
  8036. agoodscode:
  8037. description: 竞拍商品代码
  8038. type: string
  8039. agoodsname:
  8040. description: 竞拍商品名称
  8041. type: string
  8042. amount:
  8043. description: 资金金额
  8044. type: number
  8045. amountadjusttype:
  8046. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  8047. type: integer
  8048. autoid:
  8049. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  8050. type: integer
  8051. balance:
  8052. description: 期初余额
  8053. type: number
  8054. businesscode:
  8055. description: 业务编号
  8056. type: integer
  8057. createtime:
  8058. description: 发生时间
  8059. type: string
  8060. currencyid:
  8061. description: 币种ID
  8062. type: integer
  8063. currentbalance:
  8064. description: 期末余额(变动后金额)
  8065. type: number
  8066. dgoodscode:
  8067. description: 交割商品代码
  8068. type: string
  8069. dgoodsname:
  8070. description: 交割商品名称
  8071. type: string
  8072. goodscode:
  8073. description: 商品代码
  8074. type: string
  8075. goodsid:
  8076. description: 商品ID
  8077. type: integer
  8078. goodsname:
  8079. description: 商品名称
  8080. type: string
  8081. marketid:
  8082. description: 市场ID
  8083. type: integer
  8084. marketname:
  8085. description: 市场名称
  8086. type: string
  8087. moneyticket:
  8088. description: 资金流水号:银行端流水号
  8089. type: integer
  8090. operatetype:
  8091. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  8092. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  8093. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  8094. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  8095. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  8096. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  8097. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  8098. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  8099. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  8100. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  8101. type: integer
  8102. relationorderid:
  8103. description: 关联单号
  8104. type: string
  8105. remark:
  8106. description: 备注
  8107. type: string
  8108. trademode:
  8109. description: 交易模式
  8110. type: integer
  8111. required:
  8112. - accountid
  8113. - amount
  8114. - amountadjusttype
  8115. - autoid
  8116. - balance
  8117. - createtime
  8118. - currentbalance
  8119. - operatetype
  8120. type: object
  8121. taaccount.QueryHisAmountLogRsp:
  8122. properties:
  8123. OPERATETYPENAME:
  8124. description: 资金操作类型名称
  8125. type: string
  8126. accountid:
  8127. description: 资金账户ID
  8128. type: integer
  8129. agoodscode:
  8130. description: 竞拍商品代码
  8131. type: string
  8132. agoodsname:
  8133. description: 竞拍商品名称
  8134. type: string
  8135. amount:
  8136. description: 资金金额
  8137. type: number
  8138. amountadjusttype:
  8139. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  8140. type: integer
  8141. autoid:
  8142. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  8143. type: integer
  8144. balance:
  8145. description: 期初余额
  8146. type: number
  8147. businesscode:
  8148. description: 业务编号
  8149. type: integer
  8150. createtime:
  8151. description: 发生时间
  8152. type: string
  8153. currencyid:
  8154. description: 币种ID
  8155. type: integer
  8156. currentbalance:
  8157. description: 期末余额(变动后金额)
  8158. type: number
  8159. dgoodscode:
  8160. description: 交割商品代码
  8161. type: string
  8162. dgoodsname:
  8163. description: 交割商品名称
  8164. type: string
  8165. goodscode:
  8166. description: 商品代码
  8167. type: string
  8168. goodsid:
  8169. description: 商品ID
  8170. type: integer
  8171. goodsname:
  8172. description: 商品名称
  8173. type: string
  8174. histradedate:
  8175. description: 历史交易日
  8176. type: string
  8177. isvaliddata:
  8178. description: 是否有效 - 0:无效 1:有效
  8179. type: integer
  8180. marketid:
  8181. description: 市场ID
  8182. type: integer
  8183. marketname:
  8184. description: 市场名称
  8185. type: string
  8186. moneyticket:
  8187. description: 资金流水号:银行端流水号
  8188. type: integer
  8189. operatetype:
  8190. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  8191. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  8192. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  8193. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  8194. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  8195. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  8196. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  8197. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  8198. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  8199. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  8200. type: integer
  8201. relationorderid:
  8202. description: 关联单号
  8203. type: string
  8204. remark:
  8205. description: 备注
  8206. type: string
  8207. trademode:
  8208. description: 交易模式
  8209. type: integer
  8210. required:
  8211. - accountid
  8212. - amount
  8213. - amountadjusttype
  8214. - autoid
  8215. - balance
  8216. - createtime
  8217. - currentbalance
  8218. - histradedate
  8219. - operatetype
  8220. type: object
  8221. trade.QueryRecieptOrderRsp:
  8222. properties:
  8223. accountName:
  8224. description: 所属账号名称(已脱敏)
  8225. type: string
  8226. accountid:
  8227. description: 资金账号
  8228. type: integer
  8229. buyorsell:
  8230. description: 方向 - 0:买 1:卖
  8231. type: integer
  8232. enableqty:
  8233. description: 可摘数量
  8234. type: integer
  8235. goodscode:
  8236. description: 商品代码
  8237. type: string
  8238. goodsid:
  8239. description: 商品ID
  8240. type: integer
  8241. goodsname:
  8242. description: 商品名称
  8243. type: string
  8244. orderid:
  8245. description: 委托单号
  8246. type: string
  8247. orderprice:
  8248. description: 委托价格
  8249. type: number
  8250. ordertime:
  8251. description: 委托时间
  8252. type: string
  8253. tradedate:
  8254. description: 交易日(yyyyMMdd)
  8255. type: string
  8256. required:
  8257. - ordertime
  8258. type: object
  8259. info:
  8260. contact: {}
  8261. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  8262. termsOfService: http://muchinfo.cn
  8263. title: MTP2.0 查询服务 API
  8264. version: "1.0"
  8265. paths:
  8266. /CPTrade/QueryCPTradeMyBidInfos:
  8267. get:
  8268. parameters:
  8269. - description: 资金账户
  8270. in: query
  8271. name: accountid
  8272. required: true
  8273. type: integer
  8274. - description: 预售市场ID
  8275. in: query
  8276. name: marketid
  8277. type: integer
  8278. - description: 预售商品ID
  8279. in: query
  8280. name: goodsid
  8281. type: integer
  8282. produces:
  8283. - application/json
  8284. responses:
  8285. "200":
  8286. description: OK
  8287. schema:
  8288. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  8289. "500":
  8290. description: Internal Server Error
  8291. schema:
  8292. $ref: '#/definitions/app.Response'
  8293. security:
  8294. - ApiKeyAuth: []
  8295. summary: 查询产能预售我的出价信息
  8296. tags:
  8297. - 产能预售
  8298. /CPTrade/QueryCPTradeOrderDetail:
  8299. get:
  8300. parameters:
  8301. - description: 预售商品ID
  8302. in: query
  8303. name: goodsid
  8304. type: integer
  8305. - description: 预售市场ID
  8306. in: query
  8307. name: marketid
  8308. type: integer
  8309. - description: 预售商品ID列表 - 格式:1,2,3
  8310. in: query
  8311. name: goodsids
  8312. type: string
  8313. produces:
  8314. - application/json
  8315. responses:
  8316. "200":
  8317. description: OK
  8318. schema:
  8319. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  8320. "500":
  8321. description: Internal Server Error
  8322. schema:
  8323. $ref: '#/definitions/app.Response'
  8324. security:
  8325. - ApiKeyAuth: []
  8326. summary: 查询产能预售委托单信息
  8327. tags:
  8328. - 产能预售
  8329. /CPTrade/QueryMyCPTradeGoods:
  8330. get:
  8331. parameters:
  8332. - description: 资金账户
  8333. in: query
  8334. name: accountid
  8335. required: true
  8336. type: integer
  8337. produces:
  8338. - application/json
  8339. responses:
  8340. "200":
  8341. description: OK
  8342. schema:
  8343. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  8344. "500":
  8345. description: Internal Server Error
  8346. schema:
  8347. $ref: '#/definitions/app.Response'
  8348. security:
  8349. - ApiKeyAuth: []
  8350. summary: 查询我的预售信息
  8351. tags:
  8352. - 产能预售
  8353. /CPTrade/QueryPositionCancel:
  8354. get:
  8355. parameters:
  8356. - description: 账户ID
  8357. in: query
  8358. name: userid
  8359. required: true
  8360. type: integer
  8361. - description: 注销ID
  8362. in: query
  8363. name: cancelid
  8364. type: integer
  8365. - description: 资金账户ID
  8366. in: query
  8367. name: accountid
  8368. type: integer
  8369. produces:
  8370. - application/json
  8371. responses:
  8372. "200":
  8373. description: OK
  8374. schema:
  8375. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  8376. "500":
  8377. description: Internal Server Error
  8378. schema:
  8379. $ref: '#/definitions/app.Response'
  8380. security:
  8381. - ApiKeyAuth: []
  8382. summary: 查询远期订单注销申请信息
  8383. tags:
  8384. - 产能预售
  8385. /CPTrade/QueryPreasleApply:
  8386. get:
  8387. parameters:
  8388. - description: 账户ID
  8389. in: query
  8390. name: userid
  8391. required: true
  8392. type: integer
  8393. - description: 申请ID
  8394. in: query
  8395. name: applyid
  8396. type: integer
  8397. - description: 资金账户ID
  8398. in: query
  8399. name: accountid
  8400. type: integer
  8401. produces:
  8402. - application/json
  8403. responses:
  8404. "200":
  8405. description: OK
  8406. schema:
  8407. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  8408. "500":
  8409. description: Internal Server Error
  8410. schema:
  8411. $ref: '#/definitions/app.Response'
  8412. security:
  8413. - ApiKeyAuth: []
  8414. summary: 查询产能预售申请信息
  8415. tags:
  8416. - 产能预售
  8417. /CPTrade/QueryPresaleGoodsEx:
  8418. get:
  8419. parameters:
  8420. - description: 预售商品ID
  8421. in: query
  8422. name: goodsid
  8423. type: integer
  8424. - description: 预售市场ID
  8425. in: query
  8426. name: marketid
  8427. type: integer
  8428. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  8429. in: query
  8430. name: presalemode
  8431. type: integer
  8432. - description: 预售商品ID列表 - 格式:1,2,3
  8433. in: query
  8434. name: goodsids
  8435. type: string
  8436. - description: 预售商品代码
  8437. in: query
  8438. name: goodscode
  8439. type: string
  8440. produces:
  8441. - application/json
  8442. responses:
  8443. "200":
  8444. description: OK
  8445. schema:
  8446. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  8447. "500":
  8448. description: Internal Server Error
  8449. schema:
  8450. $ref: '#/definitions/app.Response'
  8451. security:
  8452. - ApiKeyAuth: []
  8453. summary: 查询产能预售商品扩展信息
  8454. tags:
  8455. - 产能预售
  8456. /CPTrade/QueryUserGoodsData:
  8457. get:
  8458. parameters:
  8459. - description: 资金账户ID
  8460. in: query
  8461. name: accountid
  8462. required: true
  8463. type: integer
  8464. produces:
  8465. - application/json
  8466. responses:
  8467. "200":
  8468. description: OK
  8469. schema:
  8470. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  8471. "500":
  8472. description: Internal Server Error
  8473. schema:
  8474. $ref: '#/definitions/app.Response'
  8475. security:
  8476. - ApiKeyAuth: []
  8477. summary: 查询远期订单信息
  8478. tags:
  8479. - 产能预售
  8480. /Common/GetAllEnums:
  8481. get:
  8482. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  8483. parameters:
  8484. - description: 起始自增ID
  8485. in: query
  8486. name: autoid
  8487. type: integer
  8488. produces:
  8489. - application/json
  8490. responses:
  8491. "200":
  8492. description: OK
  8493. schema:
  8494. $ref: '#/definitions/models.Enumdicitem'
  8495. "500":
  8496. description: Internal Server Error
  8497. schema:
  8498. $ref: '#/definitions/app.Response'
  8499. summary: 获取所有枚举信息
  8500. tags:
  8501. - 通用服务
  8502. /Common/GetDivisions:
  8503. get:
  8504. produces:
  8505. - application/json
  8506. responses:
  8507. "200":
  8508. description: OK
  8509. schema:
  8510. $ref: '#/definitions/models.Division'
  8511. "500":
  8512. description: Internal Server Error
  8513. schema:
  8514. $ref: '#/definitions/app.Response'
  8515. summary: 查询区域信息
  8516. tags:
  8517. - 通用服务
  8518. /Common/GetServerTime:
  8519. get:
  8520. produces:
  8521. - application/json
  8522. responses:
  8523. "200":
  8524. description: OK
  8525. schema:
  8526. $ref: '#/definitions/app.Response'
  8527. "500":
  8528. description: Internal Server Error
  8529. schema:
  8530. $ref: '#/definitions/app.Response'
  8531. summary: 获取服务器时间
  8532. tags:
  8533. - 通用服务
  8534. /Common/NoticeReaded:
  8535. post:
  8536. parameters:
  8537. - description: 登录账号
  8538. in: query
  8539. name: loginID
  8540. required: true
  8541. type: integer
  8542. - description: 通知公告ID
  8543. in: query
  8544. name: noticeID
  8545. required: true
  8546. type: integer
  8547. produces:
  8548. - application/json
  8549. responses:
  8550. "200":
  8551. description: OK
  8552. schema:
  8553. $ref: '#/definitions/app.Response'
  8554. "500":
  8555. description: Internal Server Error
  8556. schema:
  8557. $ref: '#/definitions/app.Response'
  8558. security:
  8559. - ApiKeyAuth: []
  8560. summary: 通知公告设置已读请求
  8561. tags:
  8562. - 通用服务
  8563. /Common/QueryErrorInfos:
  8564. get:
  8565. description: 如果传入rowNumber,则返回此rowNumber后的数据
  8566. parameters:
  8567. - description: 起始行号前索引
  8568. in: query
  8569. name: rowNumber
  8570. type: string
  8571. produces:
  8572. - application/json
  8573. responses:
  8574. "200":
  8575. description: OK
  8576. schema:
  8577. $ref: '#/definitions/models.QueryErrorInfosRsp'
  8578. "500":
  8579. description: Internal Server Error
  8580. schema:
  8581. $ref: '#/definitions/app.Response'
  8582. summary: 获取数据库错误信息
  8583. tags:
  8584. - 通用服务
  8585. /Common/QueryImageConfigs:
  8586. get:
  8587. parameters:
  8588. - description: 类型 - 1:App首页轮播 2:我的
  8589. in: query
  8590. name: imageType
  8591. type: integer
  8592. produces:
  8593. - application/json
  8594. responses:
  8595. "200":
  8596. description: OK
  8597. schema:
  8598. $ref: '#/definitions/models.Szdz2imageconfig'
  8599. "500":
  8600. description: Internal Server Error
  8601. schema:
  8602. $ref: '#/definitions/app.Response'
  8603. summary: 查询轮播图配置信息
  8604. tags:
  8605. - 通用服务
  8606. /Common/QueryNotice:
  8607. get:
  8608. parameters:
  8609. - description: 页码
  8610. in: query
  8611. name: page
  8612. type: integer
  8613. - description: 每页条数
  8614. in: query
  8615. name: pagesize
  8616. type: integer
  8617. - description: 登录账号
  8618. in: query
  8619. name: loginID
  8620. required: true
  8621. type: integer
  8622. - description: 消息类型 - 1:公告通知 2:系统消息
  8623. in: query
  8624. name: msgType
  8625. type: integer
  8626. - description: 是否只获取未读信息
  8627. in: query
  8628. name: onlyUnRead
  8629. type: boolean
  8630. produces:
  8631. - application/json
  8632. responses:
  8633. "200":
  8634. description: OK
  8635. schema:
  8636. $ref: '#/definitions/common.QueryNoticeRsp'
  8637. "500":
  8638. description: Internal Server Error
  8639. schema:
  8640. $ref: '#/definitions/app.Response'
  8641. security:
  8642. - ApiKeyAuth: []
  8643. summary: 通知公告系统消息查询
  8644. tags:
  8645. - 通用服务
  8646. /Common/QueryProvincesAndCities:
  8647. get:
  8648. parameters:
  8649. - description: 省ID
  8650. in: query
  8651. name: provinceID
  8652. type: integer
  8653. produces:
  8654. - application/json
  8655. responses:
  8656. "200":
  8657. description: OK
  8658. schema:
  8659. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  8660. "500":
  8661. description: Internal Server Error
  8662. schema:
  8663. $ref: '#/definitions/app.Response'
  8664. summary: 查询省市信息(不包括区)
  8665. tags:
  8666. - 通用服务
  8667. /Common/QueryTableDefine:
  8668. get:
  8669. parameters:
  8670. - description: 表key
  8671. in: query
  8672. name: tableKey
  8673. type: string
  8674. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  8675. in: query
  8676. name: tableType
  8677. type: integer
  8678. produces:
  8679. - application/json
  8680. responses:
  8681. "200":
  8682. description: OK
  8683. schema:
  8684. $ref: '#/definitions/common.QueryTableDefineRsp'
  8685. "500":
  8686. description: Internal Server Error
  8687. schema:
  8688. $ref: '#/definitions/app.Response'
  8689. summary: 查询交易端列表头信息
  8690. tags:
  8691. - 通用服务
  8692. /Common/QueryTraderMenu:
  8693. get:
  8694. parameters:
  8695. - description: 登录账号
  8696. in: query
  8697. name: loginid
  8698. required: true
  8699. type: integer
  8700. produces:
  8701. - application/json
  8702. responses:
  8703. "200":
  8704. description: OK
  8705. schema:
  8706. $ref: '#/definitions/common.QueryTraderMenuRsp'
  8707. "500":
  8708. description: Internal Server Error
  8709. schema:
  8710. $ref: '#/definitions/app.Response'
  8711. summary: 查询交易端菜单
  8712. tags:
  8713. - 通用服务
  8714. /Delivery/QueryDeliveryRelation:
  8715. get:
  8716. parameters:
  8717. - description: 商品ID
  8718. in: query
  8719. name: goodsid
  8720. type: integer
  8721. - description: 品种ID
  8722. in: query
  8723. name: deliverygoodsid
  8724. type: integer
  8725. - description: 市场ID
  8726. in: query
  8727. name: marketid
  8728. type: integer
  8729. produces:
  8730. - application/json
  8731. responses:
  8732. "200":
  8733. description: OK
  8734. schema:
  8735. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  8736. "500":
  8737. description: Internal Server Error
  8738. schema:
  8739. $ref: '#/definitions/app.Response'
  8740. security:
  8741. - ApiKeyAuth: []
  8742. summary: 查询商品交割关系表
  8743. tags:
  8744. - 交割服务
  8745. /Ermcp/GetErmcpGoods:
  8746. get:
  8747. parameters:
  8748. - description: 已存末尾商品编号
  8749. in: query
  8750. name: lastID
  8751. type: integer
  8752. produces:
  8753. - application/json
  8754. responses:
  8755. "200":
  8756. description: OK
  8757. schema:
  8758. $ref: '#/definitions/models.Goods'
  8759. "500":
  8760. description: Internal Server Error
  8761. schema:
  8762. $ref: '#/definitions/app.Response'
  8763. security:
  8764. - ApiKeyAuth: []
  8765. summary: 查询企业风管期货商品信息
  8766. tags:
  8767. - 企业风险管理(app)
  8768. /Ermcp/QryReportDayExposure:
  8769. get:
  8770. parameters:
  8771. - description: 用户ID
  8772. in: query
  8773. name: userid
  8774. required: true
  8775. type: integer
  8776. - description: 交易日(格式:yyyyMMdd)
  8777. in: query
  8778. name: tradedate
  8779. required: true
  8780. type: string
  8781. produces:
  8782. - application/json
  8783. responses:
  8784. "200":
  8785. description: OK
  8786. schema:
  8787. items:
  8788. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  8789. type: array
  8790. "500":
  8791. description: Internal Server Error
  8792. schema:
  8793. $ref: '#/definitions/app.Response'
  8794. security:
  8795. - ApiKeyAuth: []
  8796. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  8797. tags:
  8798. - 企业风险管理(app)
  8799. /Ermcp/QryReportDayFinance:
  8800. get:
  8801. parameters:
  8802. - description: 用户ID
  8803. in: query
  8804. name: userid
  8805. required: true
  8806. type: integer
  8807. - description: 交易日(格式:yyyyMMdd)
  8808. in: query
  8809. name: tradedate
  8810. required: true
  8811. type: string
  8812. produces:
  8813. - application/json
  8814. responses:
  8815. "200":
  8816. description: OK
  8817. schema:
  8818. items:
  8819. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  8820. type: array
  8821. "500":
  8822. description: Internal Server Error
  8823. schema:
  8824. $ref: '#/definitions/app.Response'
  8825. security:
  8826. - ApiKeyAuth: []
  8827. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  8828. tags:
  8829. - 企业风险管理(app)
  8830. /Ermcp/QryReportDayFinanceFp:
  8831. get:
  8832. parameters:
  8833. - description: 用户ID
  8834. in: query
  8835. name: userid
  8836. required: true
  8837. type: integer
  8838. - description: 交易日(格式:yyyyMMdd)
  8839. in: query
  8840. name: tradedate
  8841. required: true
  8842. type: string
  8843. produces:
  8844. - application/json
  8845. responses:
  8846. "200":
  8847. description: OK
  8848. schema:
  8849. items:
  8850. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  8851. type: array
  8852. "500":
  8853. description: Internal Server Error
  8854. schema:
  8855. $ref: '#/definitions/app.Response'
  8856. security:
  8857. - ApiKeyAuth: []
  8858. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  8859. tags:
  8860. - 企业风险管理(app)
  8861. /Ermcp/QryReportDayFinanceKx:
  8862. get:
  8863. parameters:
  8864. - description: 用户ID
  8865. in: query
  8866. name: userid
  8867. required: true
  8868. type: integer
  8869. - description: 交易日(格式:yyyyMMdd)
  8870. in: query
  8871. name: tradedate
  8872. required: true
  8873. type: string
  8874. produces:
  8875. - application/json
  8876. responses:
  8877. "200":
  8878. description: OK
  8879. schema:
  8880. items:
  8881. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  8882. type: array
  8883. "500":
  8884. description: Internal Server Error
  8885. schema:
  8886. $ref: '#/definitions/app.Response'
  8887. security:
  8888. - ApiKeyAuth: []
  8889. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  8890. tags:
  8891. - 企业风险管理(app)
  8892. /Ermcp/QryReportDaySpot:
  8893. get:
  8894. parameters:
  8895. - description: 用户ID
  8896. in: query
  8897. name: userid
  8898. required: true
  8899. type: integer
  8900. - description: 交易日(格式:yyyyMMdd)
  8901. in: query
  8902. name: tradedate
  8903. required: true
  8904. type: string
  8905. produces:
  8906. - application/json
  8907. responses:
  8908. "200":
  8909. description: OK
  8910. schema:
  8911. items:
  8912. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  8913. type: array
  8914. "500":
  8915. description: Internal Server Error
  8916. schema:
  8917. $ref: '#/definitions/app.Response'
  8918. security:
  8919. - ApiKeyAuth: []
  8920. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  8921. tags:
  8922. - 企业风险管理(app)
  8923. /Ermcp/QryReportDaySpotDetail:
  8924. get:
  8925. parameters:
  8926. - description: 用户ID
  8927. in: query
  8928. name: userid
  8929. required: true
  8930. type: integer
  8931. - description: 现货商品id
  8932. in: query
  8933. name: wrstandardid
  8934. required: true
  8935. type: integer
  8936. - description: 交易日(格式:yyyyMMdd)
  8937. in: query
  8938. name: tradedate
  8939. required: true
  8940. type: string
  8941. produces:
  8942. - application/json
  8943. responses:
  8944. "200":
  8945. description: OK
  8946. schema:
  8947. items:
  8948. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  8949. type: array
  8950. "500":
  8951. description: Internal Server Error
  8952. schema:
  8953. $ref: '#/definitions/app.Response'
  8954. security:
  8955. - ApiKeyAuth: []
  8956. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  8957. tags:
  8958. - 企业风险管理(app)
  8959. /Ermcp/QryReportMonthFinance:
  8960. get:
  8961. parameters:
  8962. - description: 用户ID
  8963. in: query
  8964. name: userid
  8965. required: true
  8966. type: integer
  8967. - description: 周期时间:月(格式:yyyyMM)
  8968. in: query
  8969. name: cycletime
  8970. required: true
  8971. type: string
  8972. produces:
  8973. - application/json
  8974. responses:
  8975. "200":
  8976. description: OK
  8977. schema:
  8978. items:
  8979. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  8980. type: array
  8981. "500":
  8982. description: Internal Server Error
  8983. schema:
  8984. $ref: '#/definitions/app.Response'
  8985. security:
  8986. - ApiKeyAuth: []
  8987. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  8988. tags:
  8989. - 企业风险管理(app)
  8990. /Ermcp/QryReportMonthSpot:
  8991. get:
  8992. parameters:
  8993. - description: 用户ID
  8994. in: query
  8995. name: userid
  8996. required: true
  8997. type: integer
  8998. - description: 周期时间:月(格式:yyyyMM)
  8999. in: query
  9000. name: cycletime
  9001. required: true
  9002. type: string
  9003. produces:
  9004. - application/json
  9005. responses:
  9006. "200":
  9007. description: OK
  9008. schema:
  9009. items:
  9010. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  9011. type: array
  9012. "500":
  9013. description: Internal Server Error
  9014. schema:
  9015. $ref: '#/definitions/app.Response'
  9016. security:
  9017. - ApiKeyAuth: []
  9018. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  9019. tags:
  9020. - 企业风险管理(app)
  9021. /Ermcp/QryReportMonthSpotDetail:
  9022. get:
  9023. parameters:
  9024. - description: 用户ID
  9025. in: query
  9026. name: userid
  9027. required: true
  9028. type: integer
  9029. - description: 现货商品id
  9030. in: query
  9031. name: wrstandardid
  9032. required: true
  9033. type: integer
  9034. - description: 周期时间:月(格式:yyyyMM)
  9035. in: query
  9036. name: cycletime
  9037. required: true
  9038. type: string
  9039. produces:
  9040. - application/json
  9041. responses:
  9042. "200":
  9043. description: OK
  9044. schema:
  9045. items:
  9046. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  9047. type: array
  9048. "500":
  9049. description: Internal Server Error
  9050. schema:
  9051. $ref: '#/definitions/app.Response'
  9052. security:
  9053. - ApiKeyAuth: []
  9054. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  9055. tags:
  9056. - 企业风险管理(app)
  9057. /Ermcp/QueryAvaildGoodsGroup:
  9058. get:
  9059. parameters:
  9060. - description: 所属机构ID
  9061. in: query
  9062. name: userid
  9063. required: true
  9064. type: integer
  9065. produces:
  9066. - application/json
  9067. responses:
  9068. "200":
  9069. description: OK
  9070. schema:
  9071. items:
  9072. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  9073. type: array
  9074. "500":
  9075. description: Internal Server Error
  9076. schema:
  9077. $ref: '#/definitions/app.Response'
  9078. security:
  9079. - ApiKeyAuth: []
  9080. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  9081. tags:
  9082. - 企业风险管理(app)
  9083. /Ermcp/QueryBusinessDj:
  9084. get:
  9085. parameters:
  9086. - description: 用户ID
  9087. in: query
  9088. name: UserId
  9089. required: true
  9090. type: integer
  9091. - description: 现货合同ID, 不填则查所有
  9092. in: query
  9093. name: relatedid
  9094. type: string
  9095. produces:
  9096. - application/json
  9097. responses:
  9098. "200":
  9099. description: OK
  9100. schema:
  9101. items:
  9102. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  9103. type: array
  9104. "500":
  9105. description: Internal Server Error
  9106. schema:
  9107. $ref: '#/definitions/app.Response'
  9108. security:
  9109. - ApiKeyAuth: []
  9110. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  9111. tags:
  9112. - 企业风险管理(app)
  9113. /Ermcp/QueryBusinessFp:
  9114. get:
  9115. parameters:
  9116. - description: 用户ID
  9117. in: query
  9118. name: UserId
  9119. required: true
  9120. type: integer
  9121. - description: 现货合同ID, 不填则查所有
  9122. in: query
  9123. name: relatedid
  9124. type: string
  9125. produces:
  9126. - application/json
  9127. responses:
  9128. "200":
  9129. description: OK
  9130. schema:
  9131. items:
  9132. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  9133. type: array
  9134. "500":
  9135. description: Internal Server Error
  9136. schema:
  9137. $ref: '#/definitions/app.Response'
  9138. security:
  9139. - ApiKeyAuth: []
  9140. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  9141. tags:
  9142. - 企业风险管理(app)
  9143. /Ermcp/QueryBusinessJs:
  9144. get:
  9145. parameters:
  9146. - description: 用户ID
  9147. in: query
  9148. name: UserId
  9149. required: true
  9150. type: integer
  9151. - description: 现货合同ID, 不填则查所有
  9152. in: query
  9153. name: relatedid
  9154. type: string
  9155. produces:
  9156. - application/json
  9157. responses:
  9158. "200":
  9159. description: OK
  9160. schema:
  9161. items:
  9162. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  9163. type: array
  9164. "500":
  9165. description: Internal Server Error
  9166. schema:
  9167. $ref: '#/definitions/app.Response'
  9168. security:
  9169. - ApiKeyAuth: []
  9170. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  9171. tags:
  9172. - 企业风险管理(app)
  9173. /Ermcp/QueryBusinessJsEx:
  9174. get:
  9175. parameters:
  9176. - description: 用户ID
  9177. in: query
  9178. name: UserId
  9179. required: true
  9180. type: integer
  9181. - description: 现货合同ID, 不填则查所有
  9182. in: query
  9183. name: relatedid
  9184. type: string
  9185. produces:
  9186. - application/json
  9187. responses:
  9188. "200":
  9189. description: OK
  9190. schema:
  9191. items:
  9192. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  9193. type: array
  9194. "500":
  9195. description: Internal Server Error
  9196. schema:
  9197. $ref: '#/definitions/app.Response'
  9198. security:
  9199. - ApiKeyAuth: []
  9200. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  9201. tags:
  9202. - 企业风险管理(app)
  9203. /Ermcp/QueryBusinessKx:
  9204. get:
  9205. parameters:
  9206. - description: 用户ID
  9207. in: query
  9208. name: UserId
  9209. required: true
  9210. type: integer
  9211. - description: 现货合同ID, 不填则查所有
  9212. in: query
  9213. name: relatedid
  9214. type: string
  9215. produces:
  9216. - application/json
  9217. responses:
  9218. "200":
  9219. description: OK
  9220. schema:
  9221. items:
  9222. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  9223. type: array
  9224. "500":
  9225. description: Internal Server Error
  9226. schema:
  9227. $ref: '#/definitions/app.Response'
  9228. security:
  9229. - ApiKeyAuth: []
  9230. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  9231. tags:
  9232. - 企业风险管理(app)
  9233. /Ermcp/QueryChangeLog:
  9234. get:
  9235. parameters:
  9236. - description: 用户ID
  9237. in: query
  9238. name: RelatedId
  9239. required: true
  9240. type: string
  9241. produces:
  9242. - application/json
  9243. responses:
  9244. "200":
  9245. description: OK
  9246. schema:
  9247. items:
  9248. $ref: '#/definitions/ermcp.QryOPLogRsp'
  9249. type: array
  9250. "500":
  9251. description: Internal Server Error
  9252. schema:
  9253. $ref: '#/definitions/app.Response'
  9254. security:
  9255. - ApiKeyAuth: []
  9256. summary: 查询变更记录
  9257. tags:
  9258. - 企业风险管理(app)
  9259. /Ermcp/QueryContract:
  9260. get:
  9261. parameters:
  9262. - description: 用户ID
  9263. in: query
  9264. name: userId
  9265. required: true
  9266. type: integer
  9267. - description: 合同类型 1-采购, -1-销售
  9268. in: query
  9269. name: contracttype
  9270. required: true
  9271. type: integer
  9272. - description: 查询类型 1-全部 2-待点价 3-履约结算
  9273. in: query
  9274. name: querytype
  9275. required: true
  9276. type: integer
  9277. produces:
  9278. - application/json
  9279. responses:
  9280. "200":
  9281. description: OK
  9282. schema:
  9283. items:
  9284. $ref: '#/definitions/ermcp.QryErmcpRsp'
  9285. type: array
  9286. "500":
  9287. description: Internal Server Error
  9288. schema:
  9289. $ref: '#/definitions/app.Response'
  9290. security:
  9291. - ApiKeyAuth: []
  9292. summary: 查询合同(采购和销售)
  9293. tags:
  9294. - 企业风险管理(app)
  9295. /Ermcp/QueryExposureDetail:
  9296. get:
  9297. parameters:
  9298. - description: 所属机构ID
  9299. in: query
  9300. name: areaUserId
  9301. required: true
  9302. type: integer
  9303. - description: 套保商品
  9304. in: query
  9305. name: middleGoodsId
  9306. required: true
  9307. type: integer
  9308. produces:
  9309. - application/json
  9310. responses:
  9311. "200":
  9312. description: OK
  9313. schema:
  9314. items:
  9315. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  9316. type: array
  9317. "500":
  9318. description: Internal Server Error
  9319. schema:
  9320. $ref: '#/definitions/app.Response'
  9321. security:
  9322. - ApiKeyAuth: []
  9323. summary: 查询敞口现货明细
  9324. tags:
  9325. - 企业风险管理(app)
  9326. /Ermcp/QueryExposureHedgePosition:
  9327. get:
  9328. parameters:
  9329. - description: 所属机构ID
  9330. in: query
  9331. name: areaUserId
  9332. required: true
  9333. type: integer
  9334. produces:
  9335. - application/json
  9336. responses:
  9337. "200":
  9338. description: OK
  9339. schema:
  9340. items:
  9341. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  9342. type: array
  9343. "500":
  9344. description: Internal Server Error
  9345. schema:
  9346. $ref: '#/definitions/app.Response'
  9347. security:
  9348. - ApiKeyAuth: []
  9349. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  9350. tags:
  9351. - 企业风险管理(app)
  9352. /Ermcp/QueryExposureHedgePositionDetail:
  9353. get:
  9354. parameters:
  9355. - description: 所属机构ID
  9356. in: query
  9357. name: areaUserId
  9358. required: true
  9359. type: integer
  9360. - description: 商品id
  9361. in: query
  9362. name: goodsId
  9363. required: true
  9364. type: integer
  9365. produces:
  9366. - application/json
  9367. responses:
  9368. "200":
  9369. description: OK
  9370. schema:
  9371. items:
  9372. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  9373. type: array
  9374. "500":
  9375. description: Internal Server Error
  9376. schema:
  9377. $ref: '#/definitions/app.Response'
  9378. security:
  9379. - ApiKeyAuth: []
  9380. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  9381. tags:
  9382. - 企业风险管理(app)
  9383. /Ermcp/QueryExposureSpot:
  9384. get:
  9385. parameters:
  9386. - description: 所属机构ID
  9387. in: query
  9388. name: areaUserId
  9389. required: true
  9390. type: integer
  9391. produces:
  9392. - application/json
  9393. responses:
  9394. "200":
  9395. description: OK
  9396. schema:
  9397. items:
  9398. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  9399. type: array
  9400. "500":
  9401. description: Internal Server Error
  9402. schema:
  9403. $ref: '#/definitions/app.Response'
  9404. security:
  9405. - ApiKeyAuth: []
  9406. summary: 查询敞口现货头寸(敞口/现货头寸)
  9407. tags:
  9408. - 企业风险管理(app)
  9409. /Ermcp/QueryExposureSpotDetail:
  9410. get:
  9411. parameters:
  9412. - description: 所属机构ID
  9413. in: query
  9414. name: areaUserId
  9415. required: true
  9416. type: integer
  9417. - description: 现货品种ID
  9418. in: query
  9419. name: wrstandardId
  9420. required: true
  9421. type: integer
  9422. produces:
  9423. - application/json
  9424. responses:
  9425. "200":
  9426. description: OK
  9427. schema:
  9428. items:
  9429. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  9430. type: array
  9431. "500":
  9432. description: Internal Server Error
  9433. schema:
  9434. $ref: '#/definitions/app.Response'
  9435. security:
  9436. - ApiKeyAuth: []
  9437. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  9438. tags:
  9439. - 企业风险管理(app)
  9440. /Ermcp/QueryGGConvertConfig:
  9441. get:
  9442. parameters:
  9443. - description: 品种id(不填则查所有)
  9444. in: query
  9445. name: goodsgroupid
  9446. type: integer
  9447. produces:
  9448. - application/json
  9449. responses:
  9450. "200":
  9451. description: OK
  9452. schema:
  9453. items:
  9454. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  9455. type: array
  9456. "500":
  9457. description: Internal Server Error
  9458. schema:
  9459. $ref: '#/definitions/app.Response'
  9460. security:
  9461. - ApiKeyAuth: []
  9462. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  9463. tags:
  9464. - 企业风险管理(app)
  9465. /Ermcp/QueryHedgePlan:
  9466. get:
  9467. parameters:
  9468. - description: 用户ID
  9469. in: query
  9470. name: userId
  9471. required: true
  9472. type: integer
  9473. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  9474. in: query
  9475. name: HedgePlanStatus
  9476. required: true
  9477. type: string
  9478. produces:
  9479. - application/json
  9480. responses:
  9481. "200":
  9482. description: OK
  9483. schema:
  9484. items:
  9485. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  9486. type: array
  9487. "500":
  9488. description: Internal Server Error
  9489. schema:
  9490. $ref: '#/definitions/app.Response'
  9491. security:
  9492. - ApiKeyAuth: []
  9493. summary: 查询套保计划
  9494. tags:
  9495. - 企业风险管理(app)
  9496. /Ermcp/QueryHisExposure:
  9497. get:
  9498. parameters:
  9499. - description: 所属机构ID
  9500. in: query
  9501. name: areaUserId
  9502. required: true
  9503. type: integer
  9504. - description: 每个品种记录数
  9505. in: query
  9506. name: lastNum
  9507. required: true
  9508. type: integer
  9509. produces:
  9510. - application/json
  9511. responses:
  9512. "200":
  9513. description: OK
  9514. schema:
  9515. items:
  9516. $ref: '#/definitions/ermcp.HisExposureRsp'
  9517. type: array
  9518. "500":
  9519. description: Internal Server Error
  9520. schema:
  9521. $ref: '#/definitions/app.Response'
  9522. security:
  9523. - ApiKeyAuth: []
  9524. summary: 查询历史敞口(菜单:敞口/历史敞口)
  9525. tags:
  9526. - 企业风险管理(app)
  9527. /Ermcp/QueryMiddleGoods:
  9528. get:
  9529. parameters:
  9530. - description: 所属机构ID
  9531. in: query
  9532. name: userid
  9533. required: true
  9534. type: integer
  9535. - description: 状态 0-停用 1-正常
  9536. in: query
  9537. name: status
  9538. required: true
  9539. type: integer
  9540. produces:
  9541. - application/json
  9542. responses:
  9543. "200":
  9544. description: OK
  9545. schema:
  9546. items:
  9547. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  9548. type: array
  9549. "500":
  9550. description: Internal Server Error
  9551. schema:
  9552. $ref: '#/definitions/app.Response'
  9553. security:
  9554. - ApiKeyAuth: []
  9555. summary: 查询套保品种(菜单:套保品种)
  9556. tags:
  9557. - 企业风险管理(app)
  9558. /Ermcp/QueryMiddleGoodsChangeLog:
  9559. get:
  9560. parameters:
  9561. - description: 所属机构ID
  9562. in: query
  9563. name: userid
  9564. required: true
  9565. type: integer
  9566. - description: 套保品种id
  9567. in: query
  9568. name: middlegoodsid
  9569. required: true
  9570. type: integer
  9571. produces:
  9572. - application/json
  9573. responses:
  9574. "200":
  9575. description: OK
  9576. schema:
  9577. items:
  9578. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  9579. type: array
  9580. "500":
  9581. description: Internal Server Error
  9582. schema:
  9583. $ref: '#/definitions/app.Response'
  9584. security:
  9585. - ApiKeyAuth: []
  9586. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  9587. tags:
  9588. - 企业风险管理(app)
  9589. /Ermcp/QueryMiddleGoodsDetail:
  9590. get:
  9591. parameters:
  9592. - description: 所属机构ID
  9593. in: query
  9594. name: userid
  9595. required: true
  9596. type: integer
  9597. - description: 套保品种id
  9598. in: query
  9599. name: middlegoodsid
  9600. required: true
  9601. type: integer
  9602. produces:
  9603. - application/json
  9604. responses:
  9605. "200":
  9606. description: OK
  9607. schema:
  9608. items:
  9609. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  9610. type: array
  9611. "500":
  9612. description: Internal Server Error
  9613. schema:
  9614. $ref: '#/definitions/app.Response'
  9615. security:
  9616. - ApiKeyAuth: []
  9617. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  9618. tags:
  9619. - 企业风险管理(app)
  9620. /Ermcp/QueryRealtimeExposure:
  9621. get:
  9622. parameters:
  9623. - description: 所属机构ID
  9624. in: query
  9625. name: AreaUserID
  9626. required: true
  9627. type: integer
  9628. produces:
  9629. - application/json
  9630. responses:
  9631. "200":
  9632. description: OK
  9633. schema:
  9634. items:
  9635. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  9636. type: array
  9637. "500":
  9638. description: Internal Server Error
  9639. schema:
  9640. $ref: '#/definitions/app.Response'
  9641. security:
  9642. - ApiKeyAuth: []
  9643. summary: 查询实时敞口
  9644. tags:
  9645. - 企业风险管理(app)
  9646. /Ermcp/QueryRealtimeExposurePosition:
  9647. get:
  9648. parameters:
  9649. - description: 所属机构ID
  9650. in: query
  9651. name: areaUserId
  9652. required: true
  9653. type: integer
  9654. - description: 套保商品ID
  9655. in: query
  9656. name: middleGoodsId
  9657. required: true
  9658. type: integer
  9659. produces:
  9660. - application/json
  9661. responses:
  9662. "200":
  9663. description: OK
  9664. schema:
  9665. items:
  9666. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  9667. type: array
  9668. "500":
  9669. description: Internal Server Error
  9670. schema:
  9671. $ref: '#/definitions/app.Response'
  9672. security:
  9673. - ApiKeyAuth: []
  9674. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  9675. tags:
  9676. - 企业风险管理(app)
  9677. /Ermcp/QuerySpotContract:
  9678. get:
  9679. parameters:
  9680. - description: 用户ID
  9681. in: query
  9682. name: userId
  9683. required: true
  9684. type: integer
  9685. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  9686. in: query
  9687. name: QueryType
  9688. required: true
  9689. type: integer
  9690. produces:
  9691. - application/json
  9692. responses:
  9693. "200":
  9694. description: OK
  9695. schema:
  9696. items:
  9697. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  9698. type: array
  9699. "500":
  9700. description: Internal Server Error
  9701. schema:
  9702. $ref: '#/definitions/app.Response'
  9703. security:
  9704. - ApiKeyAuth: []
  9705. summary: 查询现货合同(对应现货合同菜单)
  9706. tags:
  9707. - 企业风险管理(app)
  9708. /Ermcp/QueryUserInfo:
  9709. get:
  9710. parameters:
  9711. - description: 所属机构用户ID
  9712. in: query
  9713. name: MemberUserID
  9714. required: true
  9715. type: integer
  9716. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  9717. in: query
  9718. name: queryType
  9719. required: true
  9720. type: integer
  9721. produces:
  9722. - application/json
  9723. responses:
  9724. "200":
  9725. description: OK
  9726. schema:
  9727. items:
  9728. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  9729. type: array
  9730. "500":
  9731. description: Internal Server Error
  9732. schema:
  9733. $ref: '#/definitions/app.Response'
  9734. security:
  9735. - ApiKeyAuth: []
  9736. summary: 查询客户资料
  9737. tags:
  9738. - 企业风险管理(app)
  9739. /Ermcp/QueryWrStandard:
  9740. get:
  9741. parameters:
  9742. - description: 所属机构ID
  9743. in: query
  9744. name: userid
  9745. required: true
  9746. type: integer
  9747. - description: 状态 0-停用 1-正常
  9748. in: query
  9749. name: status
  9750. required: true
  9751. type: integer
  9752. produces:
  9753. - application/json
  9754. responses:
  9755. "200":
  9756. description: OK
  9757. schema:
  9758. items:
  9759. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  9760. type: array
  9761. "500":
  9762. description: Internal Server Error
  9763. schema:
  9764. $ref: '#/definitions/app.Response'
  9765. security:
  9766. - ApiKeyAuth: []
  9767. summary: 查询现货商品
  9768. tags:
  9769. - 企业风险管理(app)
  9770. /Ermcp/QueryWrStandardDetail:
  9771. get:
  9772. parameters:
  9773. - description: 所属机构ID
  9774. in: query
  9775. name: userid
  9776. required: true
  9777. type: integer
  9778. - description: 现货商品ID
  9779. in: query
  9780. name: wrstandardid
  9781. required: true
  9782. type: integer
  9783. produces:
  9784. - application/json
  9785. responses:
  9786. "200":
  9787. description: OK
  9788. schema:
  9789. items:
  9790. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  9791. type: array
  9792. "500":
  9793. description: Internal Server Error
  9794. schema:
  9795. $ref: '#/definitions/app.Response'
  9796. security:
  9797. - ApiKeyAuth: []
  9798. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  9799. tags:
  9800. - 企业风险管理(app)
  9801. /Erms2/QueryArbitrageStrategy:
  9802. get:
  9803. parameters:
  9804. - description: 账户ID
  9805. in: query
  9806. name: userid
  9807. required: true
  9808. type: integer
  9809. - description: 商品组ID(品种ID)
  9810. in: query
  9811. name: goodsgroupid
  9812. type: string
  9813. produces:
  9814. - application/json
  9815. responses:
  9816. "200":
  9817. description: OK
  9818. schema:
  9819. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  9820. "500":
  9821. description: Internal Server Error
  9822. schema:
  9823. $ref: '#/definitions/app.Response'
  9824. security:
  9825. - ApiKeyAuth: []
  9826. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  9827. tags:
  9828. - 风险管理
  9829. /Erms2/QueryInnerTradeDetail:
  9830. get:
  9831. parameters:
  9832. - description: 资金账户
  9833. in: query
  9834. name: accountid
  9835. required: true
  9836. type: integer
  9837. produces:
  9838. - application/json
  9839. responses:
  9840. "200":
  9841. description: OK
  9842. schema:
  9843. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  9844. "500":
  9845. description: Internal Server Error
  9846. schema:
  9847. $ref: '#/definitions/app.Response'
  9848. security:
  9849. - ApiKeyAuth: []
  9850. summary: 查询内部成交单信息
  9851. tags:
  9852. - 风险管理
  9853. /Erms2/QuerySpotContract:
  9854. get:
  9855. parameters:
  9856. - description: 策略申请ID
  9857. in: query
  9858. name: asapplyid
  9859. required: true
  9860. type: integer
  9861. - description: 现货合同ID
  9862. in: query
  9863. name: spotcontractid
  9864. type: integer
  9865. produces:
  9866. - application/json
  9867. responses:
  9868. "200":
  9869. description: OK
  9870. schema:
  9871. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  9872. "500":
  9873. description: Internal Server Error
  9874. schema:
  9875. $ref: '#/definitions/app.Response'
  9876. security:
  9877. - ApiKeyAuth: []
  9878. summary: 查询现货合同表信息(指定策略ID、未结束的)
  9879. tags:
  9880. - 风险管理
  9881. /Erms3/AddErms2ASApply:
  9882. post:
  9883. parameters:
  9884. - description: 申请参数
  9885. in: body
  9886. name: jsonBody
  9887. required: true
  9888. schema:
  9889. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  9890. produces:
  9891. - application/json
  9892. responses:
  9893. "200":
  9894. description: OK
  9895. schema:
  9896. $ref: '#/definitions/app.Response'
  9897. "500":
  9898. description: Internal Server Error
  9899. schema:
  9900. $ref: '#/definitions/app.Response'
  9901. security:
  9902. - ApiKeyAuth: []
  9903. summary: 新增期现套利业务申请
  9904. tags:
  9905. - 风险管理v3
  9906. /Erms3/AddErms2SpotTradeApply:
  9907. post:
  9908. parameters:
  9909. - description: 申请参数
  9910. in: body
  9911. name: jsonBody
  9912. required: true
  9913. schema:
  9914. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  9915. produces:
  9916. - application/json
  9917. responses:
  9918. "200":
  9919. description: OK
  9920. schema:
  9921. $ref: '#/definitions/app.Response'
  9922. "500":
  9923. description: Internal Server Error
  9924. schema:
  9925. $ref: '#/definitions/app.Response'
  9926. security:
  9927. - ApiKeyAuth: []
  9928. summary: 新增现货贸易业务申请
  9929. tags:
  9930. - 风险管理v3
  9931. /Erms3/AddSpotContractApply:
  9932. post:
  9933. parameters:
  9934. - description: 申请参数
  9935. in: body
  9936. name: jsonBody
  9937. required: true
  9938. schema:
  9939. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  9940. produces:
  9941. - application/json
  9942. responses:
  9943. "200":
  9944. description: OK
  9945. schema:
  9946. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  9947. "500":
  9948. description: Internal Server Error
  9949. schema:
  9950. $ref: '#/definitions/app.Response'
  9951. security:
  9952. - ApiKeyAuth: []
  9953. summary: 新增现货合同申请
  9954. tags:
  9955. - 风险管理v3
  9956. /Erms3/AddUserInfoApply:
  9957. post:
  9958. parameters:
  9959. - description: 用户信息
  9960. in: body
  9961. name: jsonBody
  9962. required: true
  9963. schema:
  9964. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  9965. produces:
  9966. - application/json
  9967. responses:
  9968. "200":
  9969. description: OK
  9970. schema:
  9971. $ref: '#/definitions/app.Response'
  9972. "500":
  9973. description: Internal Server Error
  9974. schema:
  9975. $ref: '#/definitions/app.Response'
  9976. security:
  9977. - ApiKeyAuth: []
  9978. summary: 新增客户申请
  9979. tags:
  9980. - 风险管理v3
  9981. /Erms3/ModifyUserInfoApply:
  9982. post:
  9983. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  9984. int, "userstate": 2 }'
  9985. parameters:
  9986. - description: 用户信息
  9987. in: body
  9988. name: jsonBody
  9989. required: true
  9990. schema:
  9991. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  9992. produces:
  9993. - application/json
  9994. responses:
  9995. "200":
  9996. description: OK
  9997. schema:
  9998. $ref: '#/definitions/app.Response'
  9999. "500":
  10000. description: Internal Server Error
  10001. schema:
  10002. $ref: '#/definitions/app.Response'
  10003. security:
  10004. - ApiKeyAuth: []
  10005. summary: 修改客户申请
  10006. tags:
  10007. - 风险管理v3
  10008. /Erms3/QueryBusinessInfo:
  10009. get:
  10010. parameters:
  10011. - description: 资金账号ID列表,用逗号分隔
  10012. in: query
  10013. name: accountids
  10014. required: true
  10015. type: string
  10016. - description: 状态,0为未结束 1为已结束
  10017. in: query
  10018. name: status
  10019. required: true
  10020. type: integer
  10021. produces:
  10022. - application/json
  10023. responses:
  10024. "200":
  10025. description: OK
  10026. schema:
  10027. items:
  10028. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  10029. type: array
  10030. "500":
  10031. description: Internal Server Error
  10032. schema:
  10033. $ref: '#/definitions/app.Response'
  10034. security:
  10035. - ApiKeyAuth: []
  10036. summary: 查询业务表单数据
  10037. tags:
  10038. - 风险管理v3
  10039. /Erms3/QueryPendingAuditContract:
  10040. get:
  10041. parameters:
  10042. - description: 资金账号ID列表,逗号隔开
  10043. in: query
  10044. name: accountids
  10045. required: true
  10046. type: string
  10047. - description: 合同类型 1-采购 -1-销售
  10048. in: query
  10049. name: contracttype
  10050. required: true
  10051. type: integer
  10052. - description: 合同模式 1-普通 2-回购
  10053. in: query
  10054. name: contractmode
  10055. required: true
  10056. type: integer
  10057. produces:
  10058. - application/json
  10059. responses:
  10060. "200":
  10061. description: OK
  10062. schema:
  10063. items:
  10064. $ref: '#/definitions/erms3.QryAuditContractRsp'
  10065. type: array
  10066. "500":
  10067. description: Internal Server Error
  10068. schema:
  10069. $ref: '#/definitions/app.Response'
  10070. security:
  10071. - ApiKeyAuth: []
  10072. summary: 查询待审核合同
  10073. tags:
  10074. - 风险管理v3
  10075. /Erms3/QueryPendingBusiness:
  10076. get:
  10077. parameters:
  10078. - description: 资金账号ID列表,逗号隔开
  10079. in: query
  10080. name: accountids
  10081. required: true
  10082. type: string
  10083. produces:
  10084. - application/json
  10085. responses:
  10086. "200":
  10087. description: OK
  10088. schema:
  10089. items:
  10090. $ref: '#/definitions/erms3.QryPendingBizRsp'
  10091. type: array
  10092. "500":
  10093. description: Internal Server Error
  10094. schema:
  10095. $ref: '#/definitions/app.Response'
  10096. security:
  10097. - ApiKeyAuth: []
  10098. summary: 查询待审核基差贸易业务
  10099. tags:
  10100. - 风险管理v3
  10101. /Erms3/QuerySpotContractAppleForm:
  10102. get:
  10103. parameters:
  10104. - description: 登录账号
  10105. in: query
  10106. name: loginID
  10107. required: true
  10108. type: integer
  10109. produces:
  10110. - application/json
  10111. responses:
  10112. "200":
  10113. description: OK
  10114. schema:
  10115. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  10116. "500":
  10117. description: Internal Server Error
  10118. schema:
  10119. $ref: '#/definitions/app.Response'
  10120. security:
  10121. - ApiKeyAuth: []
  10122. summary: 查询合同申请表单数据
  10123. tags:
  10124. - 风险管理v3
  10125. /Erms3/QuerySpotContractDetail:
  10126. get:
  10127. parameters:
  10128. - description: 资金账号ID列表,用逗号分隔
  10129. in: query
  10130. name: accountids
  10131. required: true
  10132. type: string
  10133. - description: 合同类型,1为采购合同 -1为销售合同
  10134. in: query
  10135. name: contracttype
  10136. required: true
  10137. type: integer
  10138. - description: 合同模式,1为普通合同 2为回购销售合同
  10139. in: query
  10140. name: contractmode
  10141. required: true
  10142. type: integer
  10143. - description: 状态,0为履约中 1为已完成
  10144. in: query
  10145. name: status
  10146. required: true
  10147. type: integer
  10148. produces:
  10149. - application/json
  10150. responses:
  10151. "200":
  10152. description: OK
  10153. schema:
  10154. items:
  10155. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  10156. type: array
  10157. "500":
  10158. description: Internal Server Error
  10159. schema:
  10160. $ref: '#/definitions/app.Response'
  10161. security:
  10162. - ApiKeyAuth: []
  10163. summary: 查询合同详细信息
  10164. tags:
  10165. - 风险管理v3
  10166. /Erms3/QueryUserInfoApplies:
  10167. get:
  10168. parameters:
  10169. - description: 页码
  10170. in: query
  10171. name: page
  10172. type: integer
  10173. - description: 每页条数
  10174. in: query
  10175. name: pagesize
  10176. type: integer
  10177. - description: 客户名称,支持模糊查询
  10178. in: query
  10179. name: userName
  10180. type: string
  10181. produces:
  10182. - application/json
  10183. responses:
  10184. "200":
  10185. description: OK
  10186. schema:
  10187. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  10188. "500":
  10189. description: Internal Server Error
  10190. schema:
  10191. $ref: '#/definitions/app.Response'
  10192. security:
  10193. - ApiKeyAuth: []
  10194. summary: 客户申请信息查询
  10195. tags:
  10196. - 风险管理v3
  10197. /Erms3/QueryUserInfos:
  10198. get:
  10199. parameters:
  10200. - description: 页码
  10201. in: query
  10202. name: page
  10203. type: integer
  10204. - description: 每页条数
  10205. in: query
  10206. name: pagesize
  10207. type: integer
  10208. - description: 客户名称,支持模糊查询
  10209. in: query
  10210. name: userName
  10211. type: string
  10212. produces:
  10213. - application/json
  10214. responses:
  10215. "200":
  10216. description: OK
  10217. schema:
  10218. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  10219. "500":
  10220. description: Internal Server Error
  10221. schema:
  10222. $ref: '#/definitions/app.Response'
  10223. security:
  10224. - ApiKeyAuth: []
  10225. summary: 客户信息查询
  10226. tags:
  10227. - 风险管理v3
  10228. /HSBY/GetHsbyMyCount:
  10229. get:
  10230. description: 说明: 不包括已完成的数量。
  10231. parameters:
  10232. - description: 资金账户列表,格式:1,2,3
  10233. in: query
  10234. name: accountIDs
  10235. required: true
  10236. type: string
  10237. produces:
  10238. - application/json
  10239. responses:
  10240. "200":
  10241. description: OK
  10242. schema:
  10243. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  10244. "500":
  10245. description: Internal Server Error
  10246. schema:
  10247. $ref: '#/definitions/app.Response'
  10248. security:
  10249. - ApiKeyAuth: []
  10250. summary: 获取我的订单与包裹数量
  10251. tags:
  10252. - 定制【海商报业】
  10253. /HSBY/QueryClientFixedADConfigs:
  10254. get:
  10255. produces:
  10256. - application/json
  10257. responses:
  10258. "200":
  10259. description: OK
  10260. schema:
  10261. $ref: '#/definitions/models.Clientfixedadconfig'
  10262. "500":
  10263. description: Internal Server Error
  10264. schema:
  10265. $ref: '#/definitions/app.Response'
  10266. security:
  10267. - ApiKeyAuth: []
  10268. summary: 获取终端固定广告配置
  10269. tags:
  10270. - 定制【海商报业】
  10271. /HSBY/QueryHsbyBuyMyTradeDetail:
  10272. get:
  10273. parameters:
  10274. - description: 页码
  10275. in: query
  10276. name: page
  10277. type: integer
  10278. - description: 每页条数
  10279. in: query
  10280. name: pagesize
  10281. type: integer
  10282. - description: 资金账户列表,格式:1,2,3
  10283. in: query
  10284. name: accountIDs
  10285. required: true
  10286. type: string
  10287. produces:
  10288. - application/json
  10289. responses:
  10290. "200":
  10291. description: OK
  10292. schema:
  10293. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  10294. "500":
  10295. description: Internal Server Error
  10296. schema:
  10297. $ref: '#/definitions/app.Response'
  10298. security:
  10299. - ApiKeyAuth: []
  10300. summary: 查询"我的订单 - 已完成"单据信息
  10301. tags:
  10302. - 定制【海商报业】
  10303. /HSBY/QueryHsbyGoodsOrderDetails:
  10304. get:
  10305. description: 说明:查询结果已按委托价格和委托时间排序
  10306. parameters:
  10307. - description: 商品ID
  10308. in: query
  10309. name: goodsID
  10310. required: true
  10311. type: integer
  10312. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  10313. in: query
  10314. name: accountIDs
  10315. type: string
  10316. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  10317. in: query
  10318. name: buyOrSell
  10319. type: integer
  10320. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  10321. in: query
  10322. name: price
  10323. type: number
  10324. - description: 档位,不传则默认为3档
  10325. in: query
  10326. name: speed
  10327. type: integer
  10328. produces:
  10329. - application/json
  10330. responses:
  10331. "200":
  10332. description: OK
  10333. schema:
  10334. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  10335. "500":
  10336. description: Internal Server Error
  10337. schema:
  10338. $ref: '#/definitions/app.Response'
  10339. security:
  10340. - ApiKeyAuth: []
  10341. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  10342. tags:
  10343. - 定制【海商报业】
  10344. /HSBY/QueryHsbyListingGoodsDetail:
  10345. get:
  10346. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  10347. parameters:
  10348. - description: 商品ID
  10349. in: query
  10350. name: goodsID
  10351. required: true
  10352. type: integer
  10353. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  10354. in: query
  10355. name: accountID
  10356. type: integer
  10357. produces:
  10358. - application/json
  10359. responses:
  10360. "200":
  10361. description: OK
  10362. schema:
  10363. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  10364. "500":
  10365. description: Internal Server Error
  10366. schema:
  10367. $ref: '#/definitions/app.Response'
  10368. security:
  10369. - ApiKeyAuth: []
  10370. summary: 查询二级市场(挂牌点选)商品信息详情
  10371. tags:
  10372. - 定制【海商报业】
  10373. /HSBY/QueryHsbyMarketGoodsDetail:
  10374. get:
  10375. parameters:
  10376. - description: 委托单号
  10377. in: query
  10378. name: orderID
  10379. required: true
  10380. type: integer
  10381. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  10382. in: query
  10383. name: accountID
  10384. type: integer
  10385. produces:
  10386. - application/json
  10387. responses:
  10388. "200":
  10389. description: OK
  10390. schema:
  10391. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  10392. "500":
  10393. description: Internal Server Error
  10394. schema:
  10395. $ref: '#/definitions/app.Response'
  10396. security:
  10397. - ApiKeyAuth: []
  10398. summary: 查询三级市场(商城)商品信息详情
  10399. tags:
  10400. - 定制【海商报业】
  10401. /HSBY/QueryHsbyMarketGoodses:
  10402. get:
  10403. parameters:
  10404. - description: 页码
  10405. in: query
  10406. name: page
  10407. type: integer
  10408. - description: 每页条数
  10409. in: query
  10410. name: pagesize
  10411. type: integer
  10412. - description: 市场ID列表,格式:1,2,3
  10413. in: query
  10414. name: marketIDs
  10415. required: true
  10416. type: string
  10417. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  10418. in: query
  10419. name: accountID
  10420. required: true
  10421. type: integer
  10422. - description: 类别ID
  10423. in: query
  10424. name: categoryID
  10425. type: integer
  10426. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  10427. in: query
  10428. name: goodsIDs
  10429. type: string
  10430. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  10431. in: query
  10432. name: couponTypeID
  10433. type: integer
  10434. produces:
  10435. - application/json
  10436. responses:
  10437. "200":
  10438. description: OK
  10439. schema:
  10440. $ref: '#/definitions/models.HsbyMarketGoods'
  10441. "500":
  10442. description: Internal Server Error
  10443. schema:
  10444. $ref: '#/definitions/app.Response'
  10445. security:
  10446. - ApiKeyAuth: []
  10447. summary: 查询特卖商品列表(三级商城)
  10448. tags:
  10449. - 定制【海商报业】
  10450. /HSBY/QueryHsbyMarkets:
  10451. get:
  10452. produces:
  10453. - application/json
  10454. responses:
  10455. "200":
  10456. description: OK
  10457. schema:
  10458. $ref: '#/definitions/models.HsbyMarketInfo'
  10459. "500":
  10460. description: Internal Server Error
  10461. schema:
  10462. $ref: '#/definitions/app.Response'
  10463. security:
  10464. - ApiKeyAuth: []
  10465. summary: 查询海商报业相关市场信息
  10466. tags:
  10467. - 定制【海商报业】
  10468. /HSBY/QueryHsbyMyBuyOrderDetails:
  10469. get:
  10470. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  10471. parameters:
  10472. - description: 资金账户列表,格式:1,2,3
  10473. in: query
  10474. name: accountIDs
  10475. required: true
  10476. type: string
  10477. produces:
  10478. - application/json
  10479. responses:
  10480. "200":
  10481. description: OK
  10482. schema:
  10483. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  10484. "500":
  10485. description: Internal Server Error
  10486. schema:
  10487. $ref: '#/definitions/app.Response'
  10488. security:
  10489. - ApiKeyAuth: []
  10490. summary: 查询“我的订单”信息
  10491. tags:
  10492. - 定制【海商报业】
  10493. /HSBY/QueryHsbyMyGoods:
  10494. get:
  10495. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  10496. parameters:
  10497. - description: 资金账户列表,格式:1,2,3
  10498. in: query
  10499. name: accountIDs
  10500. required: true
  10501. type: string
  10502. produces:
  10503. - application/json
  10504. responses:
  10505. "200":
  10506. description: OK
  10507. schema:
  10508. $ref: '#/definitions/models.HsbyMyGoods'
  10509. "500":
  10510. description: Internal Server Error
  10511. schema:
  10512. $ref: '#/definitions/app.Response'
  10513. security:
  10514. - ApiKeyAuth: []
  10515. summary: 查询“我的商品”信息
  10516. tags:
  10517. - 定制【海商报业】
  10518. /HSBY/QueryHsbyMyPackages:
  10519. get:
  10520. parameters:
  10521. - description: 资金账户列表,格式:1,2,3
  10522. in: query
  10523. name: accountIDs
  10524. required: true
  10525. type: string
  10526. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10527. in: query
  10528. name: takeOrderStatus
  10529. type: integer
  10530. produces:
  10531. - application/json
  10532. responses:
  10533. "200":
  10534. description: OK
  10535. schema:
  10536. $ref: '#/definitions/models.HsbyMyPackage'
  10537. "500":
  10538. description: Internal Server Error
  10539. schema:
  10540. $ref: '#/definitions/app.Response'
  10541. security:
  10542. - ApiKeyAuth: []
  10543. summary: 查询我的包裹信息
  10544. tags:
  10545. - 定制【海商报业】
  10546. /HSBY/QueryHsbyPreGoodsDetail:
  10547. get:
  10548. parameters:
  10549. - description: 商品ID
  10550. in: query
  10551. name: goodsID
  10552. required: true
  10553. type: integer
  10554. - description: 资金账户,主要用于获取预售商品购买上限
  10555. in: query
  10556. name: accountID
  10557. type: integer
  10558. produces:
  10559. - application/json
  10560. responses:
  10561. "200":
  10562. description: OK
  10563. schema:
  10564. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  10565. "500":
  10566. description: Internal Server Error
  10567. schema:
  10568. $ref: '#/definitions/app.Response'
  10569. security:
  10570. - ApiKeyAuth: []
  10571. summary: 查询一级市场(预售)商品信息详情
  10572. tags:
  10573. - 定制【海商报业】
  10574. /HSBY/QueryHsbyPreGoodses:
  10575. get:
  10576. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  10577. parameters:
  10578. - description: 页码
  10579. in: query
  10580. name: page
  10581. type: integer
  10582. - description: 每页条数
  10583. in: query
  10584. name: pagesize
  10585. type: integer
  10586. - description: 市场ID列表,格式:1,2,3
  10587. in: query
  10588. name: marketIDs
  10589. required: true
  10590. type: string
  10591. - description: 目的地(省)ID
  10592. in: query
  10593. name: descProvinceID
  10594. type: integer
  10595. - description: 目的地(市)ID
  10596. in: query
  10597. name: descCityID
  10598. type: integer
  10599. produces:
  10600. - application/json
  10601. responses:
  10602. "200":
  10603. description: OK
  10604. schema:
  10605. $ref: '#/definitions/models.HsbyPreGoods'
  10606. "500":
  10607. description: Internal Server Error
  10608. schema:
  10609. $ref: '#/definitions/app.Response'
  10610. security:
  10611. - ApiKeyAuth: []
  10612. summary: 查询新品上市商品列表(一级市场预售)
  10613. tags:
  10614. - 定制【海商报业】
  10615. /HSBY/QueryHsbySellMyDetails:
  10616. get:
  10617. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  10618. parameters:
  10619. - description: 页码
  10620. in: query
  10621. name: page
  10622. type: integer
  10623. - description: 每页条数
  10624. in: query
  10625. name: pagesize
  10626. type: integer
  10627. - description: 资金账户列表,格式:1,2,3
  10628. in: query
  10629. name: accountIDs
  10630. required: true
  10631. type: string
  10632. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  10633. in: query
  10634. name: orderType
  10635. type: integer
  10636. produces:
  10637. - application/json
  10638. responses:
  10639. "200":
  10640. description: OK
  10641. schema:
  10642. $ref: '#/definitions/models.HsbySellMyDetail'
  10643. "500":
  10644. description: Internal Server Error
  10645. schema:
  10646. $ref: '#/definitions/app.Response'
  10647. security:
  10648. - ApiKeyAuth: []
  10649. summary: 查询"我的闲置"单据信息
  10650. tags:
  10651. - 定制【海商报业】
  10652. /HSBY/QueryHsbyTopGoodses:
  10653. get:
  10654. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  10655. parameters:
  10656. - description: 页码
  10657. in: query
  10658. name: page
  10659. type: integer
  10660. - description: 每页条数
  10661. in: query
  10662. name: pagesize
  10663. type: integer
  10664. - description: 市场ID列表,格式:1,2,3
  10665. in: query
  10666. name: marketIDs
  10667. required: true
  10668. type: string
  10669. - description: 目的地(省)ID
  10670. in: query
  10671. name: descProvinceID
  10672. type: integer
  10673. - description: 目的地(市)ID
  10674. in: query
  10675. name: descCityID
  10676. type: integer
  10677. produces:
  10678. - application/json
  10679. responses:
  10680. "200":
  10681. description: OK
  10682. schema:
  10683. $ref: '#/definitions/models.HsbyTopGoods'
  10684. "500":
  10685. description: Internal Server Error
  10686. schema:
  10687. $ref: '#/definitions/app.Response'
  10688. security:
  10689. - ApiKeyAuth: []
  10690. summary: 查询热卖商品列表(二级市场挂牌点选)
  10691. tags:
  10692. - 定制【海商报业】
  10693. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  10694. get:
  10695. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  10696. parameters:
  10697. - description: 商品ID
  10698. in: query
  10699. name: goodsID
  10700. required: true
  10701. type: integer
  10702. produces:
  10703. - application/json
  10704. responses:
  10705. "200":
  10706. description: OK
  10707. schema:
  10708. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  10709. "500":
  10710. description: Internal Server Error
  10711. schema:
  10712. $ref: '#/definitions/app.Response'
  10713. security:
  10714. - ApiKeyAuth: []
  10715. summary: 查询游客三级市场(商城)商品信息详情
  10716. tags:
  10717. - 定制【海商报业】
  10718. /HSBY/QueryHsbyVisitorMarketGoodses:
  10719. get:
  10720. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  10721. parameters:
  10722. - description: 页码
  10723. in: query
  10724. name: page
  10725. type: integer
  10726. - description: 每页条数
  10727. in: query
  10728. name: pagesize
  10729. type: integer
  10730. - description: 市场ID列表,格式:1,2,3
  10731. in: query
  10732. name: marketIDs
  10733. required: true
  10734. type: string
  10735. - description: 类别ID
  10736. in: query
  10737. name: categoryID
  10738. type: integer
  10739. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  10740. in: query
  10741. name: goodsIDs
  10742. type: string
  10743. produces:
  10744. - application/json
  10745. responses:
  10746. "200":
  10747. description: OK
  10748. schema:
  10749. $ref: '#/definitions/models.HsbyMarketGoods'
  10750. "500":
  10751. description: Internal Server Error
  10752. schema:
  10753. $ref: '#/definitions/app.Response'
  10754. security:
  10755. - ApiKeyAuth: []
  10756. summary: 查询游客特卖商品列表(三级商城)
  10757. tags:
  10758. - 定制【海商报业】
  10759. /HSBY/QueryMyCollectionOrders:
  10760. get:
  10761. parameters:
  10762. - description: 页码
  10763. in: query
  10764. name: page
  10765. type: integer
  10766. - description: 每页条数
  10767. in: query
  10768. name: pagesize
  10769. type: integer
  10770. - description: 资金账户,格式:1,2,3
  10771. in: query
  10772. name: accountIDs
  10773. required: true
  10774. type: string
  10775. produces:
  10776. - application/json
  10777. responses:
  10778. "200":
  10779. description: OK
  10780. schema:
  10781. $ref: '#/definitions/models.HsbySellCollectionOrder'
  10782. "500":
  10783. description: Internal Server Error
  10784. schema:
  10785. $ref: '#/definitions/app.Response'
  10786. security:
  10787. - ApiKeyAuth: []
  10788. summary: 我的闲置中收款信息查询
  10789. tags:
  10790. - 定制【海商报业】
  10791. /HSBY/QueryMyCouponHolds:
  10792. get:
  10793. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  10794. parameters:
  10795. - description: 资金账户列表,格式:1,2,3
  10796. in: query
  10797. name: accountIDs
  10798. required: true
  10799. type: string
  10800. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  10801. in: query
  10802. name: holdStatus
  10803. type: string
  10804. produces:
  10805. - application/json
  10806. responses:
  10807. "200":
  10808. description: OK
  10809. schema:
  10810. $ref: '#/definitions/models.MyCouponHold'
  10811. "500":
  10812. description: Internal Server Error
  10813. schema:
  10814. $ref: '#/definitions/app.Response'
  10815. security:
  10816. - ApiKeyAuth: []
  10817. summary: 我的优惠卷持仓查询
  10818. tags:
  10819. - 定制【海商报业】
  10820. /HSBY/QueryMyCoupons:
  10821. get:
  10822. parameters:
  10823. - description: 资金账户列表,格式:1,2,3
  10824. in: query
  10825. name: accountIDs
  10826. required: true
  10827. type: string
  10828. - description: 商品ID, 一般与sellUserID配套传入
  10829. in: query
  10830. name: goodsID
  10831. type: integer
  10832. - description: 卖方UserID
  10833. in: query
  10834. name: sellUserID
  10835. type: integer
  10836. produces:
  10837. - application/json
  10838. responses:
  10839. "200":
  10840. description: OK
  10841. schema:
  10842. $ref: '#/definitions/models.MyCoupon'
  10843. "500":
  10844. description: Internal Server Error
  10845. schema:
  10846. $ref: '#/definitions/app.Response'
  10847. security:
  10848. - ApiKeyAuth: []
  10849. summary: 我的优惠卷查询
  10850. tags:
  10851. - 定制【海商报业】
  10852. /HSBY/QueryMyPayOrders:
  10853. get:
  10854. parameters:
  10855. - description: 页码
  10856. in: query
  10857. name: page
  10858. type: integer
  10859. - description: 每页条数
  10860. in: query
  10861. name: pagesize
  10862. type: integer
  10863. - description: 资金账户列表,格式:1,2,3
  10864. in: query
  10865. name: accountIDs
  10866. required: true
  10867. type: string
  10868. - description: 买方委托单号
  10869. in: query
  10870. name: buyOrderID
  10871. type: integer
  10872. - description: 卖方委托单号
  10873. in: query
  10874. name: sellOrderID
  10875. type: integer
  10876. produces:
  10877. - application/json
  10878. responses:
  10879. "200":
  10880. description: OK
  10881. schema:
  10882. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  10883. "500":
  10884. description: Internal Server Error
  10885. schema:
  10886. $ref: '#/definitions/app.Response'
  10887. security:
  10888. - ApiKeyAuth: []
  10889. summary: 获取我的订单中待付款信息
  10890. tags:
  10891. - 定制【海商报业】
  10892. /HSBY/QueryMyUsedCoupon:
  10893. get:
  10894. parameters:
  10895. - description: 资金账户列表,格式:1,2,3
  10896. in: query
  10897. name: accountIDs
  10898. required: true
  10899. type: string
  10900. produces:
  10901. - application/json
  10902. responses:
  10903. "200":
  10904. description: OK
  10905. schema:
  10906. $ref: '#/definitions/models.MyUsedCoupon'
  10907. "500":
  10908. description: Internal Server Error
  10909. schema:
  10910. $ref: '#/definitions/app.Response'
  10911. security:
  10912. - ApiKeyAuth: []
  10913. summary: 已使用优惠卷查询
  10914. tags:
  10915. - 定制【海商报业】
  10916. /HSBY/QueryProvincesAndCities:
  10917. get:
  10918. description: 查询结果只包括二级市场商品已关连的省市信息。
  10919. parameters:
  10920. - description: 省ID
  10921. in: query
  10922. name: provinceID
  10923. type: integer
  10924. produces:
  10925. - application/json
  10926. responses:
  10927. "200":
  10928. description: OK
  10929. schema:
  10930. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  10931. "500":
  10932. description: Internal Server Error
  10933. schema:
  10934. $ref: '#/definitions/app.Response'
  10935. security:
  10936. - ApiKeyAuth: []
  10937. summary: 查询省市信息(不包括区)
  10938. tags:
  10939. - 定制【海商报业】
  10940. /HSBY/SetHsbyMyPackagesStatus:
  10941. post:
  10942. parameters:
  10943. - description: 提货单号
  10944. in: query
  10945. name: takeOrderID
  10946. required: true
  10947. type: string
  10948. - description: 资金账号
  10949. in: query
  10950. name: accountID
  10951. required: true
  10952. type: integer
  10953. produces:
  10954. - application/json
  10955. responses:
  10956. "200":
  10957. description: OK
  10958. schema:
  10959. $ref: '#/definitions/app.Response'
  10960. "500":
  10961. description: Internal Server Error
  10962. schema:
  10963. $ref: '#/definitions/app.Response'
  10964. security:
  10965. - ApiKeyAuth: []
  10966. summary: 设置我的包裹已收货状态
  10967. tags:
  10968. - 定制【海商报业】
  10969. /Market/QueryGoodsesByLoginID:
  10970. get:
  10971. parameters:
  10972. - description: 登录账号
  10973. in: query
  10974. name: loginID
  10975. required: true
  10976. type: integer
  10977. - description: 市场ID列表,格式:1,2,3
  10978. in: query
  10979. name: marketIDs
  10980. type: string
  10981. produces:
  10982. - application/json
  10983. responses:
  10984. "200":
  10985. description: OK
  10986. schema:
  10987. $ref: '#/definitions/models.Goods'
  10988. "500":
  10989. description: Internal Server Error
  10990. schema:
  10991. $ref: '#/definitions/app.Response'
  10992. security:
  10993. - ApiKeyAuth: []
  10994. summary: 获取登录账号有权限的商品信息
  10995. tags:
  10996. - 通用市场
  10997. /Market/QueryMarketRun:
  10998. get:
  10999. parameters:
  11000. - description: 市场ID,不传返回所有
  11001. in: query
  11002. name: marketID
  11003. type: integer
  11004. produces:
  11005. - application/json
  11006. responses:
  11007. "200":
  11008. description: OK
  11009. schema:
  11010. $ref: '#/definitions/models.Marketrun'
  11011. "500":
  11012. description: Internal Server Error
  11013. schema:
  11014. $ref: '#/definitions/app.Response'
  11015. security:
  11016. - ApiKeyAuth: []
  11017. summary: 查询市场运行信息
  11018. tags:
  11019. - 通用市场
  11020. /Market/QueryMarketsByLoginID:
  11021. get:
  11022. parameters:
  11023. - description: 登录账号
  11024. in: query
  11025. name: loginID
  11026. required: true
  11027. type: integer
  11028. produces:
  11029. - application/json
  11030. responses:
  11031. "200":
  11032. description: OK
  11033. schema:
  11034. $ref: '#/definitions/models.Market'
  11035. "500":
  11036. description: Internal Server Error
  11037. schema:
  11038. $ref: '#/definitions/app.Response'
  11039. security:
  11040. - ApiKeyAuth: []
  11041. summary: 获取登录账号有权限的市场信息
  11042. tags:
  11043. - 通用市场
  11044. /Order/QueryHisTradeDetail:
  11045. get:
  11046. parameters:
  11047. - description: 资金账户 - 格式:1,2,3
  11048. in: query
  11049. name: accountID
  11050. required: true
  11051. type: string
  11052. - description: 成交单号
  11053. in: query
  11054. name: tradeID
  11055. type: integer
  11056. - description: 委托单号
  11057. in: query
  11058. name: orderID
  11059. type: integer
  11060. - description: 交易模式 - 格式:1,2,3
  11061. in: query
  11062. name: tradeMode
  11063. type: string
  11064. - description: 委托单据类型
  11065. in: query
  11066. name: buildType
  11067. type: integer
  11068. - description: 成交类别 - 格式:1,2,3
  11069. in: query
  11070. name: tradeType
  11071. type: string
  11072. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11073. in: query
  11074. name: startDate
  11075. type: string
  11076. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11077. in: query
  11078. name: endDate
  11079. type: string
  11080. produces:
  11081. - application/json
  11082. responses:
  11083. "200":
  11084. description: OK
  11085. schema:
  11086. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  11087. "500":
  11088. description: Internal Server Error
  11089. schema:
  11090. $ref: '#/definitions/app.Response'
  11091. security:
  11092. - ApiKeyAuth: []
  11093. summary: 历史成交单查询(合约市场)
  11094. tags:
  11095. - 通用单据
  11096. /Order/QueryHisTradeOrderDetail:
  11097. get:
  11098. parameters:
  11099. - description: 资金账户 - 格式:1,2,3
  11100. in: query
  11101. name: accountID
  11102. required: true
  11103. type: string
  11104. - description: 交易模式 - 格式:1,2,3
  11105. in: query
  11106. name: tradeMode
  11107. type: string
  11108. - description: 委托状态 - 格式:1,2,3
  11109. in: query
  11110. name: orderStatus
  11111. type: string
  11112. - description: 委托单号
  11113. in: query
  11114. name: orderID
  11115. type: integer
  11116. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11117. in: query
  11118. name: startDate
  11119. type: string
  11120. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11121. in: query
  11122. name: endDate
  11123. type: string
  11124. produces:
  11125. - application/json
  11126. responses:
  11127. "200":
  11128. description: OK
  11129. schema:
  11130. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  11131. "500":
  11132. description: Internal Server Error
  11133. schema:
  11134. $ref: '#/definitions/app.Response'
  11135. security:
  11136. - ApiKeyAuth: []
  11137. summary: 历史委托单查询请求(合约市场)
  11138. tags:
  11139. - 通用单据
  11140. /Order/QueryTradeDetail:
  11141. get:
  11142. parameters:
  11143. - description: 资金账户 - 格式:1,2,3
  11144. in: query
  11145. name: accountID
  11146. required: true
  11147. type: string
  11148. - description: 成交单号
  11149. in: query
  11150. name: tradeID
  11151. type: integer
  11152. - description: 委托单号
  11153. in: query
  11154. name: orderID
  11155. type: integer
  11156. - description: 交易模式 - 格式:1,2,3
  11157. in: query
  11158. name: tradeMode
  11159. type: string
  11160. - description: 委托单据类型
  11161. in: query
  11162. name: buildType
  11163. type: integer
  11164. - description: 成交类别 - 格式:1,2,3
  11165. in: query
  11166. name: tradeType
  11167. type: string
  11168. produces:
  11169. - application/json
  11170. responses:
  11171. "200":
  11172. description: OK
  11173. schema:
  11174. $ref: '#/definitions/order.QueryTradeDetailRsp'
  11175. "500":
  11176. description: Internal Server Error
  11177. schema:
  11178. $ref: '#/definitions/app.Response'
  11179. security:
  11180. - ApiKeyAuth: []
  11181. summary: 成交单查询(合约市场)
  11182. tags:
  11183. - 通用单据
  11184. /Order/QueryTradeOrderDetail:
  11185. get:
  11186. parameters:
  11187. - description: 资金账户 - 格式:1,2,3
  11188. in: query
  11189. name: accountID
  11190. required: true
  11191. type: string
  11192. - description: 交易模式 - 格式:1,2,3
  11193. in: query
  11194. name: tradeMode
  11195. type: string
  11196. - description: 委托状态 - 格式:1,2,3
  11197. in: query
  11198. name: orderStatus
  11199. type: string
  11200. - description: 委托单号
  11201. in: query
  11202. name: orderID
  11203. type: integer
  11204. produces:
  11205. - application/json
  11206. responses:
  11207. "200":
  11208. description: OK
  11209. schema:
  11210. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  11211. "500":
  11212. description: Internal Server Error
  11213. schema:
  11214. $ref: '#/definitions/app.Response'
  11215. security:
  11216. - ApiKeyAuth: []
  11217. summary: 委托单查询请求(合约市场)
  11218. tags:
  11219. - 通用单据
  11220. /Order/QueryTradePosition:
  11221. get:
  11222. parameters:
  11223. - description: 资金账户 - 格式:1,2,3
  11224. in: query
  11225. name: accountID
  11226. required: true
  11227. type: string
  11228. - description: 交易模式 - 格式:1,2,3
  11229. in: query
  11230. name: tradeMode
  11231. type: string
  11232. produces:
  11233. - application/json
  11234. responses:
  11235. "200":
  11236. description: OK
  11237. schema:
  11238. $ref: '#/definitions/order.QueryTradePositionRsp'
  11239. "500":
  11240. description: Internal Server Error
  11241. schema:
  11242. $ref: '#/definitions/app.Response'
  11243. security:
  11244. - ApiKeyAuth: []
  11245. summary: 持仓汇总查询(合约市场)
  11246. tags:
  11247. - 通用单据
  11248. /Quote/QueryHistoryDatas:
  11249. get:
  11250. parameters:
  11251. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  11252. 日线 10: Tik'
  11253. in: query
  11254. name: cycleType
  11255. required: true
  11256. type: integer
  11257. - description: 商品代码
  11258. in: query
  11259. name: goodsCode
  11260. required: true
  11261. type: string
  11262. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  11263. in: query
  11264. name: startTime
  11265. type: string
  11266. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  11267. in: query
  11268. name: endTime
  11269. type: string
  11270. - description: 条数
  11271. in: query
  11272. name: count
  11273. type: integer
  11274. - description: 是否按时间顺序排序(默认为时间倒序排序)
  11275. in: query
  11276. name: isAsc
  11277. type: boolean
  11278. produces:
  11279. - application/json
  11280. responses:
  11281. "200":
  11282. description: OK
  11283. schema:
  11284. $ref: '#/definitions/quote.HistoryData'
  11285. "500":
  11286. description: Internal Server Error
  11287. schema:
  11288. $ref: '#/definitions/app.Response'
  11289. security:
  11290. - ApiKeyAuth: []
  11291. summary: 查询行情历史数据
  11292. tags:
  11293. - 行情服务
  11294. /Quote/QueryTSData:
  11295. get:
  11296. parameters:
  11297. - description: 商品代码
  11298. in: query
  11299. name: goodsCode
  11300. required: true
  11301. type: string
  11302. produces:
  11303. - application/json
  11304. responses:
  11305. "200":
  11306. description: OK
  11307. schema:
  11308. $ref: '#/definitions/quote.QueryTSDataRsp'
  11309. "500":
  11310. description: Internal Server Error
  11311. schema:
  11312. $ref: '#/definitions/app.Response'
  11313. summary: 分时图数据查询
  11314. tags:
  11315. - 行情服务
  11316. /SZDZ/QueryConvertConfig:
  11317. get:
  11318. parameters:
  11319. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  11320. 6:交易转花生米(不设置)
  11321. in: query
  11322. name: convertType
  11323. type: integer
  11324. - description: 外部商品代码[JD\PD]
  11325. in: query
  11326. name: outerGoodsCode
  11327. type: string
  11328. - description: 内部商品ID列表[交易],格式:1,2,3
  11329. in: query
  11330. name: innerGoodsIDs
  11331. type: string
  11332. produces:
  11333. - application/json
  11334. responses:
  11335. "200":
  11336. description: OK
  11337. schema:
  11338. $ref: '#/definitions/models.Szdz3convertconfig'
  11339. "500":
  11340. description: Internal Server Error
  11341. schema:
  11342. $ref: '#/definitions/app.Response'
  11343. security:
  11344. - ApiKeyAuth: []
  11345. summary: 查询交易系统转换设置
  11346. tags:
  11347. - 定制【尚志大宗】
  11348. /SZDZ/QueryConvertLog:
  11349. get:
  11350. parameters:
  11351. - description: 资金账户 - 格式:1,2,3
  11352. in: query
  11353. name: accountID
  11354. required: true
  11355. type: string
  11356. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  11357. in: query
  11358. name: startDate
  11359. type: string
  11360. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  11361. in: query
  11362. name: endDate
  11363. type: string
  11364. produces:
  11365. - application/json
  11366. responses:
  11367. "200":
  11368. description: OK
  11369. schema:
  11370. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  11371. "500":
  11372. description: Internal Server Error
  11373. schema:
  11374. $ref: '#/definitions/app.Response'
  11375. security:
  11376. - ApiKeyAuth: []
  11377. summary: 交易系统转换流水查询
  11378. tags:
  11379. - 定制【尚志大宗】
  11380. /SZDZ/QueryGoodsPickup:
  11381. get:
  11382. parameters:
  11383. - description: 资金账户 - 格式:1,2,3
  11384. in: query
  11385. name: accountID
  11386. required: true
  11387. type: string
  11388. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11389. in: query
  11390. name: takeOrderStatus
  11391. type: integer
  11392. produces:
  11393. - application/json
  11394. responses:
  11395. "200":
  11396. description: OK
  11397. schema:
  11398. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  11399. "500":
  11400. description: Internal Server Error
  11401. schema:
  11402. $ref: '#/definitions/app.Response'
  11403. security:
  11404. - ApiKeyAuth: []
  11405. summary: 商品提货单查询
  11406. tags:
  11407. - 定制【尚志大宗】
  11408. /SZDZ/QueryRecieptOrder:
  11409. get:
  11410. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  11411. parameters:
  11412. - description: 页码
  11413. in: query
  11414. name: page
  11415. type: integer
  11416. - description: 每页条数
  11417. in: query
  11418. name: pagesize
  11419. type: integer
  11420. - description: 商品ID
  11421. in: query
  11422. name: goodsID
  11423. required: true
  11424. type: integer
  11425. - description: 所属账户名称
  11426. in: query
  11427. name: accountName
  11428. type: string
  11429. - description: 市场ID
  11430. in: query
  11431. name: marketID
  11432. type: integer
  11433. - description: 方向 - 0:买 1:卖
  11434. in: query
  11435. name: buyorsell
  11436. required: true
  11437. type: integer
  11438. produces:
  11439. - application/json
  11440. responses:
  11441. "200":
  11442. description: OK
  11443. schema:
  11444. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  11445. "500":
  11446. description: Internal Server Error
  11447. schema:
  11448. $ref: '#/definitions/app.Response'
  11449. security:
  11450. - ApiKeyAuth: []
  11451. summary: 点选挂牌委托单据查询(摘牌大厅)
  11452. tags:
  11453. - 定制【尚志大宗】
  11454. /SZDZ/QuerySZDZTradePosition:
  11455. get:
  11456. parameters:
  11457. - description: 资金账户
  11458. in: query
  11459. name: accountID
  11460. required: true
  11461. type: integer
  11462. produces:
  11463. - application/json
  11464. responses:
  11465. "200":
  11466. description: OK
  11467. schema:
  11468. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  11469. "500":
  11470. description: Internal Server Error
  11471. schema:
  11472. $ref: '#/definitions/app.Response'
  11473. security:
  11474. - ApiKeyAuth: []
  11475. summary: 持仓汇总查询(尚志大宗)
  11476. tags:
  11477. - 定制【尚志大宗】
  11478. /SZDZ/SearchWhite:
  11479. get:
  11480. parameters:
  11481. - description: 用户ID
  11482. in: query
  11483. name: userID
  11484. required: true
  11485. type: integer
  11486. produces:
  11487. - application/json
  11488. responses:
  11489. "200":
  11490. description: OK
  11491. schema:
  11492. $ref: '#/definitions/models.Szdz3searchwhitelist'
  11493. "500":
  11494. description: Internal Server Error
  11495. schema:
  11496. $ref: '#/definitions/app.Response'
  11497. security:
  11498. - ApiKeyAuth: []
  11499. summary: 搜索白名单
  11500. tags:
  11501. - 定制【尚志大宗】
  11502. /Search/SearchGoodses:
  11503. get:
  11504. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  11505. parameters:
  11506. - description: 检索内容
  11507. in: query
  11508. name: content
  11509. required: true
  11510. type: string
  11511. - description: 交易模式,格式:1,2,3
  11512. in: query
  11513. name: tradeModes
  11514. type: string
  11515. produces:
  11516. - application/json
  11517. responses:
  11518. "200":
  11519. description: OK
  11520. schema:
  11521. $ref: '#/definitions/models.SearchGoods'
  11522. "500":
  11523. description: Internal Server Error
  11524. schema:
  11525. $ref: '#/definitions/app.Response'
  11526. summary: 检索商品信息
  11527. tags:
  11528. - 检索服务
  11529. /TaAccount/GetTaAccounts:
  11530. get:
  11531. parameters:
  11532. - description: 登录账户
  11533. in: query
  11534. name: loginID
  11535. required: true
  11536. type: integer
  11537. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  11538. in: query
  11539. name: taAccountType
  11540. type: integer
  11541. produces:
  11542. - application/json
  11543. responses:
  11544. "200":
  11545. description: OK
  11546. schema:
  11547. $ref: '#/definitions/models.Taaccount'
  11548. "500":
  11549. description: Internal Server Error
  11550. schema:
  11551. $ref: '#/definitions/app.Response'
  11552. security:
  11553. - ApiKeyAuth: []
  11554. summary: 获取资金账户信息
  11555. tags:
  11556. - 资金账户
  11557. /TaAccount/QueryAmountLog:
  11558. get:
  11559. parameters:
  11560. - description: 页码
  11561. in: query
  11562. name: page
  11563. type: integer
  11564. - description: 每页条数
  11565. in: query
  11566. name: pagesize
  11567. type: integer
  11568. - description: 资金账户 - 格式:1,2,3
  11569. in: query
  11570. name: accountID
  11571. required: true
  11572. type: string
  11573. - description: 资金操作类型 - 格式:1,2,3
  11574. in: query
  11575. name: OperateType
  11576. type: string
  11577. produces:
  11578. - application/json
  11579. responses:
  11580. "200":
  11581. description: OK
  11582. schema:
  11583. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  11584. "500":
  11585. description: Internal Server Error
  11586. schema:
  11587. $ref: '#/definitions/app.Response'
  11588. security:
  11589. - ApiKeyAuth: []
  11590. summary: 资金流水查询(当前)
  11591. tags:
  11592. - 资金账户
  11593. /TaAccount/QueryHisAmountLog:
  11594. get:
  11595. parameters:
  11596. - description: 页码
  11597. in: query
  11598. name: page
  11599. type: integer
  11600. - description: 每页条数
  11601. in: query
  11602. name: pagesize
  11603. type: integer
  11604. - description: 资金账户 - 格式:1,2,3
  11605. in: query
  11606. name: accountID
  11607. required: true
  11608. type: string
  11609. - description: 资金操作类型 - 格式:1,2,3
  11610. in: query
  11611. name: OperateType
  11612. type: string
  11613. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11614. in: query
  11615. name: startDate
  11616. type: string
  11617. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11618. in: query
  11619. name: endDate
  11620. type: string
  11621. produces:
  11622. - application/json
  11623. responses:
  11624. "200":
  11625. description: OK
  11626. schema:
  11627. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  11628. "500":
  11629. description: Internal Server Error
  11630. schema:
  11631. $ref: '#/definitions/app.Response'
  11632. security:
  11633. - ApiKeyAuth: []
  11634. summary: 资金流水查询(历史)
  11635. tags:
  11636. - 资金账户
  11637. /Trade/QueryRecieptOrder:
  11638. get:
  11639. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  11640. parameters:
  11641. - description: 页码
  11642. in: query
  11643. name: page
  11644. type: integer
  11645. - description: 每页条数
  11646. in: query
  11647. name: pagesize
  11648. type: integer
  11649. - description: 商品ID
  11650. in: query
  11651. name: goodsID
  11652. required: true
  11653. type: integer
  11654. - description: 所属账户名称
  11655. in: query
  11656. name: accountName
  11657. type: string
  11658. - description: 市场ID
  11659. in: query
  11660. name: marketID
  11661. type: integer
  11662. - description: 方向 - 0:买 1:卖
  11663. in: query
  11664. name: buyorsell
  11665. required: true
  11666. type: integer
  11667. produces:
  11668. - application/json
  11669. responses:
  11670. "200":
  11671. description: OK
  11672. schema:
  11673. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  11674. "500":
  11675. description: Internal Server Error
  11676. schema:
  11677. $ref: '#/definitions/app.Response'
  11678. security:
  11679. - ApiKeyAuth: []
  11680. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  11681. tags:
  11682. - 通用交易
  11683. /User/AddMessageBoard:
  11684. post:
  11685. parameters:
  11686. - description: 用户ID
  11687. in: query
  11688. name: userID
  11689. required: true
  11690. type: integer
  11691. - description: 留言信息
  11692. in: query
  11693. name: message
  11694. required: true
  11695. type: string
  11696. produces:
  11697. - application/json
  11698. responses:
  11699. "200":
  11700. description: OK
  11701. schema:
  11702. $ref: '#/definitions/app.Response'
  11703. "500":
  11704. description: Internal Server Error
  11705. schema:
  11706. $ref: '#/definitions/app.Response'
  11707. security:
  11708. - ApiKeyAuth: []
  11709. summary: 添加用户留言板信息
  11710. tags:
  11711. - 用户信息
  11712. /User/AddUserFavoriteGoods:
  11713. post:
  11714. parameters:
  11715. - description: 用户ID
  11716. in: query
  11717. name: userID
  11718. required: true
  11719. type: integer
  11720. - description: 商品ID
  11721. in: query
  11722. name: goodsID
  11723. required: true
  11724. type: integer
  11725. produces:
  11726. - application/json
  11727. responses:
  11728. "200":
  11729. description: OK
  11730. schema:
  11731. $ref: '#/definitions/app.Response'
  11732. "500":
  11733. description: Internal Server Error
  11734. schema:
  11735. $ref: '#/definitions/app.Response'
  11736. security:
  11737. - ApiKeyAuth: []
  11738. summary: 添加用户商品收藏信息
  11739. tags:
  11740. - 用户信息
  11741. /User/GetLoginID:
  11742. get:
  11743. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  11744. parameters:
  11745. - description: 登录代码
  11746. in: query
  11747. name: username
  11748. required: true
  11749. type: string
  11750. produces:
  11751. - application/json
  11752. responses:
  11753. "200":
  11754. description: OK
  11755. schema:
  11756. $ref: '#/definitions/app.Response'
  11757. "500":
  11758. description: Internal Server Error
  11759. schema:
  11760. $ref: '#/definitions/app.Response'
  11761. summary: 获取登录ID
  11762. tags:
  11763. - 用户信息
  11764. /User/GetUserAccount:
  11765. get:
  11766. parameters:
  11767. - description: 用户ID
  11768. in: query
  11769. name: userID
  11770. required: true
  11771. type: integer
  11772. produces:
  11773. - application/json
  11774. responses:
  11775. "200":
  11776. description: OK
  11777. schema:
  11778. $ref: '#/definitions/models.Useraccount'
  11779. "500":
  11780. description: Internal Server Error
  11781. schema:
  11782. $ref: '#/definitions/app.Response'
  11783. security:
  11784. - ApiKeyAuth: []
  11785. summary: 获取用户账号信息
  11786. tags:
  11787. - 用户信息
  11788. /User/GetUserAuthStatus:
  11789. get:
  11790. parameters:
  11791. - description: 用户ID
  11792. in: query
  11793. name: userID
  11794. required: true
  11795. type: integer
  11796. produces:
  11797. - application/json
  11798. responses:
  11799. "200":
  11800. description: OK
  11801. schema:
  11802. $ref: '#/definitions/app.Response'
  11803. "500":
  11804. description: Internal Server Error
  11805. schema:
  11806. $ref: '#/definitions/app.Response'
  11807. security:
  11808. - ApiKeyAuth: []
  11809. summary: 获取用户实名认证状态
  11810. tags:
  11811. - 用户信息
  11812. /User/QueryMessageBoard:
  11813. get:
  11814. parameters:
  11815. - description: 用户ID
  11816. in: query
  11817. name: userID
  11818. required: true
  11819. type: integer
  11820. produces:
  11821. - application/json
  11822. responses:
  11823. "200":
  11824. description: OK
  11825. schema:
  11826. $ref: '#/definitions/models.Messageboard'
  11827. "500":
  11828. description: Internal Server Error
  11829. schema:
  11830. $ref: '#/definitions/app.Response'
  11831. security:
  11832. - ApiKeyAuth: []
  11833. summary: 获取用户留言板信息
  11834. tags:
  11835. - 用户信息
  11836. /User/QueryUserFavoriteGoodses:
  11837. get:
  11838. parameters:
  11839. - description: 用户ID
  11840. in: query
  11841. name: userID
  11842. required: true
  11843. type: integer
  11844. produces:
  11845. - application/json
  11846. responses:
  11847. "200":
  11848. description: OK
  11849. schema:
  11850. $ref: '#/definitions/models.Userfavoritegoods'
  11851. "500":
  11852. description: Internal Server Error
  11853. schema:
  11854. $ref: '#/definitions/app.Response'
  11855. security:
  11856. - ApiKeyAuth: []
  11857. summary: 获取用户商品收藏信息
  11858. tags:
  11859. - 用户信息
  11860. /User/QueryUserInfo:
  11861. get:
  11862. parameters:
  11863. - description: 用户ID
  11864. in: query
  11865. name: userID
  11866. required: true
  11867. type: integer
  11868. produces:
  11869. - application/json
  11870. responses:
  11871. "200":
  11872. description: OK
  11873. schema:
  11874. $ref: '#/definitions/models.Userinfo'
  11875. "500":
  11876. description: Internal Server Error
  11877. schema:
  11878. $ref: '#/definitions/app.Response'
  11879. security:
  11880. - ApiKeyAuth: []
  11881. summary: 获取用户信息
  11882. tags:
  11883. - 用户信息
  11884. /User/QueryUserReferNum:
  11885. get:
  11886. parameters:
  11887. - description: 用户ID
  11888. in: query
  11889. name: userID
  11890. required: true
  11891. type: integer
  11892. produces:
  11893. - application/json
  11894. responses:
  11895. "200":
  11896. description: OK
  11897. schema:
  11898. $ref: '#/definitions/app.Response'
  11899. "500":
  11900. description: Internal Server Error
  11901. schema:
  11902. $ref: '#/definitions/app.Response'
  11903. summary: 获取用户邀请码
  11904. tags:
  11905. - 用户信息
  11906. /User/RemoveUserFavoriteGoods:
  11907. post:
  11908. parameters:
  11909. - description: 用户ID
  11910. in: query
  11911. name: userID
  11912. required: true
  11913. type: integer
  11914. - description: 商品ID
  11915. in: query
  11916. name: goodsID
  11917. required: true
  11918. type: integer
  11919. produces:
  11920. - application/json
  11921. responses:
  11922. "200":
  11923. description: OK
  11924. schema:
  11925. $ref: '#/definitions/app.Response'
  11926. "500":
  11927. description: Internal Server Error
  11928. schema:
  11929. $ref: '#/definitions/app.Response'
  11930. security:
  11931. - ApiKeyAuth: []
  11932. summary: 移除用户商品收藏信息
  11933. tags:
  11934. - 用户信息
  11935. /User/UpdateUserAccountStatus:
  11936. post:
  11937. parameters:
  11938. - description: 用户ID
  11939. in: query
  11940. name: userID
  11941. required: true
  11942. type: integer
  11943. - description: 账户状态 - 4:正常 6:注销(停用)
  11944. in: query
  11945. name: accountStatus
  11946. required: true
  11947. type: integer
  11948. produces:
  11949. - application/json
  11950. responses:
  11951. "200":
  11952. description: OK
  11953. schema:
  11954. $ref: '#/definitions/app.Response'
  11955. "500":
  11956. description: Internal Server Error
  11957. schema:
  11958. $ref: '#/definitions/app.Response'
  11959. security:
  11960. - ApiKeyAuth: []
  11961. summary: 更新用户状态
  11962. tags:
  11963. - 用户信息
  11964. /WR/GetWRCategoryInfo:
  11965. get:
  11966. produces:
  11967. - application/json
  11968. responses:
  11969. "200":
  11970. description: OK
  11971. schema:
  11972. $ref: '#/definitions/models.WRCategoryTree'
  11973. "500":
  11974. description: Internal Server Error
  11975. schema:
  11976. $ref: '#/definitions/app.Response'
  11977. summary: 获取现货分类信息
  11978. tags:
  11979. - 仓单服务
  11980. /WRTrade/GetAllDeliveryGoods:
  11981. get:
  11982. produces:
  11983. - application/json
  11984. - application/json
  11985. responses:
  11986. "200":
  11987. description: OK
  11988. schema:
  11989. $ref: '#/definitions/app.Response'
  11990. "500":
  11991. description: Internal Server Error
  11992. schema:
  11993. $ref: '#/definitions/app.Response'
  11994. security:
  11995. - ApiKeyAuth: []
  11996. - ApiKeyAuth: []
  11997. summary: 获取带仓单分类的种类信息
  11998. tags:
  11999. - 仓单贸易
  12000. - 仓单贸易
  12001. securityDefinitions:
  12002. ApiKeyAuth:
  12003. in: header
  12004. name: Authorization
  12005. type: apiKey
  12006. swagger: "2.0"