swagger.yaml 303 KB

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