swagger.yaml 360 KB

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