swagger.yaml 334 KB

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